Back to Devexpress

Legend Properties

corelibraries-devexpress-dot-xtracharts-dot-legend-dot-underscore-properties.md

latest9.4 KB
Original Source

Legend Properties

Represents a chart’s legend.

NameDescription
AlignmentHorizontalGets or sets the legend’s horizontal alignment within the chart control. Inherited from LegendBase.
AlignmentVerticalGets or sets the legend’s vertical alignment within the chart control. Inherited from LegendBase.
AntialiasingObsolete. Gets or sets whether antialising is applied to the legend’s contents.
BackColorGets or sets the legend’s background color. Inherited from LegendBase.
BackImageGets the background image settings. Inherited from LegendBase.
BorderGets the legend’s border settings. Inherited from LegendBase.
CrosshairContentOffsetThe offset between default legend item’s content and the Crosshair Cursor’s legend content.
CustomItemsReturns the custom legend item collection. Inherited from LegendBase.
DirectionGets or sets the direction in which the names of the series are displayed within the legend. Inherited from LegendBase.
DockTargetSpecifies the element (chart or pane) to which the legend is docked.
DockTargetNameFor internal use. Supports serialization of the Legend.DockTarget property.
DXFontGets or sets the font used to display the legend’s content. Inherited from LegendBase.
EnableAntialiasingGets or sets a value indicating whether antialiasing is enabled for the chart legend. Inherited from LegendBase.
EquallySpacedItemsGets or sets a value indicating whether the legend items are arranged in left-aligned columns. Inherited from LegendBase.
FillStyleGets the legend’s background fill style. Inherited from LegendBase.
FontGets or sets the font used to display the legend’s content. Inherited from LegendBase.
HorizontalIndentSpecifies the horizontal indent between legend items. Inherited from LegendBase.
ItemVisibilityModeSpecifies how to display custom and automatically generated items in a legend. Inherited from LegendBase.
LegendIDInherited from LegendBase.
MarginsSpecifies the indent between the legend‘s edge and other chart elements (e.g. diagram and chart titles), in pixels. Inherited from LegendBase.
MarkerModeGets or sets the appearance of the chart legend markers.
MarkerOffsetGets or sets the offset between a marker and check box, when both are displayed in the legend. Inherited from LegendBase.
MarkerSizeGets or sets the marker’s height and width. Inherited from LegendBase.
MarkerVisibleSpecifies whether the legend markers are visible.
MaxCrosshairContentHeightGets or sets the maximum height for the Crosshair’s content in the legend.
MaxCrosshairContentWidthGets or sets the maximum width for the Crosshair’s content in the legend.
MaxHorizontalPercentageGets or sets the legend’s maximum possible width (in percents). Inherited from LegendBase.
MaxVerticalPercentageGets or sets the legend’s maximum possible height (in percents). Inherited from LegendBase.
NameGets or sets the name of the chart element. Inherited from ChartElementNamed.
PaddingSpecifies the internal space between the legend‘s content and its edge, in pixels. Inherited from LegendBase.
ShadowGets the legend’s shadow settings. Inherited from LegendBase.
SpacingHorizontalObsolete. Gets or sets the horizontal spacing between the legend’s elements.
SpacingVerticalObsolete. Gets or sets the vertical spacing between the legend’s elements.
TagGets or sets the object that contains data related to the chart element. Inherited from ChartElement.
TextColorGets or sets the legend’s text color. Inherited from LegendBase.
TextOffsetSpecifies the indent between legend markers and their text. Inherited from LegendBase.
TextVisibleSpecifies whether the legend items’ text is visible. Inherited from LegendBase.
TitleReturns the legend title settings. Inherited from LegendBase.
UseCheckBoxesSpecifies a value which determines whether to use checkboxes instead of markers on a chart legend for all legend items.
VerticalIndentSpecifies the vertical indent between legend items. Inherited from LegendBase.
VisibilitySpecifies whether to show the legend on a chart. Inherited from LegendBase.
VisibleObsolete. Specifies whether the legend is visible.

See Also

Legend Class

Legend Members

DevExpress.XtraCharts Namespace