diff --git a/sohstationviewer/view/plotting/plotting_widget/plotting.py b/sohstationviewer/view/plotting/plotting_widget/plotting.py
index 7eabd46ff7d680927b4648c6eac01e5f524637e0..44389d328c8fa6281338b0365b132c53710cd8a4 100644
--- a/sohstationviewer/view/plotting/plotting_widget/plotting.py
+++ b/sohstationviewer/view/plotting/plotting_widget/plotting.py
@@ -181,8 +181,8 @@ class Plotting:
             sample_no_pos=[0.25, 0.75],
             chan_db_info=chan_db_info, linked_ax=linked_ax)
 
-        ax.x0 = np.array(points_list[0])
-        ax.x1 = np.array(points_list[1])
+        ax.x_bottom = np.array(points_list[0])
+        ax.x_top = np.array(points_list[1])
 
         ax.chan_db_info = chan_db_info
         return ax
diff --git a/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py b/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py
index a516bafce7552d7a26c3705ab6d75b46d3e04466..69956159bf6505d7a947070d41ce3fe92d0646c5 100755
--- a/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py
+++ b/sohstationviewer/view/plotting/plotting_widget/plotting_widget.py
@@ -569,6 +569,18 @@ class PlottingWidget(QtWidgets.QScrollArea):
             if not first_time:
                 new_min_y = None
                 new_max_y = None
+                if hasattr(ax, 'x_top'):
+                    # plot_up_down_dots
+                    new_x_bottom_indexes = np.where(
+                        (ax.x_bottom >= self.min_x) &
+                        (ax.x_bottom <= self.max_x))[0]
+                    ax.bottom_total_point_lbl.set_text(
+                        new_x_bottom_indexes.size)
+                    new_x_top_indexes = np.where(
+                        (ax.x_top >= self.min_x) &
+                        (ax.x_top <= self.max_x))[0]
+                    ax.top_total_point_lbl.set_text(
+                        new_x_top_indexes.size)
                 if hasattr(ax, 'x_list'):
                     if not hasattr(ax, 'y_list'):
                         # plot_time_dots and plot_multi_color_dots
@@ -595,14 +607,6 @@ class PlottingWidget(QtWidgets.QScrollArea):
                         new_min_y = min(tr_min_ys)
                         new_max_y = max(tr_max_ys)
                     ax.center_total_point_lbl.set_text(total_points)
-                else:
-                    # plot_up_down_dots
-                    new_x0_indexes = np.where(
-                        (ax.x0 >= self.min_x) & (ax.x0 <= self.max_x))[0]
-                    ax.bottom_total_point_lbl.set_text(new_x0_indexes.size)
-                    new_x1_indexes = np.where(
-                        (ax.x1 >= self.min_x) & (ax.x1 <= self.max_x))[0]
-                    ax.top_total_point_lbl.set_text(new_x1_indexes.size)
 
                 if new_min_y is not None:
                     self.plotting_axes.set_axes_ylim(