highcharts / highcharts-editor

https://www.highcharts.com/products/highcharts-editor
Other
250 stars 96 forks source link

Problem with axes when changing the chart template #185

Open Saeid1992 opened 6 years ago

Saeid1992 commented 6 years ago

Expected behaviour

I iniatialize the chart default options in defaultChartOptions property and it works well for the first time that the chart appears. . I want to the axes type to be the same when changing the chart template!

Actual behaviour

When I change the chart template, X-Axis (which was initially date-time type), returns into number (milliseconds from 1970/01/01).

Additionally when I have multiple axes in the same chart, changing the chart, will cause error (requested axis does not exist!)!

Reproduction steps

Editor version

Affected browser(s)