Diagnosing syntax errors in highcharts is really difficult, in part because it seems to suppress errors. Is there a debug mode where it doesn't do that?
Introducing the Highcharts node.js export server. For those of you who work with JavaScript on the server side, our Open Source export server is now available as a node.js app. The server is backwards-compatible with the existing Java solution (which continues to be maintained), but it also has a few additional tricks up its sleeve.
In the code Highcharts.chart ('chart', { is the format of highchart JS. Inside that function, you see that so many features can be added such as chart type, title, x-axis, y-axis, tool-tip, and series. Inside the series, you need to give data. That data you need to take from python by using Highchart JS.
In addition to that, I have added a library of Highchart Js in the lib folder of the static folder. If you are using Highchart Js for your personal use such as for personal websites or in a non-profit organization you will get a free non-commercial license.
Highcharts uses Gulp as the build system. After npm install in the root folder, run gulp, which will set up a watch task for the JavaScript and SCSS files. Now any changes in the files of the /js or /css folders will result in new files being built and saved in the code folder.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With