The following tables list the members exposed by Legend.
Name | Description | |
---|---|---|
Legend Constructor | Overloaded. Constructor. Public constructor that creates an un-initialized Legend object. |
Name | Description | |
---|---|---|
Alignment |
Gets or sets the legend's alignment. Legend alignment | |
AutoFitMinFontSize | Gets or sets the minimum font size that can be used by the legend text's auto-fitting algorithm. Minimum font size that can be used by the legend text auto-fitting algorithm. | |
AutoFitText |
Gets or sets a value that indicates if legend text is automatically sized. Legend text automatic fitting flag | |
BackColor |
Gets or sets the background color of a legend. Legend background color | |
BackGradientEndColor |
Gets or sets the secondary color of a legend. Legend background gradient end color | |
BackGradientType |
Gets or sets the orientation of a legend. Legend background gradient type. | |
BackHatchStyle |
Gets or sets the hatching style of a legend. Legend hatch style | |
BackImage |
Gets or sets the background image of a legend. Legend background image | |
BackImageAlign |
Gets or sets the alignment of a legend. Background image alignment used by ClampUnscale drawing mode. | |
BackImageMode |
Gets or sets the drawing mode of a legend. Legend background image drawing mode. | |
BackImageTranspColor |
Gets or sets the color of a legend. Background image transparent color. | |
BorderColor |
Gets or sets the border color of a legend. Legend border color | |
BorderStyle |
Gets or sets the border style of a legend. Legend border style | |
BorderWidth |
Gets or sets the border width of a legend. Legend border width | |
CellColumns | Gets a reference to the legend's columns collection. Legend columns collection. | |
CustomItems |
Gets a LegendItemsCollection object, used for custom legend items. Legend custom items collection | |
Docking |
Gets or sets a value that determines where the legend is docked. Legend docking | |
DockInsideChartArea |
Gets or sets a boolean value that determines if the legend is docked inside or outside of a ChartArea object. Indicates that the legend is docked inside the chart area. This property is only available when DockToChartArea is set. | |
DockToChartArea |
Gets or sets a string value that identifies the name of the ChartArea object that this Legend should be docked. Chart area name the legend is docked to inside or outside. | |
Enabled |
Gets or sets a value that determines if the legend is enabled. Legend enabled flag | |
EquallySpacedItems |
Gets or sets a boolean value that determines if legend items are equally spaced. Indicates that all legend items are equally spaced. | |
Font |
Gets or sets a Font object, used to set font properties of the legend. Legend font | |
FontColor |
Gets or sets the font color of the legend.. Legend font color | |
HeaderSeparator | Gets or sets the legend header's visual separator type. Legend header visual separator type. | |
HeaderSeparatorColor | Gets or sets the legend header's separator color. Legend header visual separator color. | |
InterlacedRows | Determines if legend rows will be drawn with interlaced background color. Indicate that legend rows should be drawn with interlaced background color. | |
InterlacedRowsColor | Gets or sets the legend interlaced row's background color. Only applicable if interlaced rows are used. Legend interlaced rows background color. | |
ItemColumnSeparator | Gets or sets the legend table column's visual separator type. Legend table columns visual separator type. | |
ItemColumnSeparatorColor | Gets or sets the legend table column's separator color. Legend table columns visual separator color. | |
ItemColumnSpacing |
Gets or sets the legend table column spacing. Calculated as a percentage of the legend text font. Legend table column spacing calculated as a percentage of the legend text font. | |
LegendStyle |
Gets or sets the legend's style. Legend style | |
MaxAutoSize | Gets or sets the maximum size of the legend auto position. Maximum size of the legend auto position. If legend docked to the left or right it determines the max width of legen in percentage. If legend docked to the top or bottomit determines the max height. | |
Name | Gets or sets the legend's name. Legend name. | |
Position |
Gets or sets an ElementPosition object, which can be used to get or set the legend's position. Legend rectangle position | |
Reversed | Determines if legend items are shown in a reversed order. This property only affects legend items automatically added to a chart series, and has no effect on custom legend items. Indicates that legend items are shown in the reversed order. This property only affects legend items automatically added for the chart series and has no effect on custom legend items. | |
ShadowColor |
Gets or sets the shadow color of the legend. Legend shadow color | |
ShadowOffset |
Gets or sets the shadow offset (in pixels) of the legend. Legend shadow offset | |
TableStyle | Gets the legend's table style, applicable if the LegendStyle is set to Table. Legend table style. | |
TextWrapThreshold | Gets or sets the number of characters in the legend text after which text will be wrapped. Defines preferred number of characters in the legend text after which it will be wrapped. | |
Title | Gets or sets the legend title's text. Legend title text. | |
TitleAlignment | Gets or sets the legend title's alignment. Legend title horizontal text alignment. | |
TitleBackColor | Gets or sets the legend title's background color. Legend title text background color. | |
TitleColor | Gets or sets the legend title's foreground color. Legend title text color. | |
TitleFont | Gets or sets the legend title's font. Legend title font. | |
TitleSeparator | Gets or sets the legend title's visual separator type. Legend title visual separator type. | |
TitleSeparatorColor | Gets or sets the legend title's separator color. Legend title visual separator color. |