Wednesday 15 June 2011

No animation when adding points to two serieses in Highcharts -


I am adding a new separate point for each of the two series in a chart. If I have only one series, then it is animated, but for two series, it is no longer animated. X axis labels are easy to scroll, do they have a way to decorate or is it a limit?

Two animations are rotating each other without adding each point again, then the chart Create again.

  series1.addPoint ([x, y1], wrong, true); // false series 2. Do not repeat the addend ([x, y2], false, true); Chart.redraw ();   

Check it out.

Edit:

You can also use

  series1.addPoint ([x], Y1], wrong, true); // false series 2. Adpoint ([x, y2] is not true, true);   

And you do not need a chart. Credit ();

No comments:

Post a Comment