Can you kindly create JSFiddle with your use-case and share it with us along with more briefing about your requirements so that we can understand your scenario better and help you out?
—-
Manoj Mohan
Team CanvasJS
how do I set proper values for viewportMinimum/viewportMaximum for dateTime xValueType ?
You can pass the date as date-object or timestamp value to viewportMinimum/viewportMaximum incase of dateTime axis.
If you are still facing any issue, kindly create JSFiddle reproducing the issue and share it with us so that we can look into your code, understand your scenario better and help you out.
—-
Manoj Mohan
Team CanvasJS
Please take a look at this sample project for integrating CanvasJS Charts with Yii Framework.
—–
Manoj Mohan
Team CanvasJS
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