Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

does highcharts.js have a debug mode?

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?

like image 508
sprugman Avatar asked Nov 26 '10 21:11

sprugman


People also ask

Is Highcharts available as a Node JS app?

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.

How to take data from Python to Highcharts JS?

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.

Is there a license for 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.

How do I build Highcharts using gulp?

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.


2 Answers

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.

like image 167
Jendoliver Avatar answered Sep 25 '22 21:09

Jendoliver


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.

like image 41
Eranda Karannagoda Avatar answered Sep 24 '22 21:09

Eranda Karannagoda