Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
im using chartjs for barcharts using jqury

but i cannot able to set interval for y axis

What I have tried:

wihtin option
i will use this below line

interval: 10
Posted
Updated 23-Feb-18 8:15am
v2

1 solution

Hi,

use interval: 10 under
axisY:{
      interval: 10
    },


or go through by full article.
interval - Sets the Interval on Axis Y | CanvasJS JavaScript Charts[^]

Regards,
Sarita
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900