Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aggarwal-h/solid-echarts

Supercharge your Data Visualization in Solid. Powered by ECharts.
https://github.com/aggarwal-h/solid-echarts

Last synced: 8 days ago
JSON representation

Supercharge your Data Visualization in Solid. Powered by ECharts.

Awesome Lists containing this project

README

        


solid-echarts

# solid-echarts

Supercharge your Data Visualization in Solid. Powered by ECharts.

## 📦 Installation

### Yarn

```bash
yarn add solid-echarts
```

### NPM

```bash
npm install solid-echarts --save
```

### PNPM

```bash
pnpm install solid-echarts --save
```

## Simple Usage

```jsx
import SolidECharts from "solid-echarts";

```
Replace `option` with your ECharts chart option.

## Advanced Usage
For reduced bundle size:
```jsx
import { SolidEChartsCore } from "solid-echarts";
import * as echarts from 'echarts/core';
import { LineChart } from 'echarts/charts';
import { GridComponent, TooltipComponent } from 'echarts/components';
import { CanvasRenderer } from 'echarts/renderers';

// Register only the components you need.
echarts.use([LineChart, GridComponent, TooltipComponent CanvasRenderer]);

```
Replace `option` with your ECharts chart option.