BizCharts Version:
Platform:
Mini Showcase(like screenshots):
forck and create a demo: https://bizcharts.net/product/BizCharts4/demo/306
BizCharts Version:
Platform:
Mini Showcase(like screenshots):
forck and create a demo: https://bizcharts.net/product/BizCharts4/demo/306
3条答案
按热度按时间odopli941#
"bizcharts": "^4.0.16",
数据 [ { time: '2020-12-21', value: 10, type: 'show_num' },
{ time: '2020-12-21', value: 19, type: 'click_num' },
{ time: '2020-12-21', value: 1, type: 'click_rate' },
{ time: '2020-12-21', value: 30.11, type: 'cost_num' },
{ time: '2020-12-21', value: 1.58, type: 'avg_price' }]
变化后的数据 [ { time: '2020-12-21 18', value: 10, type: 'show_num' },
{ time: '2020-12-21 18', value: 20, type: 'click_num' },
{ time: '2020-12-21 18', value: 2, type: 'click_rate' },
{ time: '2020-12-21 18', value: 30.28, type: 'cost_num' },
{ time: '2020-12-21 18', value: 1.51, type: 'avg_price' }]
此时x轴time不会变化
wa7juj8i2#
解决了吗?我也遇到了这个问题
2guxujil3#
@3252152 我将上面的 time字段格式 改为了2020年12月21日18时;就不会出现上述问题。 感觉字符串中 包含 “-”或“空格“ 才会出现上述bug