How can each element be shown in the legend box?


QUESTION

How can each element be shown in the legend box?

ANSWER

One way to do this is to specify the element's legend entry visibility.

[C#]

Chart.DefaultSeries.DefaultElement.LegendEntry.Visible = true;

 
[Visual Basic]

Chart.DefaultSeries.DefaultElement.LegendEntry.Visible = True

Another way is to specify a palette for the element. For more information on this, please see this help topic.


Posted Monday, February 7, 2005 by Support
https://dotnetcharting.com/kb/KnowledgebaseArticle10903.aspx