<div dir="ltr">Hi all,<div><br></div><div>Appreciate some help on the best way to initialise Highcharts when developing a web plugin -  I am wanting to extend the bms/cellmon to include shunt state and an extra chart showing charge rate, SOC, battery temp etc. I started by copying the js code from bms/cellmon page however I could not replicate the initialisation which calls a separate javascript if Highcharts is not loaded before initialisation. </div><div><br></div><div>I also tried a cut down version of the Trip Power Chart (without history) initialising in the main script code with:</div><div>chargechart = $('#chargechart').chart({<br></div><div>    chart: {<br>      type: 'line',<br>      events: {<br>        load: function () {$('#chgreceiver').on("msg:metrics", function(e, update){<br>              if (update["v.b.soc"] != null) {<br>                 updateChart();<br>               }<br>            });<br>          } etc<br></div><div><br></div><div>however in updateChart() I cannot reference chargeChart to addPoints?</div><div><br></div><div>Cheers</div><div>Derek</div><div><br></div><div><br></div></div>