PC Review


Reply
Thread Tools Rate Thread

Chart: "Line-Column on 2 Axes"... but...

 
 
(PeteCresswell)
Guest
Posts: n/a
 
      30th Jan 2007
I don't even know enough to compose a meaningful Subject line for this one.

I have an existing routine (MS Access VBA) that takes an investment instrument's
payment stream over time and graphs two figures: something called Payment Amount
and something called "Percent Of Notional".... bottom line, it's two values.

I put them on a "Line-Column on 2 Axes" chart and all is well. The payments
come up as bars and the percents come up as a line.

All was well and life was good.



But now the same user wants to compare two or three different instruments on the
same chart. Same look/feel - just three different entities with two value
streams each instead of one entity.

Presumably, I'm going to wind up with two or three bars for each payment and two
or three lines for the percents.



Beyond that, I don't have a clue.

Fooled around with "Line-Column on 2 Axes" but it seems like I'm trying to
shoehorn something into it that it's not made for.

True?



I don't even know what "2 Axes" means for sure. Seems like it's two types of
representation: bar and line in this case... but that's only a guess.

Can somebody wind me up and put me on the right path?

Even the proper chart type would be a big help.
--
PeteCresswell
 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      31st Jan 2007
Two Axes means primary and secondary axes, for the case where the column and
line have completely different values.

The built in types are not too flexible. If the chart is in Excel, use the
following procedure. I've had mixed results with MS Graph, which is the
charting applet used by other programs.

Create the chart with all columns. Select each column series you want to
convert to a line and go to Chart menu > Chart Type, and select a suitable
line style. Repeat as needed.. If you want to use primary and secondary
axes, double click each series you want on the secondary axis, and on the
Axis tab, select Secondary. Repeat as needed.

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


"(PeteCresswell)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I don't even know enough to compose a meaningful Subject line for this one.
>
> I have an existing routine (MS Access VBA) that takes an investment
> instrument's
> payment stream over time and graphs two figures: something called Payment
> Amount
> and something called "Percent Of Notional".... bottom line, it's two
> values.
>
> I put them on a "Line-Column on 2 Axes" chart and all is well. The
> payments
> come up as bars and the percents come up as a line.
>
> All was well and life was good.
>
>
>
> But now the same user wants to compare two or three different instruments
> on the
> same chart. Same look/feel - just three different entities with two
> value
> streams each instead of one entity.
>
> Presumably, I'm going to wind up with two or three bars for each payment
> and two
> or three lines for the percents.
>
>
>
> Beyond that, I don't have a clue.
>
> Fooled around with "Line-Column on 2 Axes" but it seems like I'm trying to
> shoehorn something into it that it's not made for.
>
> True?
>
>
>
> I don't even know what "2 Axes" means for sure. Seems like it's two
> types of
> representation: bar and line in this case... but that's only a guess.
>
> Can somebody wind me up and put me on the right path?
>
> Even the proper chart type would be a big help.
> --
> PeteCresswell



 
Reply With Quote
 
(PeteCresswell)
Guest
Posts: n/a
 
      31st Jan 2007
Per (PeteCresswell):
>Fooled around with "Line-Column on 2 Axes" but it seems like I'm trying to
>shoehorn something into it that it's not made for.


I think I'm getting somewhere.

Looks to me like "2 Axes" refers to two different Y value systems and this is
still the appropriate chart type except that I just need to add more series to
it.

And, to coerce the representation of each series to bar or line, I just set
SeriesCollection(i).ChartType=XlLineMarkers or XlColumnClustered.

Am I on the right track?
--
PeteCresswell
 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      31st Jan 2007
Looks good.

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


"(PeteCresswell)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Per (PeteCresswell):
>>Fooled around with "Line-Column on 2 Axes" but it seems like I'm trying to
>>shoehorn something into it that it's not made for.

>
> I think I'm getting somewhere.
>
> Looks to me like "2 Axes" refers to two different Y value systems and this
> is
> still the appropriate chart type except that I just need to add more
> series to
> it.
>
> And, to coerce the representation of each series to bar or line, I just
> set
> SeriesCollection(i).ChartType=XlLineMarkers or XlColumnClustered.
>
> Am I on the right track?
> --
> PeteCresswell



 
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
TypeName:="Line - Stacked Column on 2 Axes" ??? Kevin Microsoft Excel Programming 2 23rd Oct 2008 11:00 AM
how can i get a "Column - Line on 2 axes" graph? =?Utf-8?B?YnVuam95?= Microsoft Excel Charting 1 28th Sep 2007 02:22 PM
Chart Error when using Chart Line - Column on 2 Axes in vba code =?Utf-8?B?Sm9obg==?= Microsoft Excel Programming 2 3rd Aug 2007 01:42 PM
How do you select line or columns in "Line-Column on 2 axes" graphs? mizterbusy Microsoft Excel Misc 0 19th Sep 2006 06:48 AM
How to apply the custom chart type: "Line - Column on 2 Axes" =?Utf-8?B?dGFscnM=?= Microsoft Excel Programming 0 20th Apr 2006 09:23 AM


Features
 

Advertising
 

Newsgroups
 


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