Skip to main content

ConstantLine Members

Represents a constant line within an axis.

Constructors

Name Description
ConstantLine() Initializes a new instance of the ConstantLine class with the default settings.
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, 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

Name Description
AxisValue Gets or sets the constant line’s position along an axis.
AxisValueSerializable Gets or sets the string value used to support serialization of the ConstantLine.AxisValue property.
CheckableInLegend Specifies a value which determines whether to show a legend check box instead of a legend marker for a constant line.
CheckedInLegend Gets or sets a value that determines whether a legend check box is checked for a constant line.
Color Gets or sets the color of a constant line.
ConstantLineID
Legend Gets or sets a legend displaying a constant line legend item.
LegendName For internal use. Supports serialization of the SeriesBase.Legend property.
LegendText Gets or sets the text that identifies the constant line within the legend of a chart control.
LineStyle Gets the constant line’s style settings.
Name Gets or sets the name of the chart element. Inherited from ChartElementNamed.
RuntimeDeletion Specifies whether a user can delete the constant line.
RuntimeMoving Specifies whether a user can move the constant line.
RuntimeTitleEditing Specifies whether a user can edit the constant line title.
ShowBehind Gets or sets a value that specifies whether the constant line is displayed behind the other chart elements on the diagram.
ShowInLegend Gets or sets a value that specifies whether the constant line is represented in the chart control’s legend.
Tag Gets or sets the object that contains data related to the chart element. Inherited from ChartElement.
Title Gets the constant line title‘s settings.
Visible Specifies whether the constant line is visible.

Methods

Name Description
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) static Determines 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() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines 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