Commit 0bc18439 by shaojiawen

update: 图表

parent ed0f0aea
......@@ -56,17 +56,23 @@ export default {
});
//装载数据
// this.chart.data(this.charData); // 载入数据源
this.chart.data(this.charData, {
bizDate: {
alias: '日期' //别名
},
addNum: {
alias: '新增人数'
this.chart.data(this.charData); // 载入数据源
// this.chart.data(this.charData, {
// bizDate: {
// alias: '日期' //别名
// },
// addNum: {
// alias: '新增人数'
// }
// });
this.chart.scale({
新增人数: {
tickInterval: 1,
tickCount: 5,
nice: true
}
});
this.chart.axis('addNum', {
this.chart.axis('新增人数', {
grid: {
line: {
type: 'line',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment