当超过y-max时,高图提升无法正确呈现

时间:2017-10-18 09:11:33

标签: javascript highcharts

我正在使用highcharts v6.0.1和boost模块。

当渲染点大于y-max时,该线渲染不正确(在y-min下方绘制)。

示例:jsfiddle

如果将y-max更改为高于点的值,则渲染是正确的。

yAxis: {
  min : 0,
  max : 10, // <-- change to 100 and rendering is correct
},

这是一个错误吗?或者我错过了一些明显的东西?

1 个答案:

答案 0 :(得分:0)

这可能是一个错误(您可以在此处报告:https://github.com/highcharts/highcharts/issues)但将useGPUTranslations设置为true会导致正确呈现。

API参考:
https://api.highcharts.com/highcharts/boost.useGPUTranslations

例:
https://jsfiddle.net/k3p29r35/