Page 1 of 1

Multi series legend problem

Posted: Tue Nov 21, 2006 8:59 am
by 9529132
Hi,

I would like to display more than 3 series in a chart and the legend is displayed as each series's name. I used function SetActive to enable or disable some series display, but when there is only one series is displayed, the legend displays the data of the seires instead of its name. How can I avoid this and still display the name of the series when only one out of multi series is displayed?

Thanks.
David

Posted: Tue Nov 21, 2006 10:09 am
by narcis
Hi David,

You can achieve this using:

Code: Select all

    TChart1.Legend.LegendStyle = lsSeries

Posted: Tue Nov 21, 2006 10:16 am
by 9529132
Thanks!