VChart
VChart copied to clipboard
[Demo] add demo of a bar chart
-
实现条形图
-
交互细节如下:
demo中用到的数据参考如下:
[{
"x": "北京",
"y": 3080,
"type": "top1"
}, {
"x": "天津",
"y": 2880,
"type": "top2"
}, {
"x": "重庆",
"y": 880,
"type": "top3"
}, {
"x": "深圳",
"y": 780,
"type": "common"
}, {
"x": "广州",
"y": 680,
"type": "common"
}, {
"x": "山东",
"y": 580,
"type": "common"
}, {
"x": "浙江",
"y": 480,
"type": "common"
}, {
"x": "福建",
"y": 100,
"type": "common"
}, {
"x": "石家庄",
"y": 100,
"type": "common"
}, {
"x": "广西壮族自治区",
"y": 100,
"type": "common"
}]