Xceed Chart for WinForms v4.4 Documentation
Mode Property (SeriesLegend)
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > SeriesLegend Class : Mode Property
Determines the mode in which the legend is filled with information about the series.
Syntax
'Declaration
 
<CategoryAttribute("General")>
<DefaultValueAttribute()>
<DescriptionAttribute("Determines the mode in which the legend is filled with information about the series.")>
Public Property Mode As SeriesLegendMode
'Usage
 
Dim instance As SeriesLegend
Dim value As SeriesLegendMode
 
instance.Mode = value
 
value = instance.Mode
[Category("General")]
[DefaultValue()]
[Description("Determines the mode in which the legend is filled with information about the series.")]
public SeriesLegendMode Mode {get; set;}
Remarks
By default it set to Series.
Example
The following code fills the legend with the data points displayed by a bar series.
bar.Legend.Mode = SeriesLegendMode.DataPoints
bar.Legend.Mode = SeriesLegendMode.DataPoints;
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SeriesLegend Class
SeriesLegend Members