Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@superset-custom/plugin-chart-custom-echarts

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@superset-custom/plugin-chart-custom-echarts

Superset Custom Echarts Chart

  • 0.2.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

@superset-ui/plugin-chart-custom-echarts

This plugin provides Echarts viz plugins for Superset:

  • Column Chart
  • SnakeyMultilabel Chart
  • XY Chart
  • Scatter Clustering Chart

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 {
 ColumnChartPlugin,
 SankeyMultilabelChartPlugin,
 XYChartPlugin,
 ScatterClusteringChartPlugin,
} from '@superset-ui/plugin-chart-custom-echarts';

new ColumnChartPlugin().configure({ key: 'column-chart' }).register();
new XYChartPlugin().configure({ key: 'xy-chart' }).register();
new SankeyMultilabelChartPlugin().configure({ key: 'sankey-multilabel' }).register();
new ScatterClusteringChartPlugin().configure({ key: 'scatter-clustering' }).register();
<SuperChart
  chartType="column-chart"
  width={600}
  height={600}
  formData={...}
  queriesData={[{
    data: {...},
  }]}
/>
<SuperChart
  chartType="xy-chart"
  width={600}
  height={600}
  formData={...}
  queriesData={[{
    data: {...},
  }]}
/>
<SuperChart
  chartType="sankey-multilabel"
  width={600}
  height={600}
  formData={...}
  queriesData={[{
    data: {...},
  }]}
/>
<SuperChart
  chartType="scatter-clustering"
  width={600}
  height={600}
  formData={...}
  queriesData={[{
    data: {...},
  }]}
/>

Keywords

FAQs

Package last updated on 21 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc