Home › forums › Using CanvasJS › Interval in line chart
I have a line chart that has 18 data points, x is anywhere from .82xx to 1.1xx, at intervals of .01. If the x value is an even hundredth (.8200), then my x label only shows 1.00 and no other tick marks. If the x values have more decimal points (.821), then the x label shows every .01 like I would like. I have setting interval and different label formatting but can’t get this to work right.
JFiddle with even hundreths
JFiddle with 3 decimals
The issue seems to be happening when labels are being used. Removing labels should work fine in your case as shown in this JSFiddle.
Thanks for reporting the use-case and we will look into it further.
You must be logged in to reply to this topic.