Introduction
This solves the problem of Flickering while the Chart values are updated rapidly.
Using the code
The trick is to set the mschart property DrawMode to 1 as shown in the picture. We need to do one more thing, set the Redraw to false just before updating the chat values and set ReDraw to true and also GetUpdated region and Invalidate the updated region.
<CODE>
m_ChartControl.SetRedraw(false) ;
CRgn rgn;
m_ChartControl.GetUpdateRgn(&rgn);
m_ChartControl.SetRedraw(true);
m_ChartControl.InvalidateRgn(&rgn,false) ;
</CODE>
Points of Interest
Hope this helps for all those you looking for non-flickering charts.
History
None as of now!!
Thanks!!
Happy codeing!!!
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.