【发布时间】:2019-01-03 07:24:48
【问题描述】:
对于基准测试,我想动态地打开或关闭 Highcharts 的 boostmodule。我想我可以使用以下内容更改 boostmodule 的 chart.options:
var options = {boost: {enabled: true or false, useGPUTranslation: true or false}};
chart.update(options, true); // for updating and redraw
true 和 false 的值由 HTML 中的 selectBoxes 设置。 问题是图表没有更新新选项。它适用于动画属性,但不适用于增强属性。这是一个错误/功能吗?
如果我正在调试,选项属性是正确的,但只有图表不会更新。
【问题讨论】:
标签: javascript highcharts