开发者

does highcharts.js have a debug mode?

开发者 https://www.devze.com 2023-01-26 22:23 出处:网络
Diagnosing syntax errors in highcharts is really difficult, in part because开发者_如何学Python it seems to suppress errors. Is there a debug mode where it doesn\'t do that?Necro, but probably still re

Diagnosing syntax errors in highcharts is really difficult, in part because开发者_如何学Python it seems to suppress errors. Is there a debug mode where it doesn't do that?


Necro, but probably still relevant for people who end up on this question: Highcharts >7.0.0 adds the possibility to show render errors on graphs.

From the docs: https://www.highcharts.com/docs/advanced-chart-features/debugger-mode

The debugger.js file which that page talks about can be found on the Highcharts zip under code/modules.


As far as I know, there isn't any debug mode. I am using firebug with Firefox (if you are using chrome you can go for the chrome developer tools), and that can show errors associated with the syntax when a chart is not properly rendering.

Here is the link https://getfirebug.com/downloads

It's like a console appear in the bottom of the web browser showing all the data transactions.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号