Greetings,
I have a chart that has multiple custom vertical axes ... but I cannot figure out how to create a seperate legend for each of the vertical axis. Below is a picture of what I have now. I've added red boxes to illustrate what I wish to achieve.(although looking much prettier)
You can see in the chart that I have 4 vertical axes and in each axis I can have 1 - n series ...
What I would like to achieve is for each axis I wish to have a legend that only contains entries for the series within that axis.
i.e. Right Axis legend has only 0.AAC candle , the next custom axis shows the 3 line series, the next axis shows only MACD series .. etc etc ... these custom axis and number of series is variabel and user definable.
I tried to use the extraLegend tool .. but I cannot make it aware of more than 1 series i.e. myExtraLegend.Series = Line1; my custom axis often contains many series. ...
I tried following the example in Welcome !\Miscellaneous\Legend\Multiple Legends but even though I get 2 Legends, no matter what they both contain entries for ALL the charts series, I could not limit either one the series I wished displayed. They simply mirrored each other .. and its a strange example.
I tried creating LegendItems and populating the legend.items collection manually but ended up with a strange case where my values where being displayed (sort of) .. but if I added say 8 entries this way ... and there was 4 series in the chart .. the legend would only display 4 of the 8 entries (even though the displayed entries where the ones I had pushed there).
I am aware that you can supress a series titles from appearing inthe legend .. but thats the opposite of what I'm trying to do .. I'm trying to direct items to specific Legends.
I'm thinking I can't be the only person ever to want multiple Legend boxes containing different items. So before I completely give up onthe Legend tool(s) and use multiple Annotations lovingly placed at each axis boundary I'd ask how it can be done.
The Question: How can I create multiple Legends .. and display what I want in them rather than every series thats in the chart.
Cheers Philip.
Multiple Legends
Multiple Legends
--------------------
Cheers Phil.
Cheers Phil.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Multiple Legends
Hi Phil,
The only solution I can think of is drawing your own custom legends as in the example Christopher Ireland posted on this thread.
The only solution I can think of is drawing your own custom legends as in the example Christopher Ireland posted on this thread.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |