Page 1 of 1

Legend showing all values

Posted: Mon Apr 04, 2005 11:15 pm
by 9526113
I have a chart with the Legend showing.

I add all series, programatically.

When I have 2 or more series, just the series names show in the legend (as it should be).

But, when there's only 1 series, the legend is showing all the value points in the series. I want it to just show the series name.

How do I do that?

-Keith Price

Solved

Posted: Mon Apr 04, 2005 11:24 pm
by 9526113
I found it.

The default setting for the Legend is Automatic, which does exactly what I described.

To force it to always just show the Series name:

TChart.Legend.LegendStyle = lsSeries

-Keith Price