πŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more β†’
Socket
DemoInstallSign in
Socket

echarts-next-for-react

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

echarts-next-for-react

Echarts(v5.x | next) components for react.

1.1.1
latest
Source
npm
Version published
Weekly downloads
69
91.67%
Maintainers
1
Weekly downloads
Β 
Created
Source

echarts-next-for-react

Basic CI Publish CI Deploy Site npm  docs by dumi Build With father npm echarts supported react supported

English | δΈ­ζ–‡

Apache ECharts (incubating (v5.x | next)) components for react.

Refer to the echarts-for-react

Demo

1. install

npm install echarts-next-for-react -s

Or

yarn add echarts-next-for-react

2. Code

import EChartsNextForReactCore from 'echarts-next-for-react';

const demo = () => {
  const option = {
    xAxis: {
      type: 'category',
      data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
    },
    yAxis: {
      type: 'value',
    },
    series: [
      {
        data: [820, 932, 901, 934, 1290, 1330, 1320],
        type: 'line',
      },
    ],
  };

  return <EChartsNextForReactCore option={option} />;
};

export default demo();

3. Params

see Apache ECharts.

Tasks

  • [ ]
  • support echarts-gl

LICENSE

MIT

Keywords

react

FAQs

Package last updated on 04 Mar 2021

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