ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Usenet Groups > Excel Charting

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-06-2008, 01:40 AM
Protiusmime Protiusmime is offline
Registered User
 
Join Date: 30 Aug 2008
Location: USA
Posts: 30
Protiusmime is on a distinguished road
How to Display a Moving Data Label

I have a 3 axis "live" graph that trends some production parameters. Data is collected via a DDE channel from Allen Bradley PLCs into Excel.

My question:
Does anyone know of the way to display on the graph only the latest value on a trend line? My data updates once every 15 seconds. I need for the data label to show only the last updated value, while erasing or "hiding" all previous value labels. As you can deduce, if I select to display all data labels based on a value, my graph becomes unreadable due to the frequency of updates. All I really need is to show on screen the "current" (last) updated value for each trend line.

If you need more clarification, please let me know.

Last edited by Andy Pope; 10-11-2008 at 07:20 AM.
Reply With Quote
  #2  
Old 09-06-2008, 10:40 AM
Andy Pope's Avatar
Andy Pope Andy Pope is offline
Forum Moderator
 
Join Date: 10 May 2004
Location: Essex, UK
Posts: 2,305
Andy Pope will become famous soon enough Andy Pope will become famous soon enough
When you say trendline do you mean a normal data series or an actual trendline?

You could use a second data series that only plots the last data point based on simple formula.
http://www.andypope.info/charts/Labellast.htm

Or it maybe possible to use a second series plotted as xy-scatter with a single xy value set, that references last point in data.
__________________
Cheers
Andy
Reply With Quote
  #3  
Old 09-07-2008, 12:27 AM
Protiusmime Protiusmime is offline
Registered User
 
Join Date: 30 Aug 2008
Location: USA
Posts: 30
Protiusmime is on a distinguished road
Thank you, Andy, for your reply. Yes, I do mean a data series. In my format data series I can checkbox "Value" and the value of each data entry is displayed. I need only the last value to display. Since this is an active trending graph, data is collected every 15 seconds. I need the previous label value to be erased as each new data series value is displayed.
I hope this clarifies things for your help. thanks.
Reply With Quote
  #4  
Old 09-07-2008, 07:08 AM
Andy Pope's Avatar
Andy Pope Andy Pope is offline
Forum Moderator
 
Join Date: 10 May 2004
Location: Essex, UK
Posts: 2,305
Andy Pope will become famous soon enough Andy Pope will become famous soon enough
The last label example will do what you want.
You will also need to use a dynamic named range in order to expand the length of the data series. There are plenty of examples of this on the forum.
__________________
Cheers
Andy
Reply With Quote
  #5  
Old 09-07-2008, 11:15 PM
Protiusmime Protiusmime is offline
Registered User
 
Join Date: 30 Aug 2008
Location: USA
Posts: 30
Protiusmime is on a distinguished road
I've taken a look at the last label models. I guess I am going to need a bit more detail/info from you on how to integrate the code into my existing worksheet and graph. I can post code if it would help. My data collection runs for 4 hours, and sample rate is every 15 secs. So, my table is A2:A960, C2:C960, and E2:E960 for each parameter I am graphing.

Your continued help is much appreciated.
Reply With Quote
  #6  
Old 09-14-2008, 08:23 AM
Andy Pope's Avatar
Andy Pope Andy Pope is offline
Forum Moderator
 
Join Date: 10 May 2004
Location: Essex, UK
Posts: 2,305
Andy Pope will become famous soon enough Andy Pope will become famous soon enough
example file
Attached Files
File Type: zip MAIN PAGEa.zip (77.4 KB, 17 views)
__________________
Cheers
Andy
Reply With Quote
  #7  
Old 09-15-2008, 03:40 AM
Protiusmime Protiusmime is offline
Registered User
 
Join Date: 30 Aug 2008
Location: USA
Posts: 30
Protiusmime is on a distinguished road
That's slick. Perfect. Thank you, Andy for hanging in here. Best regards.
Reply With Quote
  #8  
Old 10-11-2008, 04:31 AM
Protiusmime Protiusmime is offline
Registered User
 
Join Date: 30 Aug 2008
Location: USA
Posts: 30
Protiusmime is on a distinguished road
Issue Solved

Admin:

Please mark this thread as SOLVED. Thanks.
Reply With Quote
Reply

Bookmarks

New topics in Excel Charting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes 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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DDE Macros and data formatting JMann Excel Programming 12 03-28-2008 06:33 AM
Copy Paste Macro xiao85yu Excel Programming 7 03-26-2008 03:42 PM
Moving Data Between Workseets aces_up1504 Excel Worksheet Functions 1 12-06-2007 06:41 PM
Moving data into ONE Sheet from several others jerryjaysr Excel Programming 8 12-05-2007 04:12 PM
Using formulas to display data on new sheet shalie Excel Worksheet Functions 3 09-20-2007 08:57 PM


All times are GMT -4. The time now is 05:02 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0