日期轴作为字符串工作,在Zing图表中不是正确的连续日期/时间轴 [英] Date-time axis working as string, not as proper continuous date/time axis in Zing Chart
问题描述
上查看它
ZingChart将自动将值放在每个索引处,除非您使用键值对作为数据点。为此,请设置如下所示的系列对象值:
值:[
[1420070400000,50] ,
[1420071000000,50],
[1420070520000,50],
[1420070640000,50],
[1420070700000,50],
[1420070760000,50] ,
[1420070820000,50],
[1420070940000,50],
[1420071060000,50]
]
查看此演示。我是ZingChart团队的成员,如果您需要更多帮助,请告知我。
I am plotting date-time vs integer in ZingChart. Even if there is difference of one second or the difference of 1 hour, the width is same between the two points. If the starting time is same as the previous one, like in my attached image at 23:24:40, there should not a white gap in between if it is proper date and time axis. Is there any solution to this problem? You can also view it on alnnovative.com/zing6.php
ZingChart will automatically place values at each index, unless you use key, value pairs as your data points. To do this, set your series object values like so:
"values":[
[1420070400000,50],
[1420071000000,50],
[1420070520000,50],
[1420070640000,50],
[1420070700000,50],
[1420070760000,50],
[1420070820000,50],
[1420070940000,50],
[1420071060000,50]
]
Take a look at this demo. I'm a member of the ZingChart team, let me know if you need more help.
这篇关于日期轴作为字符串工作,在Zing图表中不是正确的连续日期/时间轴的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!