time data with irregular intervals in HighChart
I have a time data with irregular intervals like the following :
data: [
[Date.UTC(1970, 10, 27), 12 ],
[Date.UTC(1970, 10, 29), 8 ]
]
in this example the time different is shown as complete to the flow, what i really want is to have开发者_开发技巧 the difference as zero, So the data between 27 and 29 will be filed with 0 and the Date will be 28, i did it manually but i wonder if there is something available in highchart to do something like this ?
Looks like it's not possible yet. See the links below -
Discussion on forum
Request on user voice
Doing it manually is the only way to go and that you have done already.
I had the similar problem, in my case I took care of it on the server-side. I am using Java so used HashMap with date as the key.
精彩评论