highcharts-more.js[dynamic] 文件上的 drawRectangle 错误

drawRectangle error on highcharts-more.js[dynamic] file

我对 highcharts-more.js 文件有疑问。它开始给我下面的错误;

CRIPT5007: Unable to get property 'drawRectangle' of undefined or null  reference 
highcharts-more.js, line 41 character 24

在动态 highcharts-more.js 文件中我在这个阶段看到错误:

g.polygon=v(g.scatter,{type:"polygon",fillGraph:!0,getSegmentPath:function(a){return t.prototype.getSegmentPath.call(this,a).concat("z")},drawGraph:t.prototype.drawGraph,drawLegendSymbol:k.LegendSymbolMixin.drawRectangle}); 

我在当前的js文件中没有这段代码,但它似乎只有你调试应用程序

而且我在 js 文件中没有看到任何 drawRectangle 但是当我调试它时,我在动态 js 文件中看到它

在我安装 vs2013 之前不是这样的。

我在我的代码和相同的数据中使用这个 jsfiddle 代码。但它适用于 jsfiddle

jsfiddle here!

知道我为什么会遇到这个问题吗?

谢谢

问题已解决。我将 CDN 用于 highcharts-more.js 文件,但后来我将 src 更改为 js/highcharts-more.js 并且它有效