PC Review


Reply
Thread Tools Rate Thread

Chart select, yet changing set of series

 
 
name
Guest
Posts: n/a
 
      7th Jul 2006

How can I have a chart that *only* plots series chosen by the user. Fo
example:

I would like to have a on/off (1/0) switch for each series of data.
want the chart to only plot series with the on switch value. Also, I'
looking for a true solution, not one that plots the off series on th
axis.

All help is, as always, greatly appreciated

--
nam
-----------------------------------------------------------------------
name's Profile: http://www.excelforum.com/member.php...fo&userid=3411
View this thread: http://www.excelforum.com/showthread.php?threadid=55945

 
Reply With Quote
 
 
 
 
name
Guest
Posts: n/a
 
      7th Jul 2006

Oh I forgot to ask whether or not there's a way to setup a switch that
will flip through different chart types.


--
name
------------------------------------------------------------------------
name's Profile: http://www.excelforum.com/member.php...o&userid=34115
View this thread: http://www.excelforum.com/showthread...hreadid=559455

 
Reply With Quote
 
=?Utf-8?B?SEVL?=
Guest
Posts: n/a
 
      7th Jul 2006
Hi:
Your first question is relatively easy to do, with the IF command. Make a
copy of yr series (so you have two of each, X and Y). X is yr basic data,
and Y is calculated depending on a value in yr "trigger" cell (say this is
cell A1, and the value is 0 or 1).
Series Y is then for instance IF(A1=1,"X",NA()). Now plot Series Y, not X.
It either shows the values (if A1=1) or nothing (the effect of the NA()
command.

Your second question, the "chart flip": I think it is possible with the help
of the CHOOSE command, but frankly I don't see how this can be a time-saver -
the only sensible reason for this. I use CHOOSE when I want to change my
chart's appearance triggered by an event or value (e.g. change the chart area
into red for alerting purposes).
Just in case you are not aware: you don't have to remake a chart from
scratch once you have one: you can always right click the existing chart and
choose a different Chart Type and .. voila. Having said this, you may wish
to see my answer on the post of Rich earlier today in case you use
time-consuming chart formats that you don't like to make over again each
time.
HTH,
GL,
Henk
"name" wrote:

>
> How can I have a chart that *only* plots series chosen by the user. For
> example:
>
> I would like to have a on/off (1/0) switch for each series of data. I
> want the chart to only plot series with the on switch value. Also, I'm
> looking for a true solution, not one that plots the off series on the
> axis.
>
> All help is, as always, greatly appreciated.
>
>
> --
> name
> ------------------------------------------------------------------------
> name's Profile: http://www.excelforum.com/member.php...o&userid=34115
> View this thread: http://www.excelforum.com/showthread...hreadid=559455
>
>

 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      7th Jul 2006
Easy enough to just hide the column of the data

--
Don Guillett
SalesAid Software
(E-Mail Removed)
"name" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> How can I have a chart that *only* plots series chosen by the user. For
> example:
>
> I would like to have a on/off (1/0) switch for each series of data. I
> want the chart to only plot series with the on switch value. Also, I'm
> looking for a true solution, not one that plots the off series on the
> axis.
>
> All help is, as always, greatly appreciated.
>
>
> --
> name
> ------------------------------------------------------------------------
> name's Profile:
> http://www.excelforum.com/member.php...o&userid=34115
> View this thread: http://www.excelforum.com/showthread...hreadid=559455
>



 
Reply With Quote
 
Kelly O'Day
Guest
Posts: n/a
 
      7th Jul 2006
I have an example trend chart that let's user select which series they want
to plot by checking checkboxes. This may be close to what you are looking
for.

You should be able to modify the download file to meet your needs.
http://processtrends.com/pg_interact...checkboxes.htm

(E-Mail Removed)




"name" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> How can I have a chart that *only* plots series chosen by the user. For
> example:
>
> I would like to have a on/off (1/0) switch for each series of data. I
> want the chart to only plot series with the on switch value. Also, I'm
> looking for a true solution, not one that plots the off series on the
> axis.
>
> All help is, as always, greatly appreciated.
>
>
> --
> name
> ------------------------------------------------------------------------
> name's Profile:
> http://www.excelforum.com/member.php...o&userid=34115
> View this thread: http://www.excelforum.com/showthread...hreadid=559455
>



 
Reply With Quote
 
Don Guillett
Guest
Posts: n/a
 
      8th Jul 2006
The solution offered by Kelly is fantastic but this may be easier.

from forms toolbox
The checkbox is linked to cell c4,etc
Just add more for each column that needs to be involved.
right click sheet tab>view code>insert this.
Private Sub Worksheet_calculate()
'put =now()somewhere on the sheet of the chart
With Sheets("data")
.Columns.Hidden = False
If Range("c4") = False Then .Columns(2).Hidden = True
If Range("c5") = False Then .Columns(3).Hidden = True
End With
End Sub

from control box
Private Sub CheckBox1_Click()
If CheckBox1.Value = False Then _
Sheets("data").Columns(2).Hidden = True
End Sub
--
Don Guillett
SalesAid Software
(E-Mail Removed)
"Don Guillett" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Easy enough to just hide the column of the data
>
> --
> Don Guillett
> SalesAid Software
> (E-Mail Removed)
> "name" <(E-Mail Removed)> wrote in
> message news:(E-Mail Removed)...
>>
>> How can I have a chart that *only* plots series chosen by the user. For
>> example:
>>
>> I would like to have a on/off (1/0) switch for each series of data. I
>> want the chart to only plot series with the on switch value. Also, I'm
>> looking for a true solution, not one that plots the off series on the
>> axis.
>>
>> All help is, as always, greatly appreciated.
>>
>>
>> --
>> name
>> ------------------------------------------------------------------------
>> name's Profile:
>> http://www.excelforum.com/member.php...o&userid=34115
>> View this thread:
>> http://www.excelforum.com/showthread...hreadid=559455
>>

>
>



 
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
select a series that is transparent for formatting in a bar chart NDBC Microsoft Excel Charting 1 20th Nov 2009 09:39 AM
How to select series in chart? nomail1983@hotmail.com Microsoft Excel Misc 2 19th Sep 2006 04:37 AM
How to select series in chart? nomail1983@hotmail.com Microsoft Excel Charting 2 19th Sep 2006 04:37 AM
Select chart series using dropdown list Alex Delamain Microsoft Excel Charting 2 31st Aug 2005 07:35 PM
Chart events - how to select points and not series? John Coleman Microsoft Excel Programming 7 30th Oct 2004 03:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:40 PM.