Click here to Skip to main content
11,930,231 members (54,053 online)
Click here to Skip to main content
Add your own
alternative version


14 bookmarked

Flicker free MSChart

, 4 Oct 2003
Rate this:
Please Sign up or sign in to vote.
A simple way to stop Flickering in MSChart.

Setting the DrawMode to 1


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.

m_ChartControl.SetRedraw(false) ; 
//.........code to update the Chart goes here
CRgn rgn; 
m_ChartControl.InvalidateRgn(&rgn,false) ;

Points of Interest

Hope this helps for all those you looking for non-flickering charts.


None as of now!! <!------------------------------- That's it! --------------------------->


Happy codeing!!!


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Web Developer
India India
No Biography provided

You may also be interested in...

Comments and Discussions

-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.151126.1 | Last Updated 5 Oct 2003
Article Copyright 2003 by ShabuKC
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid