fixed a bug in the data points plot related to the axis value range