Skip to main content

ChartValueAxisConstantLineBuilder Methods

Represents a constant line.
Name Description
Color(JS) Specifies the color of constant lines. Mirrors the client-side color option.
Color(String) Specifies the color of constant lines. Mirrors the client-side color option.
DashStyle(DashStyle[]) Specifies the dash style of constant lines. Mirrors the client-side dashStyle option.
DisplayBehindSeries(JS) Specifies whether to display the constant line behind or in front of the series. Mirrors the client-side displayBehindSeries option.
DisplayBehindSeries(Boolean) Specifies whether to display the constant line behind or in front of the series. Mirrors the client-side displayBehindSeries option.
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.
ExtendAxis(JS) Specifies whether to extend the axis's default visual range to display the constant line. Mirrors the client-side extendAxis option.
ExtendAxis(Boolean) Specifies whether to extend the axis's default visual range to display the constant line. Mirrors the client-side extendAxis option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Label(Action<ChartValueAxisConstantLinesLabelBuilder>) Configures the constant line label. Mirrors the client-side label object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
PaddingLeftRight(JS) Generates a pixel-measured empty space between the left/right side of a constant line and the constant line label. Mirrors the client-side paddingLeftRight option.
PaddingLeftRight(Double) Generates a pixel-measured empty space between the left/right side of a constant line and the constant line label. Mirrors the client-side paddingLeftRight option.
PaddingTopBottom(JS) Generates a pixel-measured empty space between the top/bottom side of a constant line and the constant line label. Mirrors the client-side paddingTopBottom option.
PaddingTopBottom(Double) Generates a pixel-measured empty space between the top/bottom side of a constant line and the constant line label. Mirrors the client-side paddingTopBottom option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
Value(JS) Specifies the value indicated by a constant line. Setting this property is necessary. Mirrors the client-side value option.
Value(DateTime) Specifies the value indicated by a constant line. Setting this property is necessary. Mirrors the client-side value option.
Value(Double) Specifies the value indicated by a constant line. Setting this property is necessary. Mirrors the client-side value option.
Value(String) Specifies the value indicated by a constant line. Setting this property is necessary. Mirrors the client-side value option.
Width(JS) Specifies the width of constant lines in pixels. Mirrors the client-side width option.
Width(Double) Specifies the width of constant lines in pixels. Mirrors the client-side width option.
See Also