How to solve the problem when vtkChart::LINE and vtkChart::POINTS overlap in vtkChart?

Hi, I have inserted a vtkChart::LINE and a set of vtkChart::POINTS in vtkChart. vtkChart::POINTS are on vtkChart::LINE. But when I drag the plot with the mouse, vtkChart::LINE and vtkChart::POINTS send separated and the coordinates of vtkChart::POINTS become inaccurate. How can I solve this problem please? Thank you very much!

Figure 1 shows the situation when plotted out, and Figure 2 shows the situation when the axes are dragged with the mouse.Figure 3 shows the code.