ColumnType Property

LegendCellColumn.ColumnType Property

.NET Framework 4.6 and 4.5

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
Available since 4.0
Return to top
© 2015 Microsoft