Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Prevent Excel chart flicker,when plots are linked to DDE data

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.

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 115
Default Prevent Excel chart flicker,when plots are linked to DDE data

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002 chart does not update when worksheet data changes proquant Charts and Charting in Excel 1 June 15th 05 12:23 AM
Fan charts Dean Charts and Charting in Excel 7 May 30th 05 11:51 AM
Overlay charts Ian Charts and Charting in Excel 13 March 24th 05 07:46 PM
how do you prevent data from changing values when sorting linked . Cassie Excel Discussion (Misc queries) 0 March 4th 05 10:45 AM
Excel 97 chart opened in Excel 2003 - Source Data problem DHunt Charts and Charting in Excel 0 December 6th 04 08:05 PM


All times are GMT +1. The time now is 06:02 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"