A very simple echarts(v3.0) wrapper for React.hustcc/echarts-for-react use React state to render dynamic chart code below: use state of react to render dynamic chart <ReactEcharts ref='echartsInstance' option={this.state.option} />
echarts-for-react/lib/index.d.ts Version: 284 BTypeScriptView Raw 1 import { EChartsReactProps, EChartsOption, EChartsInstance } from './types'; 2 import EChartsReactCore from './core'; 3 export { EChartsReactProps, EChartsOption, EChartsInstance }; 4 export default class ECha...
Then open http://127.0.0.1:8081/ in your browser. or see https://git.hust.cc/echarts-for-react/ which is deploy on gh-pages. Usage Code of a simple demo code showed below. For more example can see: https://git.hust.cc/echarts-for-react/ ...
echarts-for-react/lib/types.d.ts Version: 1.85 kBTypeScriptView Raw 1 import { CSSProperties } from 'react'; 2 export declare type EChartsOption = any; 3 export declare type EChartsInstance = any; 4 export declare type Opts = { 5 readonly devicePixelRatio?: number; ...
option(object): The option for echarts:Documentation。 width(number): The width of the chart. The default value is the outer container width. height(number): The height of the chart. The default value is 400. importReact, { Component }from'react';import{ ...
⛳️ 一个简单的 Apache echarts 的 React 封装。 展开 收起 暂无标签 http://git.hust.cc/echarts-for-react/ JavaScript 等2 种语言 TypeScript 88.5% JavaScript 11.5% MIT 使用MIT 开源许可协议 保存更改 取消 发行版 暂无发行版 echarts-for-react 开源评估指数 开源评估指数源自 ...
$ git clone git@github.com:hustcc/echarts-for-react.git $ npm install $ npm start Then openhttp://127.0.0.1:8081/in your browser. or seehttps://git.hust.cc/echarts-for-react/which is deploy on gh-pages. Usage Code of a simple demo code showed below. For more example can see:htt...
UNPKG echarts-for-react-typescript/LICENSE Version: 1.07 kBPlain TextView Raw 1The MIT License (MIT) 2 3Copyright (c) hustcc 4 5Permission is hereby granted, free of charge, to any person obtaining a copy 6of this software and associated documentation files (the "Software"), to deal ...
echarts-for-react/demo/ChartShowLoadingComponent.jsx Version: 3.27 kBJSXView Raw 1 import React from 'react'; 2 import ReactEcharts from '../'; 3 4 const ChartShowLoadingComponent = React.createClass({ 5 propTypes: { 6 }, ...
$ git clone git@github.com:hustcc/echarts-for-react.git $ npm install $ npm start Then openhttp://127.0.0.1:8081/in your browser. or seehttps://git.hust.cc/echarts-for-react/which is deploy on gh-pages. Usage Code of a simple demo code showed below. For more example can see:htt...