@cmarshaa@gmail.com,
I should declare Default value for the axis it should be defaultly 0 to 24
You can use axis minimum and axis maximum to set the axis range.
If this doesn’t solve your requirement, kindly share a JSFiddle depicting your requirements so that we can understand your requirements better and help you out.
__
Priyanka M S
Team CanvasJS