jk-superset-echarts-plugin
v2.8.3
Published
JK Superset Chart - Echarts
Downloads
16
Readme
jk-superset-echarts-plugin
JK Superset Chart - Echarts.
Usage
Configure key
, which can be any string
, and register the plugin. This key
will be used to
lookup this chart throughout the app.
import {
JkEchartsBarChartPlugin,
JkEchartsDiyChartPlugin,
JkEchartsGanttChartPlugin,
JkEchartsHydrographChartPlugin,
JkEchartsLineChartPlugin,
JkEchartsLineBarChartPlugin,
JkEchartsPieChartPlugin,
JkEchartsSankeyChartPlugin,
JkEchartsScatterChartPlugin,
JkNumberChartPlugin,
} from 'jk-superset-echarts-plugin';
new JkEchartsBarChartPlugin().configure({ key: 'jk_echarts_bar' }).register();
new JkEchartsDiyChartPlugin().configure({ key: 'jk_echarts_diy' }).register();
new JkEchartsGanttChartPlugin().configure({ key: 'jk_echarts_gantt' }).register();
new JkEchartsHydrographChartPlugin().configure({ key: 'jk_echarts_hydrograph' }).register();
new JkEchartsLineChartPlugin().configure({ key: 'jk_echarts_line' }).register();
new JkEchartsLineBarChartPlugin().configure({ key: 'jk_echarts_line_bar' }).register();
new JkEchartsPieChartPlugin().configure({ key: 'jk_echarts_pie' }).register();
new JkEchartsSankeyChartPlugin().configure({ key: 'jk_echarts_sankey' }).register();
new JkEchartsScatterChartPlugin().configure({ key: 'jk_echarts_scatter' }).register();
new JkNumberChartPlugin().configure({ key: 'jk_number' }).register();
License
Copyright (c) 2021-present zhuhuajian