Sorry, there is no feature built-in to add missing datapoints. CanvasJS just renders the chart with datapoints that you have passed in chart-options and it doesn’t add any extra datapoints. You can do it in backend – as you have mentioned.
—
Manoj Mohan
Team CanvasJS
You can display y-value of the datapoint in indexlabel. However if you like to show it over axisY, you can use striplines to do so. Please take a look at this JSFiddle.
—
Manoj Mohan
Team CanvasJS
You can’t run JSP page in JSFiddle but in server like Apache Tomcat or Glassfish. Please refer this tutorial for step to step guidance on setting up environment for JSP. Also refer this article for an example on retrieving data from Oracle database in JSP.
—
Manoj Mohan
Team CanvasJS
Glad that you were able to resolve the issue and make it work :)
—
Manoj Mohan
Team CanvasJS
Can you kindly share a sample project along with sample data over Google-Drive or Onedrive so that we can look at your code, understand it better and help you out?
—-
Manoj Mohan
Team CanvasJS
Can you please let us know the server side technology being used by you so that we can understand your scenario better and help you with an appropriate solution.
—-
Manoj Mohan
Team CanvasJS
Earlier WebKit allowed 448MB of canvas buffer memory whereas now they have dropped it to 224MB. Because of this, there was some memory issue with CanvasJS Charts in the latest iOS. However, we had optimized memory consumption in CanvasJS v2.3 – please check out this release blog for more info.
Please follow below guidelines for more optimization:
1. If your page has dynamic charts, update chart options and re-render and don’t instantiate / create new chart on every update.
2. If you are populating data from JSON or CSV using AJAX, instantiate chart once and update data within AJAX request and do not instantiate / create new chart within every AJAX request.
Also, we will further optimize this behavior in future releases.
—
Manoj Mohan
Team CanvasJS
Samyukta,
Categorising dataseries based on the legendText (Short/Answer column in database) instead of doing it based on month number should work fine in this case. Please take a look at this JSFiddle which shows categorizing dataseries based on label from JSON.
—
Manoj Mohan
Team CanvasJS
We are looking into it and will get back to you at the earliest.
__
Manoj Mohan
Team CanvasJS
Sorry, crosshair updated / changed event is not available as of now. However, you can get the current value through labelFormatter of crosshair and the dataSeries in contentFormatter of toolTip.
If this doesn’t fulfill your requirement, kindly share JSFiddle and brief us more about your requirement so that we can help you to resolve it.
—-
Manoj Mohan
Team CanvasJS