5

I want to dynamically change axis from linear to logarithmic and vice versa in HighCharts. Please see this fiddle example.

yAxis: {
    //linear
    type: 'logarithmic',
    minorTickInterval: 0.1
},

There is a type: String in api For initial declarative chart setup. I want to dynamically change to logarithmic/linear back and forth.

xadhix
  • 174
  • 15

1 Answers1

4

Use axis.update, see: http://jsfiddle.net/ZCecV/1/ (docs: http://api.highcharts.com/highcharts#Axis.update() )

Paweł Fus
  • 44,795
  • 3
  • 61
  • 77