@cronk005,
The startValue and endValue of stripLine should be numbers. Kindly check if the ylineA and ylineB that you are passing are numbers if not typecasting it to number should work fine. If you are still facing the issue, can you please share the sample project reproducing the same over Google Drive/One Drive so that we can look into the code, understand it better and help you out.
ylineA
ylineB
— Shashi Ranjan Team CanvasJS
@mhiggins,
Ideally, the code snippet shared above should loop through the variable user values in the $users array. As we are not knowing the exact length of the $users array, can you kindly create a sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive so that we can run the sample locally at our end to understand the scenario better and help you out?
user
$users
You can also refer to this gallery page for an example on creating a chart using data from the database in PHP.
@sheldon-ju,
Sorry, this feature is not available as of now.
@brianddd,
The script is directly linked from CanvasJS website so the file is not present locally in the project/sample. Please refer to this article, for more information on adding an external script to the page.
@rameezbhat,
The behavior of shared toolTip is designed so that the toolTip shows information of all the dataPoints present on that x-value, irrespective of its visibility. However, we will reconsider this behavior in future releases.
@sa-jasbana,
When x-value is null it cannot be represented over a mathematical scale and as a result, the dataPoints won’t be rendered in the chart. In this case, using labels without x-values for all the dataPoints should work fine.
If this doesn’t fulfill your requirements, kindly create JSFiddle with your use-case and share it with us so that we can understand it better and help you out.
@dillonw777,
Glad you figured it out :)
@atv97,
You can render the chart from different data sources like JSON, CSV, XML etc.. Please take a look at this JSFiddle for creating Pareto chart with data from CSV file.
@nicholasehamilton,
The above requirement can be achieved by editing the source code of CanvasJS. You can purchase a license from our license page to get access to the source code. Once you have purchased the license please let us know and we will help you out with a solution.
____ Shashi Ranjan Team CanvasJS
@salony,
Please take a look at this JSFiddle.
@viiartz,
The minimum and maximum of the axisY are auto-calculated. When all the dataPoints provided are positive(greater than zero) the axisY minimum will be 0. However, you can override this behavior by setting the includeZero to false (which is true by default) as shown in this updated JSFiddle.
You can achieve the above requirement with the help of rangeChanged event and by performing data-filtering i.e. add dataPoints on zooming-in and remove dataPoints on zoom out. Please take a look at this JSFiddle for the same.
@lchi-cheng,
We will recommend you to use the latest version of CanvasJS v2.3.1 as we have further optimized the library to work with the latest iOS.
The minimum and maximum of Axis Y are auto-calculated based on the dataPoints provided. Can you please create a JSFiddle reproducing the issue you are facing so that we can look into the code, understand the scenario better and help you out.