Legend Properties

.NET Framework (current version)
 

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

NameDescription
System_CAPS_pubpropertyAlignment

Gets or sets the alignment of the legend.

System_CAPS_pubpropertyAutoFitMinFontSize

Gets or sets the minimum font size that can be used by the autofitting algorithm for the legend text.

System_CAPS_pubpropertyBackColor

Gets or sets the background color of a legend.

System_CAPS_pubpropertyBackGradientStyle

Gets or sets the orientation for the background gradient of a legend. Also determines whether a gradient is used.

System_CAPS_pubpropertyBackHatchStyle

Gets or sets the hatching style of a legend.

System_CAPS_pubpropertyBackImage

Gets or sets the background image of a legend.

System_CAPS_pubpropertyBackImageAlignment

Gets or sets the background image alignment used for the Unscaled drawing mode.

System_CAPS_pubpropertyBackImageTransparentColor

Gets or sets a color that will be replaced with a transparent color when the background image is drawn.

System_CAPS_pubpropertyBackImageWrapMode

Gets or sets the drawing mode of a legend background image.

System_CAPS_pubpropertyBackSecondaryColor

Gets or sets the secondary color of a legend background.

System_CAPS_pubpropertyBorderColor

Gets or sets the border color of a legend.

System_CAPS_pubpropertyBorderDashStyle

Gets or sets the border style of a legend.

System_CAPS_pubpropertyBorderWidth

Gets or sets the border width of a legend.

System_CAPS_pubpropertyCellColumns

Gets the LegendCellColumnCollection for a legend.

System_CAPS_pubpropertyCustomItems

Gets a LegendItemsCollection object used for custom legend items.

System_CAPS_pubpropertyDockedToChartArea

Gets or sets the name of the ChartArea where the legend will be docked.

System_CAPS_pubpropertyDocking

Gets or sets a value that determines where the legend is docked.

System_CAPS_pubpropertyEnabled

Gets or sets a value that determines if the legend is enabled.

System_CAPS_pubpropertyFont

Gets or sets a Font object, which is used to set font properties of the legend.

System_CAPS_pubpropertyForeColor

Gets or sets the color of the legend text.

System_CAPS_pubpropertyHeaderSeparator

Gets or sets the visual separator type for the legend header.

System_CAPS_pubpropertyHeaderSeparatorColor

Gets or sets the color of the separator for the legend header.

System_CAPS_pubpropertyInsideChartArea

Gets or sets the name of the chart area in which the legend is drawn.

System_CAPS_pubpropertyInterlacedRows

Gets or sets a flag that indicates if legend rows will be drawn with interlaced background color.

System_CAPS_pubpropertyInterlacedRowsColor

Gets or sets the background color of the legend's interlaced rows.

System_CAPS_pubpropertyIsDockedInsideChartArea

Gets or sets a flag that indicates whether the legend is docked inside or outside the chart area.

System_CAPS_pubpropertyIsEquallySpacedItems

Gets or sets a flag that indicates whether all legend items are equally spaced.

System_CAPS_pubpropertyIsTextAutoFit

Gets or sets a flag that indicates whether the legend text is automatically sized.

System_CAPS_pubpropertyItemColumnSeparator

Gets or sets the visual separator type for the legend table columns.

System_CAPS_pubpropertyItemColumnSeparatorColor

Gets or sets the color of the legend table column separator.

System_CAPS_pubpropertyItemColumnSpacing

Gets or sets the legend table column spacing.

System_CAPS_pubpropertyLegendItemOrder

Gets or sets a flag that specifies the order in which legend items are displayed. This property only affects legend items automatically added for the chart series; it has no effect on custom legend items.

System_CAPS_pubpropertyLegendStyle

Gets or sets the style of the legend.

System_CAPS_pubpropertyMaximumAutoSize

Gets or sets the maximum size of the legend, measured as a percentage of the chart area. This value is used by the automatic layout algorithm.

System_CAPS_pubpropertyName

Gets or sets the name of the legend.(Overrides ChartNamedElement.Name.)

System_CAPS_pubpropertyPosition

Gets or sets an ElementPosition object, which can be used to get or set the position of the legend.

System_CAPS_pubpropertyShadowColor

Gets or sets the shadow color of the legend.

System_CAPS_pubpropertyShadowOffset

Gets or sets the shadow offset, in pixels, of the legend.

System_CAPS_pubpropertyTableStyle

Gets or sets the legend table style.

System_CAPS_pubpropertyTag

Gets or sets an object associated with this chart element.(Inherited from ChartElement.)

System_CAPS_pubpropertyTextWrapThreshold

Gets or sets the number of characters that can be sequentially displayed in the legend before the text is wrapped.

System_CAPS_pubpropertyTitle

Gets or sets the text of the legend title.

System_CAPS_pubpropertyTitleAlignment

Gets or sets the alignment of the legend title.

System_CAPS_pubpropertyTitleBackColor

Gets or sets the background color of the legend title.

System_CAPS_pubpropertyTitleFont

Gets or sets the font for the legend title.

System_CAPS_pubpropertyTitleForeColor

Gets or sets the text color of the legend title.

System_CAPS_pubpropertyTitleSeparator

Gets or sets the visual separator type for the legend title.

System_CAPS_pubpropertyTitleSeparatorColor

Gets or sets the color of the legend title separator.

Return to top
Show: