【文件属性】:
文件名称:react-apexcharts:Ap用于ApexCharts的React组件
文件大小:439KB
文件格式:ZIP
更新时间:2021-05-11 11:26:19
react charts reactjs visualizations react-charts
用于React.js包装器可在中构建交互式可视化。
下载及安装
通过npm安装
npm install react-apexcharts apexcharts
用法
import Chart from 'react-apexcharts'
要以最少的配置创建基本的条形图,请编写如下:
class App extends Component {
constructor ( props ) {
super ( props ) ;
this . state = {
options : {
chart : {
id : 'apexchart-example'
} ,
xaxis : {
categories : [ 1991 , 1992 , 1993 , 1994 , 19
【文件预览】:
react-apexcharts-master
----rollup.config.js(611B)
----yarn.lock(269KB)
----.eslintrc.js(462B)
----src()
--------react-apexcharts.jsx(4KB)
--------react-apexcharts.test.js(466B)
----.babelrc(52B)
----.vscode()
--------settings.json(95B)
----.npmignore(32B)
----types()
--------react-apexcharts.d.ts(697B)
----.travis.yml(104B)
----example()
--------.env(25B)
--------public()
--------yarn.lock(324KB)
--------src()
--------.babelrc(33B)
--------__tests__()
--------README.md(51B)
--------.gitignore(285B)
--------package-lock.json(678KB)
--------package.json(560B)
----gulpfile.js(1KB)
----LICENSE(1KB)
----jest.config.js(283B)
----README.md(5KB)
----dist()
--------react-apexcharts.iife.min.js(2KB)
--------react-apexcharts.d.ts(697B)
--------react-apexcharts.min.js(4KB)
--------react-apexcharts.js(4KB)
----.gitignore(23B)
----.eslintignore(0B)
----package-lock.json(480KB)
----package.json(2KB)