axisY range gets updated according to the latest dataPoint y value and it seems to be working fine.
Can you kindly create and share a JSFiddle reproducing the issue you are facing so that we can understand your scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
Replacing string with an object in your PHP file should work fine in your case.. Please take a look at this sample project which renders the chart using data being fetched from a PHP file.
—-
Manoj Mohan
Team CanvasJS
Please take a look at this gallery page for an example on drilldown chart.
—–
Manoj Mohan
Team CanvasJS
You can use chart.options.title.text
to update the text of the title. Please refer to this documentation page for more information on updating chart options.
—-
Manoj Mohan
Team CanvasJS
Can you kindly create a sample project and share it with us over Google-Drive or Onedrive, along with sample data, so that we can run it locally to understand the scenario better and help you out?
____
Manoj Mohan
Team CanvasJS
It is not possible to display axis labels at irregular intervals as of now. As a workaround, you can use stripLines on axisY for displaying labels at certain points as shown in this JSFiddle.
—
Manoj Mohan
Team CanvasJS
DataSeries is an object where you can define all the dataPoints to be plotted and also control various properties like type, color, events, etc. It seems that you are passing dataSeries as a string instead of an object. Passing it as an object should work fine in your case. Please take a look at this updated JSFiddle.
—-
Manoj Mohan
Team CanvasJS
Setting the scale option to 100 in browser print dialog panel should work fine in your case. Please refer this article to enable scaling & changing the option in chrome.
—-
Manoj Mohan
Team CanvasJS
Having single indexLabel with multiple font-color is not possible as of now. As multi-color in indexLabel is not supported, showing arrows in red & green is not possible
—-
Manoj Mohan
Team CanvasJS
You can achieve the above requirement by using an area chart and formatting the indexLabels using indexlabelFormatter by passing Unicode arrows as shown in this JSFiddle.
Also, you can refer to this Wikipedia page for a list of Unicode.
—
Manoj Mohan
Team CanvasJS
The issue seems to be with the Date Format passed as an argument to new Date()
. Passing it in the standard formats supported in JavaScript Date object should work fine in your case.
—
Manoj Mohan
Team CanvasJS
It seems to be working fine, please refer screenshot below.
To make us understand the scenario better to help you resolve the issue, can you kindly share the OS & Browser versions?
—-
Manoj Mohan
Team CanvasJS
Can you kindly share a pictorial representation and brief us furthermore about your requirements?
—-
Manoj Mohan
Team CanvasJS