Animation HighBand动画
我有一个动态调整大小的plotband。目前的工作是删除旧的和绘图下一个。Animation HighBand动画,animation,highcharts,highstock,Animation,Highcharts,Highstock,我有一个动态调整大小的plotband。目前的工作是删除旧的和绘图下一个。 是否有任何方法可以以移动动画的方式更新plotBand的位置参数?它不是API的一部分,但可以更新plotBand的选项,演示: 片段: var chart = $("#container").highcharts(), // get chart plotBand = chart.xAxis[0].plotLinesAndBands[0]; // get first plotBand // Update op
是否有任何方法可以以移动动画的方式更新plotBand的位置参数?它不是API的一部分,但可以更新plotBand的选项,演示: 片段:
var chart = $("#container").highcharts(), // get chart
plotBand = chart.xAxis[0].plotLinesAndBands[0]; // get first plotBand
// Update options:
plotBand.options.from = 2010;
plotBand.options.to = 2012;
// Render the plotBand:
plotBand.render();