Home forums Using CanvasJS Display only integer values for ticks Reply To: Display only integer values for ticks

#20704

psergey
Member

Hi @vishwas,

We faced out with a problem of displaying integer values for multi-series chart
1) If series start not from the same data-point position and use label approach you suggested, then label displays not correctly
https://jsfiddle.net/tn2u0650/32/
but if adds empty elements as stub for missing points then chart looks good https://jsfiddle.net/tn2u0650/31/

2) If set interval to 1 then chart looks bad for big range, for instance if we have 800 items than all range from 1 till 800 will be displayed on X-asix

Any suggestion, or we need to go with #1

Thanks