Chris - 2013-01-23

Been using GWT HighCharts v. 1.4.0 for some time now; in the past, I've always generated a single (final) Chart object and added it to a GWT view. In a new use case I'm working towards, I build several charts in the background and use "previous/next chart" controls to cycle between the generated charts. Each time a new chart is "selected", it is added to the view. The previous chart is then removed from the view but still exists in a Java collection. This seems to work fine for column charts but not for time/spline charts.

Specifically, the time/spline chart appears fine on the first display. However, once it is removed, the data behind the chart seems intact but the XAxis and YAxis options become "forgotten". I.e., if I were to add, remove, and then re-add the given time/spline chart, the XAxis options go from the original 1 week of time back to Java time start date of 1970.

Has anyone experienced this before or know of a possible workaround? I've played around with a number of different options but haven't come up with a solution.

Thanks.