@jiker/superset-echarts-plugin

2.8.2 • Public • Published

@jiker/superset-echarts-plugin

Jiker 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 '@jiker/superset-echarts-plugin';

new JkEchartsBarChartPlugin().configure({ key: 'echarts_bar' }).register();
new JkEchartsDiyChartPlugin().configure({ key: 'echarts_diy' }).register();
new JkEchartsGanttChartPlugin().configure({ key: 'echarts_gantt' }).register();
new JkEchartsHydrographChartPlugin().configure({ key: 'echarts_hydrograph' }).register();
new JkEchartsLineChartPlugin().configure({ key: 'echarts_line' }).register();
new JkEchartsLineBarChartPlugin().configure({ key: 'echarts_line_bar' }).register();
new JkEchartsPieChartPlugin().configure({ key: 'echarts_pie' }).register();
new JkEchartsSankeyChartPlugin().configure({ key: 'echarts_sankey' }).register();
new JkEchartsScatterChartPlugin().configure({ key: 'echarts_scatter' }).register();
new JkNumberChartPlugin().configure({ key: 'jk_number' }).register();

License

MIT

Copyright (c) 2021-present zhuhuajian

Readme

Keywords

Package Sidebar

Install

npm i @jiker/superset-echarts-plugin

Weekly Downloads

17

Version

2.8.2

License

MIT

Unpacked Size

1.5 MB

Total Files

92

Last publish

Collaborators

  • zhuhuayu
  • destiny-miracle
  • panyasi