admin管理员组文章数量:1023085
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
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
本文标签: javascriptHighChartsjs TickInterval dynamic changeStack Overflow
版权声明:本文标题:javascript - HighCharts.js TickInterval dynamic change - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745567333a2156529.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论