Name: BizCharts
Owner: Alibaba
Description: data visualization library based G2 and React
Created: 2017-11-10 08:27:54.0
Updated: 2018-01-17 20:23:05.0
Pushed: 2018-01-17 03:40:28.0
Homepage: null
Size: 4163
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
BizCharts: a powerful data visualization library based G2 React?
m install bizcharts
ript src="https://unpkg.com/alibaba/BizCharts/umd/BizCharts.min.js"></script>
t clone https://github.com/alibaba/BizCharts.git
BizCharts
m install
m run build
do vi /etc/hosts
dd 127.0.0.1 localhost
m run[-script] demo
pen in browser http://localhost:3510/
rt {Chart, Axis, Tooltip, Geom} from "bizcharts";
t data = [...];
rt height={400} data={data} forceFit>
xis name="month" />
xis name="temperature" label={{formatter: val => `${val}°C`}} />
ooltip crosshairs={{type : "y"}} />
eom type="line" position="month*temperature" size={2} color={'city'} />
eom type='point' position="month*temperature" size={4} color={'city'} />
art>