I Have a system where I retrieve for Data. I'm using Highcharts, Jquery on a HTML page for the Client Side of my app
Consider this, Sometimes I can receive 10000 points, sometimes I can receive 10 points, so very random amount of data. Value are in Unix Milliseconds timestamp, but that's not a problem, I will process as I prefer.
What I don't understand it's: How can I make a Dynamic TickInterval useful both for many points, both for small amount of points?
xAxis: {
tickInterval: ?? ,
categories: [<%- nDate %>]
},
PS. No need for the code guys, only for a correct way of solve my problem, thanks all.
I Have a system where I retrieve for Data. I'm using Highcharts, Jquery on a HTML page for the Client Side of my app
Consider this, Sometimes I can receive 10000 points, sometimes I can receive 10 points, so very random amount of data. Value are in Unix Milliseconds timestamp, but that's not a problem, I will process as I prefer.
What I don't understand it's: How can I make a Dynamic TickInterval useful both for many points, both for small amount of points?
xAxis: {
tickInterval: ?? ,
categories: [<%- nDate %>]
},
PS. No need for the code guys, only for a correct way of solve my problem, thanks all.
Share Improve this question asked Dec 6, 2013 at 1:09 alessandrobalessandrob 1,6154 gold badges20 silver badges23 bronze badges1 Answer
Reset to default 4In case when you have datatime type of xAxis, you don't need to use categories, you can set type as "datetime" and i.e use tickPositioner which allows to calculate ticks, dynamically.
See example: http://api.highcharts./highcharts#xAxis.tickPositioner
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745567344a4633475.html
评论列表(0条)