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
Legend showing all values
-
- Newbie
- Posts: 21
- Joined: Tue Mar 01, 2005 5:00 am
- Location: Spokane, WA
- Contact:
-
- Newbie
- Posts: 21
- Joined: Tue Mar 01, 2005 5:00 am
- Location: Spokane, WA
- Contact:
Solved
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
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