Sorry, multi-series support in pie chart is not available as of now.
—
Manoj Mohan
Team CanvasJS
You can use xValueFormatString to format x values being shown in toolTip & indexlabel.
—-
Manoj Mohan
Team CanvasJS
Please take a look at this sample project for integrating CanvasJS Charts with Nuxt.js.
—
Manoj Mohan
Team CanvasJS
When the variation of y-values are too small, it’s difficult to visualize the variation of values. To overcome this, includeZero property can be used which sets axis range such that the difference becomes prominently visible.
Setting includeZero to false should work fine in your case. Please take a look at this updated JSFiddle.
—-
Manoj Mohan
Team CanvasJS
When the variation of y-values are too small, it’s difficult to visualize the variation of values. To overcome this, includeZero property can be used which sets axis range such that the difference becomes prominently visible.
But over x-axis there is no such case of varying values, so there is no such property over x-axis. To make 0 value visible over x-axis you can set minimum to 0.
Considering this thread as duplicate of include Zero axis X and hence closing the same.
—-
Manoj Mohan
Team CanvasJS
When the variation of y-values are too small, it’s difficult to visualize the variation of values. To overcome this, includeZero property can be used which sets axis range such that the difference becomes prominently visible.
But over x-axis there is no such case of varying values, so there is no such property over x-axis. To make 0 value visible over x-axis you can set minimum to 0.
—-
Manoj Mohan
Team CanvasJS
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