Hi
In an attempt to put actual (newest) values in the legend, I use the OnGetLegendText handler.
This handler has an index parameter, but this is not an index to the series collection, since series can be invisible, or have their ShowInLegend false.
Is there a sure way to gain access to the series of the legend text in question?
Best
Søren
OnGetLegendText - which series
-
- Newbie
- Posts: 17
- Joined: Thu Dec 07, 2006 12:00 am
- Location: Sønderborg, Denmark
Hi Søren,
knowing the text in the legend (by using the OnGetLegendText event) you should be able to check which Series in the Chart have the same Series title.
if Text = Chart1.Series[x].Title thn
....;
knowing the text in the legend (by using the OnGetLegendText event) you should be able to check which Series in the Chart have the same Series title.
if Text = Chart1.Series[x].Title thn
....;
Pep Jorge
http://support.steema.com
http://support.steema.com