anber
anber

Reputation: 874

In highstock 1.3.0, when zooming in full, the graph draws all messed up

I have tested with various graphs and this seems like a consistent problem.

I have a highstock graph, if you draw a lot of data and zoom out to the full view of the graph by using the sliders or the range selector, the whole graph draws all messes up.

I found an example fiddle that illustrate the issue.

http://fiddle.jshell.net/highcharts/qgprf/show/

I've used Chrome to get the path that highstock generated and then plotted just the path:

http://jsfiddle.net/MsFhh/

It's obvious that highstock is creating some tomfoolery.

For the sake of stackoverflow, here's some code

  alert("I R code"); //Copying the huge svg path in here is kinda insane

Is there something that I can do to fix this?

PS: if I upgrade to the new highstock version, everything in our graphs breaks so updating is not an option :(

Upvotes: 0

Views: 253

Answers (2)

anber
anber

Reputation: 874

The bug has been fixed. The fix for version 1.3.5 can be found here:

https://github.com/highslide-software/highcharts.com/issues/1651#issuecomment-25226662

Don't use the patch though. It doesn't fully fix the issue. It seems like 1.3.6 fixes everything that were causing the defect.

The patch can be seen here:

https://github.com/highslide-software/highcharts.com/commit/9607afd512473710b6aeb9bfceaf23549d285ff0

Upvotes: 0

Paweł Fus
Paweł Fus

Reputation: 45079

This is known bug of Highstock 1.3.0, alread y fixed in 1.3.3+. Reported here. You can modify sources to fix issue, or upgrade to latest version.

If you have issue with upgrading - let us know what kind, and we will try to fix them. Of course working fiddle with that issues is really appreciated.

Upvotes: 1

Related Questions