This documentation is archived and is not being maintained.

LegendCellColumn.ColumnType Property

Gets or sets the legend cell column type.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public virtual LegendCellColumnType ColumnType { get; set; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.LegendCellColumnType
A LegendCellColumnType enumeration value. This value represents the type that will be used to define the legend cell column contents. The default value is Text.

This property determines the type of content that will be displayed in each individual legend cell column. There are two possible values:

  • Text: By default, the #LEGENDTEXT keyword is used to place the LegendText value in each cell column. However, you can use the Text property to set any keyword(s) that will be replaced by a value of the corresponding series.

  • SeriesSymbol: The legend cell will contain a series symbol, such as a rectangle, line, line with marker, or marker, of the same fill color as its corresponding series.

.NET Framework

Supported in: 4

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.