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

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -