Home forums Using CanvasJS The '0' on X-axis doesn't start from the origin Reply To: The '0' on X-axis doesn't start from the origin

#21117

Priyanka M S
Member

Nirmalya,

Axis-X does not start from 0 (zero) because of the auto-calculated axis minimum. However, it is possible to begin Axis-X from 0 by setting axis minimum to 0 and resetting it by setting it to null while updating the chart. Please take a look at this jsfiddle.

__
Priyanka M S
Team CanvasJS