Can we return the interval of xAxis from the canvas?