PC Review


Reply
Thread Tools Rate Thread

How do you set all graph data points to black (multiple series)?

 
 
=?Utf-8?B?RGFtbktpd2k=?=
Guest
Posts: n/a
 
      1st Sep 2005
I have multiple series on a chart, all with different marker shapes as
desired. How do I globally set all the data point colors to black without
picking each series in turn and setting a custom color.
 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      1st Sep 2005
You can't do it using the native Excel interface, but a little macro
will handle it:

Sub PaintItBlack()
Dim srs As Series
For Each srs In ActiveChart.SeriesCollection
srs.Border.ColorIndex = 1
srs.MarkerBackgroundColorIndex = 1
srs.MarkerForegroundColorIndex = 1
Next
End Sub

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

DamnKiwi wrote:
> I have multiple series on a chart, all with different marker shapes as
> desired. How do I globally set all the data point colors to black without
> picking each series in turn and setting a custom color.

 
Reply With Quote
Reply

« Colums | graph »
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
Time Series and Creating data points within a series Cristal Microsoft Excel Misc 2 30th Nov 2009 08:07 PM
Combination Graph with multiple data points =?Utf-8?B?U2FiaW5h?= Microsoft Excel Charting 2 28th Sep 2007 06:04 PM
How do I plot multiple series on one graph? - test-graph.xls (0/1) Leo Bueno Microsoft Excel Charting 1 2nd Aug 2007 12:49 PM
Bar graph with data points from another data series dberrymalmberg@gmail.com Microsoft Excel Discussion 0 25th Apr 2007 11:17 PM
xy scatter graph - add points to series TroyB Microsoft Excel Programming 0 10th Dec 2003 06:00 AM


Features
 

Advertising
 

Newsgroups
 


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