PC Review


Reply
Thread Tools Rate Thread

Charts - How to have multiple charts share a legend.

 
 
=?Utf-8?B?U2Vhbg==?=
Guest
Posts: n/a
 
      19th Nov 2007
How to have multiple charts share a legend, so that the color properly
matches the same X value in each graph?

Example:

3 different Data Tables:

Name / Age, Name / Height, Name / Weight.

Each table is sorted from highest to lowest, so when I goto graph them, a
color is automatically assigned to each name.

Problem: the color does not match with each name. "John" could be red in
one graph, and blue in another. Is there a way to easily coordinate the
colors to match throughout all 3 graphs, and continue to update the graph
even if the data is re-sorted in a different order? (ie. simply put, is
there a way to share legends between graphs?)

Thanks!

If you need more example, here is the file i'm working on:
http://www.iamthanh.com/nba/wk3.htm
 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      20th Nov 2007
There are a couple macros at the bottom of this page:

http://pubs.logicalexpressions.com/P...cle.asp?ID=390

One of them formats points in a series based on the category name.

Post 5 in this thread shows a more flexible approach, which uses a worksheet
range listing the categories, the list is color coded, and the macro picks
up the colors and applies them as appropriate to the chart:

http://groups.google.com/group/micro...f1758ea2695e89

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



"Sean" <(E-Mail Removed)> wrote in message
news02D33B8-8E5E-45D6-902B-(E-Mail Removed)...
> How to have multiple charts share a legend, so that the color properly
> matches the same X value in each graph?
>
> Example:
>
> 3 different Data Tables:
>
> Name / Age, Name / Height, Name / Weight.
>
> Each table is sorted from highest to lowest, so when I goto graph them, a
> color is automatically assigned to each name.
>
> Problem: the color does not match with each name. "John" could be red in
> one graph, and blue in another. Is there a way to easily coordinate the
> colors to match throughout all 3 graphs, and continue to update the graph
> even if the data is re-sorted in a different order? (ie. simply put, is
> there a way to share legends between graphs?)
>
> Thanks!
>
> If you need more example, here is the file i'm working on:
> http://www.iamthanh.com/nba/wk3.htm



 
Reply With Quote
 
=?Utf-8?B?U2Vhbg==?=
Guest
Posts: n/a
 
      20th Nov 2007
wow, you understood my question exactly. Thank you so much!

- Sean

"Jon Peltier" wrote:

> There are a couple macros at the bottom of this page:
>
> http://pubs.logicalexpressions.com/P...cle.asp?ID=390
>
> One of them formats points in a series based on the category name.
>
> Post 5 in this thread shows a more flexible approach, which uses a worksheet
> range listing the categories, the list is color coded, and the macro picks
> up the colors and applies them as appropriate to the chart:
>
> http://groups.google.com/group/micro...f1758ea2695e89
>
> - Jon
> -------
> Jon Peltier, Microsoft Excel MVP
> Tutorials and Custom Solutions
> Peltier Technical Services, Inc. - http://PeltierTech.com
> _______
>
>
>
> "Sean" <(E-Mail Removed)> wrote in message
> news02D33B8-8E5E-45D6-902B-(E-Mail Removed)...
> > How to have multiple charts share a legend, so that the color properly
> > matches the same X value in each graph?
> >
> > Example:
> >
> > 3 different Data Tables:
> >
> > Name / Age, Name / Height, Name / Weight.
> >
> > Each table is sorted from highest to lowest, so when I goto graph them, a
> > color is automatically assigned to each name.
> >
> > Problem: the color does not match with each name. "John" could be red in
> > one graph, and blue in another. Is there a way to easily coordinate the
> > colors to match throughout all 3 graphs, and continue to update the graph
> > even if the data is re-sorted in a different order? (ie. simply put, is
> > there a way to share legends between graphs?)
> >
> > Thanks!
> >
> > If you need more example, here is the file i'm working on:
> > http://www.iamthanh.com/nba/wk3.htm

>
>
>

 
Reply With Quote
 
 
 
Reply

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
Legend in charts queenie Microsoft Excel Charting 1 13th Mar 2009 03:43 PM
PPT, how to create multiple Buble charts using one linked legend =?Utf-8?B?TW9sbHk=?= Microsoft Powerpoint 4 12th Nov 2007 10:30 PM
charts and legend problems =?Utf-8?B?c2RnODQ4MQ==?= Microsoft Access Reports 0 3rd Mar 2007 11:38 AM
Charts - Legend Colours =?Utf-8?B?UGF1bCBEZW5uaXM=?= Microsoft Access Reports 5 19th Oct 2006 05:09 PM
Re: Format charts legend Andy Pope Microsoft Excel Charting 0 11th Oct 2006 01:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:04 AM.