I figured it out.
I have the 96 labels to show up in x-axis by providing label. I’m still struggling with updating series dynamically. I have a global object defined in my code and I keep updating the global object, and render the chart, for some reason, when I look at the chart obj, I still see the old data points and series and not new one. Is there any method that will update the data points or series dynamically??
Any help is appreciated, Thanks.
I got the color part figured out, it was my mistake wasn’t providing the it correctly. Still have issues with displaying all the 96 labels though. Also, is there any way to update the datapoints or a series for a chart that is being displayed through a function???
Thanks a lot Sunil, I will take a look at the changes and go from there. I really appreciate your help in this regard.
I have made the code such a way that it will populate the chart only once, this is easily modiifed in the code.
I have to create new chart every time user selects the dropdown box. The dropdown box gets set of data for chart to render that are stored in the DB. I guess I will know how the memory usage is when I create new chart every single time when I select a value from dropdown.
Once again I really appreciate the help!!!
Sunil, Have you had a chance to look at this issue? Any help would be appreciated on this!!!
Here is the full screen result of JSFiddle:
I have created a JSFiddle example for you to look at, the problem I’m having with JSFiddle is chart isn’t showing up at all. But in my UI on my local machine chart is showing on the top of the page instead of inside the container that I want it to be(bottom of the page).
I appreciate the help!!!