请教使用High-speed Charting Control时,如果想动态画了一个矩形,发现X轴坐标已经画线了,如果往X轴的负方向往回画线会导致之前已经画线的图像乱了

IDE是VS2010,MFC
已经实现了大部分的High-speed Charting Control的功能,如果是X轴正常递增,动态改变的只是Y轴坐标绘图都是正常的,
但是一旦X轴往负方向绘图则会导致绘图错乱。打印结果感觉X和Y坐标都没有问题图片说明

trace_count++;
//m_count = GetTickCount()-st;
//m_pLineSerie->ClearSerie();
//m_pLineSerie2->ClearSerie();
int posy = bb();
LeftMoveArray(m_HightSpeedChartArray,m_c_arrayLength,posy);
//LeftMoveArray(m_X,m_c_arrayLength,m_count);
int posx = cc();
LeftMoveArray(m_X,m_c_arrayLength,posx);
m_pLineSerie->AddPoint(posx,posy);
CString str;
str.Format("count=%d, posx=%d, posy=%d",trace_count,posx,posy);
TRACE(str);
TRACE("\r\n");

https://bbs.csdn.net/topics/392428300?list=76348559