Skip to main content

ChartSeriesLabelBuilder Members

Provides methods that allow you to configure nested options of the client-side label object.

Constructors

Name Description
ChartSeriesLabelBuilder(OptionsOwnerContext) For internal use only. Initializes a new ChartSeriesLabelBuilder class instance.

Methods

Name Description
Alignment(HorizontalAlignment) Aligns point labels in relation to their points. Mirrors the client-side alignment option.
ArgumentFormat(Format) Formats the point argument before it is displayed in the point label. To format the point value, use the format property. Mirrors the client-side argumentFormat option.
ArgumentFormat(JS) Formats the point argument before it is displayed in the point label. To format the point value, use the format property. Mirrors the client-side argumentFormat option.
ArgumentFormat(Action<FormatBuilder>) Formats the point argument before it is displayed in the point label. To format the point value, use the format property. Mirrors the client-side argumentFormat object.
ArgumentFormat(String) Formats the point argument before it is displayed in the point label. To format the point value, use the format property. Mirrors the client-side argumentFormat option.
BackgroundColor(JS) Colors the point labels' background. The default color is inherited from the points. Mirrors the client-side backgroundColor option.
BackgroundColor(String) Colors the point labels' background. The default color is inherited from the points. Mirrors the client-side backgroundColor option.
Border(Action<ChartSeriesLabelBorderBuilder>) Configures the borders of point labels. Mirrors the client-side border object.
Connector(Action<ChartSeriesLabelConnectorBuilder>) Configures the label connectors. Mirrors the client-side connector object.
CustomizeText(RazorBlock) Customizes text displayed by point labels. Mirrors the client-side customizeText option.
CustomizeText(String) Customizes text displayed by point labels. Mirrors the client-side customizeText option.
DisplayFormat(JS) Specifies the label's text. Mirrors the client-side displayFormat option.
DisplayFormat(String) Specifies the label's text. Mirrors the client-side displayFormat 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.
Font(Action<VizFontBuilder>) Specifies font properties for point labels. Mirrors the client-side font object.
Format(Format) Formats the point value before it is displayed in the point label. Mirrors the client-side format option.
Format(JS) Formats the point value before it is displayed in the point label. Mirrors the client-side format option.
Format(Action<FormatBuilder>) Formats the point value before it is displayed in the point label. Mirrors the client-side format object.
Format(String) Formats the point value before it is displayed in the point label. Mirrors the client-side format option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
HorizontalOffset(JS) Along with verticalOffset, shifts point labels from their initial positions. Mirrors the client-side horizontalOffset option.
HorizontalOffset(Double) Along with verticalOffset, shifts point labels from their initial positions. Mirrors the client-side horizontalOffset option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
Position(RelativePosition) Specifies whether to display point labels inside or outside of series points. Applies only to bubble, range-like and bar-like series. Mirrors the client-side position option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RotationAngle(JS) Rotates point labels. Mirrors the client-side rotationAngle option.
RotationAngle(Double) Rotates point labels. Mirrors the client-side rotationAngle option.
ShowForZeroValues(JS) Specifies whether or not to show labels for points with zero value. Applies only to bar-like series. Mirrors the client-side showForZeroValues option.
ShowForZeroValues(Boolean) Specifies whether or not to show labels for points with zero value. Applies only to bar-like series. Mirrors the client-side showForZeroValues option.
ToString() Returns a string that represents the current object. Inherited from Object.
VerticalOffset(JS) Along with horizontalOffset, shifts point labels from their initial positions. Mirrors the client-side verticalOffset option.
VerticalOffset(Double) Along with horizontalOffset, shifts point labels from their initial positions. Mirrors the client-side verticalOffset option.
Visible(JS) Makes the point labels visible. Mirrors the client-side visible option.
Visible(Boolean) Makes the point labels visible. Mirrors the client-side visible option.
See Also