You can achieve the above requirement by updating the slider minimum using its set method. Please take a look at this example for the same.
—
Shashi Ranjan
Team CanvasJS
You can use CanvasJS Bar Chart to achieve your requirement. Kindly refer to our gallery page for more examples with bar chart and various other chart-types.
Feel free to post your queries related to CanvasJS in the support forum.
—
Shashi Ranjan
Team CanvasJS
As mentioned earlier, can you kindly create a sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive along with the sample database so that we can run the code locally at our end, debug the issue and help you out?
Unless we run your code locally it’s difficult to reproduce the issue or understand your exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
A sample project helps us in figuring out the issue and suggesting an appropriate solution accordingly.
—
Shashi Ranjan
Team CanvasJS
You can use startValue and endValue properties of axisX stripLines to achieve your requirements. Please take a look at this JSFiddle for an example on same.
—
Shashi Ranjan
Team CanvasJS
Can you kindly create a sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive along with the sample data so that we can run the code locally at our end to understand the scenario better and help you out?
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
Having a sample project helps us in figuring out the issue and suggesting an appropriate solution accordingly.
—
Shashi Ranjan
Team CanvasJS
Armin,
The sample project shared by you doesn’t seem to have the sample data. Can you kindly create a JSFiddle reproducing the issue you are facing and share it with us along with the sample data so that we can look into the code and chart-options being used by you to understand the scenario better and help you out?
—
Shashi Ranjan
Team CanvasJS
Armin,
Can you kindly create a JSFiddle reproducing the issue you are facing and share it with us along with the sample data and a brief description of your exact requirement so that we can look into the code and chart-options being used by you to understand the scenario better and help you out?
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
Having a JSFiddle helps us in figuring out the issue and suggesting an appropriate solution accordingly.
—
Shashi Ranjan
Team CanvasJS
Exporting chart data as CSV is not available as an inbuilt feature as of now. However, you can try this plugin to achieve your requirement.
—
Shashi Ranjan
Team CanvasJS
You can use the label property for setting a label value for a dataPoint(value appears next to the dataPoint on axisX Line).
If you looking for something else, kindly brief us further about your requirement along with a pictorial representation so that we can understand your scenario better and help you out.
—
Shashi Ranjan
Team CanvasJS
Can you kindly create a JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code and chart-options being used by you to understand the scenario better and help you out?
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
Having a JSFiddle helps us in figuring out the issue and suggesting an appropriate solution accordingly.
—
Shashi Ranjan
Team CanvasJS
You can use Range Area Chart to achieve your requirement. Range Area Charts have two y-values, out of which one can be the speed of the car and other can be the speed limit of the road.
—
Shashi Ranjan
Team CanvasJS
The issue seems to be happening when you have more number of the decimal point. Rounding to a specific number of decimal should work fine in your case. Please take a look at this updated JSFiddle.
—
Shashi Ranjan
Team CanvasJS
Can you kindly create a sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive along with the sample database so that we can run the code locally at our end to understand the scenario better and help you out?
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
Having a sample project helps us in figuring out the issue and suggesting an appropriate solution accordingly.
—
Shashi Ranjan
Team CanvasJS
Please take a look at this gallery page for an example on creating a drilldown chart in PHP. The Data can be directly passed to chart-options or it can be read from different data-sources like JSON, CSV, Database, etc. Please refer to this gallery page for an example on reading data from the database in PHP.
—
Shashi Ranjan
Team CanvasJS
With the help of rangeChanging event, you can update the interval, intervalType, valueFormatString, etc. of axisX based on the zoom level. Please refer to this JSFiddle for an example on the same.
—
Shashi Ranjan
Team CanvasJS