score:0

Accepted answer

I have resolved this. The issue was with the below code,

GaugePlotOptions plotOptions = new GaugePlotOptions();
//  plotOptions.setStacking( Stacking.NORMAL ); <<--- CULPRIT

Set 'Stacking' in 'GaugePlotOptions' was causing the exception. Once it is removed Chart appeared in the panel.

score:1

This is the NullPointerException equivalent for JS. You probably miss some chart config and it ends up failing. To see exactly what is happening the recommended strategy is to debug your project (code-server) and use the chrome dev-tools "pause on caught exceptions". This will stop exactly at this NPE and you should see what is missing and what means b. You must see all the source codes in chrome; Java, JSNI or dependant JS libs.


Related Query

More Query from same tag