As a coding novice, I find myself in a situation where I need to pass variable values from a Java class to JavaScript and update them as the data points of a high chart.
https://i.sstatic.net/giH84.jpg
The goal is to update these values in the chart shown below using JavaScript.
https://i.sstatic.net/ahBE6.jpg
I am seeking assistance on how to code this particular scenario. Thank you for your help!