does highcharts.js have a debug mode?
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.
精彩评论