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 -

python - Robot Framework location and name of keyword -

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -