It is currently Thu Oct 23, 2014 8:33 pm Advanced search

wrong date with different zoom

Technical support for the Highcharts Stock package

wrong date with different zoom

Postby nordsonne » Thu Feb 23, 2012 11:02 am

Hi,

i have a small problem with the Highslide chart tooltip.
The last point on xAxis got a "wrong" date with different zoom "steps".

i take this as an example because the Demo Gallery is down in the moment
http://highcharts.com/jsbin/anaqiy/edit#javascript,live
get the last possible Point on the Graph, you get "Monday, May 9 2011" and "0.6945", use the slider an zoom in, now the date ist "Tuesday, May 10 2011" and again "0.6945".

is this there any possibilty to prevent this behavior, maybe disable the tooltip with such a zoomlevel or the the rangeslider to a max Value and don't allow to get a bigger range ?

best regards
Attachments
screen-highstock.gif
screen-highstock.gif (43.49 KiB) Viewed 421 times
nordsonne
 
Posts: 2
Joined: Thu Feb 23, 2012 10:39 am

Re: wrong date with different zoom

Postby hfrntt » Mon Feb 27, 2012 3:06 pm

There's nothing wrong here. Highcharts does this because of performance issue, it's called dataGrouping (http://www.highcharts.com/stock/ref/#pl ... taGrouping). You can try to disable dataGrouping but I don't recommend this with bigger amount of data.
Slawek Kolodziej
Highcharts support team
hfrntt
 
Posts: 6394
Joined: Mon Aug 30, 2010 10:41 am


Return to Highstock Usage

Who is online

Users browsing this forum: No registered users and 3 guests