Back to Devexpress

LegendBase Members

corelibraries-devexpress-dot-xtracharts-dot-legendbase-dot-underscore-members.md

latest7.9 KB
Original Source

LegendBase Members

The base class for chart legends.

Properties

NameDescription
AlignmentHorizontalGets or sets the legend’s horizontal alignment within the chart control.
AlignmentVerticalGets or sets the legend’s vertical alignment within the chart control.
BackColorGets or sets the legend’s background color.
BackImageGets the background image settings.
BorderGets the legend’s border settings.
CustomItemsReturns the custom legend item collection.
DirectionGets or sets the direction in which the names of the series are displayed within the legend.
DXFontGets or sets the font used to display the legend’s content.
EnableAntialiasingGets or sets a value indicating whether antialiasing is enabled for the chart legend.
EquallySpacedItemsGets or sets a value indicating whether the legend items are arranged in left-aligned columns.
FillStyleGets the legend’s background fill style.
FontGets or sets the font used to display the legend’s content.
HorizontalIndentSpecifies the horizontal indent between legend items.
ItemVisibilityModeSpecifies how to display custom and automatically generated items in a legend.
LegendID
MarginsSpecifies the indent between the legend‘s edge and other chart elements (e.g. diagram and chart titles), in pixels.
MarkerOffsetGets or sets the offset between a marker and check box, when both are displayed in the legend.
MarkerSizeGets or sets the marker’s height and width.
MaxHorizontalPercentageGets or sets the legend’s maximum possible width (in percents).
MaxVerticalPercentageGets or sets the legend’s maximum possible height (in percents).
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.
ShadowGets the legend’s shadow settings.
TagGets or sets the object that contains data related to the chart element. Inherited from ChartElement.
TextColorGets or sets the legend’s text color.
TextOffsetSpecifies the indent between legend markers and their text.
TextVisibleSpecifies whether the legend items’ text is visible.
TitleReturns the legend title settings.
VerticalIndentSpecifies the vertical indent between legend items.
VisibilitySpecifies whether to show the legend on a chart.

Methods

NameDescription
Assign(ChartElement)Copies all the settings from the LegendBase object passed as the parameter.
Clone()Creates a copy of the current ChartElement object. Inherited from ChartElement.
Dispose()Releases all resources used by the LegendBase object.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns the textual representation of the named chart element. Inherited from ChartElementNamed.

See Also

LegendBase Class

DevExpress.XtraCharts Namespace