PC Review


Reply
Thread Tools Rate Thread

Prevent Excel chart flicker,when plots are linked to DDE data

 
 
=?Utf-8?B?Q2xpZmYgQWxsZW4=?=
Guest
Posts: n/a
 
      20th Sep 2006
I am using Excel 2003 to display an XY plot on a chart. The plot updates
continuously to display real-time information to an equipment operator. The
chart data series, on another sheet, receive their information continuously,
twice a second, through a DDE connection. Whenever the chart updates, the
chart has an annoying flicker. (The chart might be displaying a white
background, then re-displaying the updated plots). Curiously, a textbox on
the chart also updates some real-time data. Rather than flickering, the data
simply changes in the textbox.
I would hope that the plot could be made to similarly update its pixels
without flickering the whole chart.

 
Reply With Quote
 
 
 
 
Ed Ferrero
Guest
Posts: n/a
 
      20th Sep 2006
Hi Cliff,

This is a very old tip that worked on Excel 95. I have not tried it with DDE
refresh, let me know if it works for you.

One way to eliminate flickering - set chart visibility explicitly in code.

Dim MyChart As Object

Set MyChart = ActiveChart
MyChart.Visible = False

' Place code to change chart here e.g.

With MyChart.SeriesCollection(1).Border
.Weight = xlThin
.LineStyle = xlAutomatic
End With

' at the end of chart editing code, make it visible

MyChart.Visible = True

First time I did this, I was amazed at speed difference

Ed Ferrero
Microsoft Excel MVP
http://www.edferrero.com


>I am using Excel 2003 to display an XY plot on a chart. The plot updates
> continuously to display real-time information to an equipment operator.
> The
> chart data series, on another sheet, receive their information
> continuously,
> twice a second, through a DDE connection. Whenever the chart updates, the
> chart has an annoying flicker. (The chart might be displaying a white
> background, then re-displaying the updated plots). Curiously, a textbox
> on
> the chart also updates some real-time data. Rather than flickering, the
> data
> simply changes in the textbox.
> I would hope that the plot could be made to similarly update its pixels
> without flickering the whole chart.
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 chart plots wierd on Excel 2007, time value x-axis Tony Ozzello Microsoft Excel Misc 0 18th Nov 2009 01:07 AM
Unabe to move data plots on chart in Excel 2007 MIRA Microsoft Excel Misc 1 23rd Sep 2008 10:26 AM
Erroneous Error? re >32,000 data plots in 2D chart inews@questuscorp.com Microsoft Excel Charting 3 6th Mar 2008 06:13 AM
how to prevent Excel from reformatting a chart wen updating data? =?Utf-8?B?Q21kX01hcmNv?= Microsoft Excel Charting 3 10th Feb 2006 03:47 PM
How do I remove empty chart plots from linked worksheet charts =?Utf-8?B?TGVlIElU?= Microsoft Excel Charting 3 31st Jan 2005 05:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:21 AM.