fixed if reduceXTicks does not exist in the chart