Click here to Skip to main content
12,999,580 members (103,654 online)
Click here to Skip to main content
Add your own
alternative version


14 bookmarked
Posted 4 Oct 2003

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 --
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170624.1 | Last Updated 5 Oct 2003
Article Copyright 2003 by ShabuKC
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid