Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Can't eliminate flicking of chart on every calculate

I am using Excel 2002.

I have real time data being charted , and I manually calculate
ranges and sheets as needed. This is not a problem.

I have recently added charts to plot this data. Every time there is
a recalculation anywhere on the sheet (even areas not being charted)
the charts flicker. Since there is new data multiple times per
second , this is a problem.

Yes, I know about Application.DisplayAlerts = False, and tried
inserting that before EVERY calculation call. I even went so far as
to use the LockWindowUpdate api call, which freezes the entire app.
Unfortunately , as soon as you unfreeze, you get the redraw flash.

Is there no way to avoid this visible screen redraw?

Interestingly, I also have a chart in this same workbook, that is
created with
Set ChartSpreadSheet = CreateObject("OWC11.Spreadsheet"), that is
displayed in a userform. This chart does not exhibit the flashing on
update problem. I was trying to avoid using that method again for
this particular chart.
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Can't eliminate flicking of chart on every calculate

Wow, four identical messages in the course of four minutes. We are
volunteers reading your questions, none of them actually from Microsoft.
Give us a chance and we might get to it.

In any case,

Application.DisplayAlerts = False

is not what you're looking for. Perhaps you want

Application.ScreenUpdating = False

but if your issue occurs on automatic calculations in the worksheet, I'm not
sure it will help. If you're calculating in code, then it might actually
help.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


wrote in message
...
I am using Excel 2002.

I have real time data being charted , and I manually calculate
ranges and sheets as needed. This is not a problem.

I have recently added charts to plot this data. Every time there is
a recalculation anywhere on the sheet (even areas not being charted)
the charts flicker. Since there is new data multiple times per
second , this is a problem.

Yes, I know about Application.DisplayAlerts = False, and tried
inserting that before EVERY calculation call. I even went so far as
to use the LockWindowUpdate api call, which freezes the entire app.
Unfortunately , as soon as you unfreeze, you get the redraw flash.

Is there no way to avoid this visible screen redraw?

Interestingly, I also have a chart in this same workbook, that is
created with
Set ChartSpreadSheet = CreateObject("OWC11.Spreadsheet"), that is
displayed in a userform. This chart does not exhibit the flashing on
update problem. I was trying to avoid using that method again for
this particular chart.



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 7
Default Can't eliminate flicking of chart on every calculate

sorry about that duplication ;-). I posted using Microsofts web site, and
it threw an error on send. I thought it did not work , so I reentered it.

I mistyped , of course I meant
Application.ScreenUpdating = False

I think I'll have to use the ActiveX charting on a form, as this does not
appear to have the unfortunate flashing issue.



"Jon Peltier" wrote:

Wow, four identical messages in the course of four minutes. We are
volunteers reading your questions, none of them actually from Microsoft.
Give us a chance and we might get to it.

In any case,

Application.DisplayAlerts = False

is not what you're looking for. Perhaps you want

Application.ScreenUpdating = False

but if your issue occurs on automatic calculations in the worksheet, I'm not
sure it will help. If you're calculating in code, then it might actually
help.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


wrote in message
...
I am using Excel 2002.

I have real time data being charted , and I manually calculate
ranges and sheets as needed. This is not a problem.

I have recently added charts to plot this data. Every time there is
a recalculation anywhere on the sheet (even areas not being charted)
the charts flicker. Since there is new data multiple times per
second , this is a problem.

Yes, I know about Application.DisplayAlerts = False, and tried
inserting that before EVERY calculation call. I even went so far as
to use the LockWindowUpdate api call, which freezes the entire app.
Unfortunately , as soon as you unfreeze, you get the redraw flash.

Is there no way to avoid this visible screen redraw?

Interestingly, I also have a chart in this same workbook, that is
created with
Set ChartSpreadSheet = CreateObject("OWC11.Spreadsheet"), that is
displayed in a userform. This chart does not exhibit the flashing on
update problem. I was trying to avoid using that method again for
this particular chart.




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Can't eliminate flicking of chart on every calculate

Oh yeah, that nice web interface. There are other ways to access the forums.
I use Outlook Express, and I've created a news account linked to the news
server msnews.microsoft.com.

Is there a lot of data in each chart? What version of Excel are you using?

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"JoeG" wrote in message
...
sorry about that duplication ;-). I posted using Microsofts web site,
and
it threw an error on send. I thought it did not work , so I reentered it.

I mistyped , of course I meant
Application.ScreenUpdating = False

I think I'll have to use the ActiveX charting on a form, as this does not
appear to have the unfortunate flashing issue.



"Jon Peltier" wrote:

Wow, four identical messages in the course of four minutes. We are
volunteers reading your questions, none of them actually from Microsoft.
Give us a chance and we might get to it.

In any case,

Application.DisplayAlerts = False

is not what you're looking for. Perhaps you want

Application.ScreenUpdating = False

but if your issue occurs on automatic calculations in the worksheet, I'm
not
sure it will help. If you're calculating in code, then it might actually
help.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


wrote in message
...
I am using Excel 2002.

I have real time data being charted , and I manually calculate
ranges and sheets as needed. This is not a problem.

I have recently added charts to plot this data. Every time there is
a recalculation anywhere on the sheet (even areas not being charted)
the charts flicker. Since there is new data multiple times per
second , this is a problem.

Yes, I know about Application.DisplayAlerts = False, and tried
inserting that before EVERY calculation call. I even went so far as
to use the LockWindowUpdate api call, which freezes the entire app.
Unfortunately , as soon as you unfreeze, you get the redraw flash.

Is there no way to avoid this visible screen redraw?

Interestingly, I also have a chart in this same workbook, that is
created with
Set ChartSpreadSheet = CreateObject("OWC11.Spreadsheet"), that is
displayed in a userform. This chart does not exhibit the flashing on
update problem. I was trying to avoid using that method again for
this particular chart.






  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 7
Default Can't eliminate flicking of chart on every calculate

As I said, Excel 2002. I have a lot of code written and working in that
version, and I haven't had time to install newer version to see what will
break.


There's quite a bit of data involved, its real time, and I have to do some
manipulation to get the data to display properly.

Working with the Active X module is more of a hassle than the built in
charting for obvious reasons. But, the upside is you get a userform that
you can actually put and size anywhere on the screen, as opposed to a chart
locked into the Excel app. I've done this before and I'm happy with the
results.





"Jon Peltier" wrote:

Oh yeah, that nice web interface. There are other ways to access the forums.
I use Outlook Express, and I've created a news account linked to the news
server msnews.microsoft.com.

Is there a lot of data in each chart? What version of Excel are you using?

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"JoeG" wrote in message
...
sorry about that duplication ;-). I posted using Microsofts web site,
and
it threw an error on send. I thought it did not work , so I reentered it.

I mistyped , of course I meant
Application.ScreenUpdating = False

I think I'll have to use the ActiveX charting on a form, as this does not
appear to have the unfortunate flashing issue.



"Jon Peltier" wrote:

Wow, four identical messages in the course of four minutes. We are
volunteers reading your questions, none of them actually from Microsoft.
Give us a chance and we might get to it.

In any case,

Application.DisplayAlerts = False

is not what you're looking for. Perhaps you want

Application.ScreenUpdating = False

but if your issue occurs on automatic calculations in the worksheet, I'm
not
sure it will help. If you're calculating in code, then it might actually
help.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


wrote in message
...
I am using Excel 2002.

I have real time data being charted , and I manually calculate
ranges and sheets as needed. This is not a problem.

I have recently added charts to plot this data. Every time there is
a recalculation anywhere on the sheet (even areas not being charted)
the charts flicker. Since there is new data multiple times per
second , this is a problem.

Yes, I know about Application.DisplayAlerts = False, and tried
inserting that before EVERY calculation call. I even went so far as
to use the LockWindowUpdate api call, which freezes the entire app.
Unfortunately , as soon as you unfreeze, you get the redraw flash.

Is there no way to avoid this visible screen redraw?

Interestingly, I also have a chart in this same workbook, that is
created with
Set ChartSpreadSheet = CreateObject("OWC11.Spreadsheet"), that is
displayed in a userform. This chart does not exhibit the flashing on
update problem. I was trying to avoid using that method again for
this particular chart.








  #6   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Can't eliminate flicking of chart on every calculate

Yep, you did say, right up there. I suspected you had 2007, which does not
deal very well with charts that have too much data. And for 2007, too much
means not very much.

If the userform/OWC approach suits you, then keep with it.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"JoeG" wrote in message
...
As I said, Excel 2002. I have a lot of code written and working in that
version, and I haven't had time to install newer version to see what will
break.


There's quite a bit of data involved, its real time, and I have to do some
manipulation to get the data to display properly.

Working with the Active X module is more of a hassle than the built in
charting for obvious reasons. But, the upside is you get a userform
that
you can actually put and size anywhere on the screen, as opposed to a
chart
locked into the Excel app. I've done this before and I'm happy with the
results.





"Jon Peltier" wrote:

Oh yeah, that nice web interface. There are other ways to access the
forums.
I use Outlook Express, and I've created a news account linked to the news
server msnews.microsoft.com.

Is there a lot of data in each chart? What version of Excel are you
using?

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"JoeG" wrote in message
...
sorry about that duplication ;-). I posted using Microsofts web site,
and
it threw an error on send. I thought it did not work , so I reentered
it.

I mistyped , of course I meant
Application.ScreenUpdating = False

I think I'll have to use the ActiveX charting on a form, as this does
not
appear to have the unfortunate flashing issue.



"Jon Peltier" wrote:

Wow, four identical messages in the course of four minutes. We are
volunteers reading your questions, none of them actually from
Microsoft.
Give us a chance and we might get to it.

In any case,

Application.DisplayAlerts = False

is not what you're looking for. Perhaps you want

Application.ScreenUpdating = False

but if your issue occurs on automatic calculations in the worksheet,
I'm
not
sure it will help. If you're calculating in code, then it might
actually
help.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


wrote in message
...
I am using Excel 2002.

I have real time data being charted , and I manually calculate
ranges and sheets as needed. This is not a problem.

I have recently added charts to plot this data. Every time there is
a recalculation anywhere on the sheet (even areas not being charted)
the charts flicker. Since there is new data multiple times per
second , this is a problem.

Yes, I know about Application.DisplayAlerts = False, and tried
inserting that before EVERY calculation call. I even went so far
as
to use the LockWindowUpdate api call, which freezes the entire app.
Unfortunately , as soon as you unfreeze, you get the redraw flash.

Is there no way to avoid this visible screen redraw?

Interestingly, I also have a chart in this same workbook, that is
created with
Set ChartSpreadSheet = CreateObject("OWC11.Spreadsheet"), that is
displayed in a userform. This chart does not exhibit the flashing
on
update problem. I was trying to avoid using that method again for
this particular 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
Can't eliminate flicking of chart on every calculate JoeG Charts and Charting in Excel 0 February 9th 09 10:30 PM
Eliminate weekends on chart looloo Excel Discussion (Misc queries) 1 June 8th 07 08:55 PM
How do I eliminate 1 bar on the bar chart? crossingmind Charts and Charting in Excel 2 May 15th 05 03:51 AM


All times are GMT +1. The time now is 12:09 PM.

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

About Us

"It's about Microsoft Excel"