Home › forums › Using CanvasJS › Grid line at every 1 point and Y axis label at every 5 point
Tagged: Yaxis Label gridLines
This topic contains 2 replies, has 2 voices, and was last updated by Ravneet03 1 year, 1 month ago.
I wish to display my chart in which Grid line parallel to X axis is displayed at every 1 point but label on Y axis is displayed only at every 5 point(s). e.g. A chart in which Y axis label is displayed as 0,5,10… but there are 4 grid lines parallel to X axis between 0 and 5, 5 and 10, so on…. Please help
You can achieve this by using interval along with labelFormatter. Please check this jsfiddle.
You must be logged in to reply to this topic.