You must be logged in to post your query.
Home › Forums › Chart Support › Index Labels not aligning with Datapoint Dates
Tagged: indexlabel, interval
I have a ranged column report with a column for Year Quarters – 1-Oct-2019, 1-Jan-2020, 1-Apr-2020, 1-Jul-2020
The chart adds the columns correctly but adds Index Labels at Nov-2019, Feb-2020, May-2020, Aug-2020
How can I get the Index Labels to align with the datapoints?
JSFiddle – https://jsfiddle.net/mrDavid/syw215j3/22/
thanks
@mrdavid,
Axis labels are shown at every interval, which is auto-calculated such that the labels don’t overlap and make chart look better. Labels are not shown for dataPoint but at every interval of axis. You can customize it to show labels at every dataPoint value by setting label property in dataPoint instead of x-value.
___________ Indranil Deo Team CanvasJS
works well, thankyou
You must be logged in to reply to this topic. Login/Register