5 charts logarithm highcharts highstock
我想在 HighCharts 中将轴从线性动态更改为对数,反之亦然。请参阅这个小提琴示例。
yAxis: {
//linear
type: 'logarithmic',
minorTickInterval: 0.1
},
Run Code Online (Sandbox Code Playgroud)
有一个类型:String in api 用于初始声明性图表设置。我想来回动态更改为对数/线性。
使用axis.update,请参阅: http: //jsfiddle.net/ZCecV/1/(文档:http://api.highcharts.com/highcharts#Axis.update())