Back to Devexpress

ConstantLine Members

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

latest8.9 KB
Original Source

ConstantLine Members

Represents a constant line within an axis.

Constructors

NameDescription
ConstantLine()Initializes a new instance of the ConstantLine class with the default settings.
ConstantLine(String, DateOnly)Initializes a new instance of the ConstantLine class with the specified name and date value.
ConstantLine(String, DateTime)Initializes a new instance of the ConstantLine class with the specified name and date time value.
ConstantLine(String, Double)Initializes a new instance of the ConstantLine class with the specified name and numeric value.
ConstantLine(String, Object)Initializes a new instance of the ConstantLine class with the specified constant line’s name and axis value.
ConstantLine(String, String)Initializes a new instance of the ConstantLine class with the specified name and qualitative value.
ConstantLine(String, TimeOnly)Initializes a new instance of the ConstantLine class with the specified name and time value.
ConstantLine(String, TimeSpan)Initializes a new instance of the ConstantLine class with the specified name and time-span value.
ConstantLine(String)Initializes a new instance of the ConstantLine class with the specified name.

Properties

NameDescription
AxisValueGets or sets the constant line’s position along an axis.
AxisValueSerializableGets or sets the string value used to support serialization of the ConstantLine.AxisValue property.
CheckableInLegendSpecifies a value which determines whether to show a legend check box instead of a legend marker for a constant line.
CheckedInLegendGets or sets a value that determines whether a legend check box is checked for a constant line.
ColorGets or sets the color of a constant line.
ConstantLineID
LegendGets or sets a legend displaying a constant line legend item.
LegendNameFor internal use. Supports serialization of the SeriesBase.Legend property.
LegendTextGets or sets the text that identifies the constant line within the legend of a chart control.
LineStyleGets the constant line’s style settings.
NameGets or sets the name of the chart element. Inherited from ChartElementNamed.
RuntimeDeletionSpecifies whether a user can delete the constant line.
RuntimeMovingSpecifies whether a user can move the constant line.
RuntimeTitleEditingSpecifies whether a user can edit the constant line title.
ShowBehindGets or sets a value that specifies whether the constant line is displayed behind the other chart elements on the diagram.
ShowInLegendGets or sets a value that specifies whether the constant line is represented in the chart control’s legend.
TagGets or sets the object that contains data related to the chart element. Inherited from ChartElement.
TitleGets the constant line title‘s settings.
VisibleSpecifies whether the constant line is visible.

Methods

NameDescription
Assign(ChartElement)Copies all the settings from the ConstantLine object passed as the parameter.
Clone()Creates a copy of the current ChartElement object. Inherited from ChartElement.
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

ConstantLine Class

DevExpress.XtraCharts Namespace