LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Stephen Bullen
 
Posts: n/a
Default

Hi Randall,

"Exclude" in this context means to remove the point from the data
series and redraw the charts. We are attempting to deal with errant
points that are annomalies in our data series. The series includes
serveral hundred/thousand points which originate in an engineering
application and are used to produce approx 700 charts. Because of the
volume, our Engineers would prefer to visually remove the points in
question rather than wade through the data series.


If you're comfortable with deleting the source data for that point, you
should be OK; Tushar's replies point out the problems if you want to
keep the source data intact, but just not display it on the chart.

Personally, I would respond to the point being clicked, rather than just
a mouse over. Clicking a point will fire the _Select event and Jon's
article shows how to respond to that. Furthermore, if you use defined
names to link your chart to your data, the code for the _Select event
could be as simple as:

Private Sub Chart_Select(ByVal ElementID As Long, _
ByVal Arg1 As Long, ByVal Arg2 As Long)

'Is a point selected?
If ElementID = xlSeries And Arg2 0 Then
Application.EnableEvents = False
Sheet1.Range("chtXData").Cells(Arg2).EntireRow.Del ete
Application.EnableEvents = True
End if

End Sub

which assumes there's only one series and the source data X values have
been given the defined name "chtXData".

Regards

Stephen Bullen
Microsoft MVP - Excel
www.oaltd.co.uk


 
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
Help! I'm losing one series of data in an overlay chart. Charts are Us Charts and Charting in Excel 1 January 4th 05 05:57 PM
One data series and two y-axes in an Excel chart? [email protected] Charts and Charting in Excel 1 December 30th 04 03:35 PM
How do I get a trendline for all data series, instead of just one. Dave Darling Charts and Charting in Excel 1 December 15th 04 02:03 AM
Format Data Series Markers KB Charts and Charting in Excel 1 November 30th 04 03:37 AM
Extending a Chart Data Series from an Array - Can it be done? Jon Peltier Charts and Charting in Excel 4 November 30th 04 03:30 AM


All times are GMT +1. The time now is 06:05 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"