CanvasJS has 30+ chart types like Column, Line, Pie, Area, etc. but we don’t have Gantt chart as of now. You can even render all these chart types in Github pages.
___________
Indranil Deo
Team CanvasJS
It is an intended behavior on mobile devices so that the crosshair disappears on drag as it might create confusion whether the user is trying to zoom/pan or show crosshair.
___________
Indranil Deo
Team CanvasJS
Chart elements may look blur on changing the zoom level within the display setting of browser or windows. Resetting zoom level to 100% should work fine in this case.
If you are still facing the issue even after resetting the zoom level in the browser and windows, kindly create JSFiddle reproducing the issue and share it with us so that we can look into the issue and resolve it.
___________
Indranil Deo
Team CanvasJS
Filtering down null data from the JSON should work fine in your case. Please take a look at this updated JSFiddle.
___________
Indranil Deo
Team CanvasJS
Sorry, it is not possible to center align the axis label as of now.
___________
Indranil Deo
Team CanvasJS
Can you kindly create a JSFiddle reproducing the issue you are facing and share it with us along with your sample data so that we can look into the code, 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 many a time we can just edit your code on JSFiddle to fix the issue right away.
___________
Indranil Deo
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 your code, understand the scenario better, and help you out?
___________
Indranil Deo
Team CanvasJS
As mentioned earlier, the range of an axis depends on multiple factors like dataSeries attached to it, range of the dataPoints of a given dataSeries, etc. Based on the JSFiddle shared by you the minimum y value in the first series is 0.04, in such cases dataPoints goes out of viewport making it difficult to visualize because of which the auto-calculated range has a negative minimum. This feature is by design.
However, you can customize the range of axisY by setting values of minimum and maximum properties. Please take a look at the respective documentation pages for more information and live example.
___________
Indranil Deo
Team CanvasJS
Please take a look at this updated JSFiddle for the same example without jQuery(plain JavaScript).
___________
Indranil Deo
Team CanvasJS
In case of Box & Whisker chart, you can customize the thickness of both whisker & stem by using whiskerThickness & stemThickness properties respectively.
If you are still unable to fulfill your requirements, kindly create JSFiddle with your use-case and share it with us so that we can look into the code, run it to understand the scenario better and help you achieve your requirements.
___________
Indranil Deo,
Team CanvasJS
I want dynamic create bar chart using MySQL and php with same code using,
Please take a look at this sample project for an example on creating dynamic chart using data from MySQL database in PHP.
but different data show then different bar chart show using MySQL data.and y axis start from 2 or any integer number.
Can you please brief us more about your exact requirement with an example so that we can understand your scenario better and help you out with an appropriate solution.
___________
Indranil Deo
Team CanvasJS
It seems to be working properly irrespective of the presence of null dataPoints. Please take a look at this updated JSFiddle which has dataPoints without null data.
The auto-calculated range of axisY depends on multiple factors which includes y-values of entire dataSeries. In the JSFiddle that you have shared, the minimum and maximum y-values of both the dataSeries are different. Because of the different range of y-values passed in dataSeries, one axis has a negative minimum and the other doesn’t.
___________
Indranil Deo
Team CanvasJS