RF-13701: Replaced the xaxis.ticks lookup to use the dataIndex instead of the seriesIndex