LegendCellColumn.ColumnType Property
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Gets or sets the legend cell column type.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Property Value
Type: System.Web.UI.DataVisualization.Charting.LegendCellColumnTypeA 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.
Available since 4.0