javascript - Highcharts (Highstock) how to catch errors? -


is there way catch errors thrown highcharts? invalid negative value error quite common in case whenever app switches different dataset on server.

i'm looking forward like:

try {   // code may or may not work } catch (err) {   // print out error or come workaround } 

thanks guys!


Comments

Popular posts from this blog

html - height not adding height to a empty div -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

python - Robot Framework location and name of keyword -