我想从 动态更改轴线性 至 对数在 HighCharts 中反之亦然。请看这个fiddle example .
yAxis: {
//linear
type: 'logarithmic',
minorTickInterval: 0.1
},
有一个type: String在 api 中用于初始声明性图表设置。我想来回动态更改为对数/线性。
最佳答案
使用 axis.update
,见:http://jsfiddle.net/ZCecV/1/ (文档:http://api.highcharts.com/highcharts#Axis.update())
关于charts - 如何在 HighChart 中将轴从线性动态更改为对数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16324284/