5 ms·
The lib is modular My current build for an analytics dashboard app uses: echarts.use([ // chart types: BarChart, LineChart, GaugeC
by anentropic 2y ago
The lib is modular
My current build for an analytics dashboard app uses:
echarts.use([
// chart types:
BarChart,
LineChart,
GaugeChart,
PieChart,
// chart features:
TitleComponent,
LegendComponent,
TooltipComponent, // ~30kb
GridComponent, // ~100kb, controls layout (not visible grid lines)
LabelLayout,
DatasetComponent,
// renderer:
SVGRenderer,
]);
...and comes out at 550kb minified but unzipped