Skip to main content

PieChartSeriesLabelBuilder Methods

Provides methods that allow you to configure nested options of the client-side label object.
Name Description
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<PieChartSeriesLabelBorderBuilder>) Specifies border properties for point labels. Mirrors the client-side border object.
Connector(Action<PieChartSeriesLabelConnectorBuilder>) Specifies connector properties for series point labels. Mirrors the client-side connector object.
CustomizeText(RazorBlock) Specifies a callback function that returns the text to be displayed by point labels. Mirrors the client-side customizeText option.
CustomizeText(String) Specifies a callback function that returns the text to be displayed by point labels. Mirrors the client-side customizeText option.
DisplayFormat(JS)
DisplayFormat(String)
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 the text displayed in point labels. Mirrors the client-side font object.
Format(Format) Formats a value before it is displayed in a point label. Mirrors the client-side format option.
Format(JS) Formats a value before it is displayed in a point label. Mirrors the client-side format option.
Format(Action<FormatBuilder>) Formats a value before it is displayed in a point label. Mirrors the client-side format object.
Format(String) Formats a value before it is displayed in a 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.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
Position(PieChartLabelPosition) Specifies a label position relative to the chart. Mirrors the client-side position option.
RadialOffset(JS) Specifies how to shift labels from their initial position in a radial direction in pixels. Mirrors the client-side radialOffset option.
RadialOffset(Double) Specifies how to shift labels from their initial position in a radial direction in pixels. Mirrors the client-side radialOffset option.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RotationAngle(JS) Specifies the angle used to rotate point labels from their initial position. Mirrors the client-side rotationAngle option.
RotationAngle(Double) Specifies the angle used to rotate point labels from their initial position. Mirrors the client-side rotationAngle option.
TextOverflow(VizTextOverflow) Specifies what to do with label texts that overflow the allocated space after applying wordWrap: hide, truncate them and display an ellipsis, or do nothing. Mirrors the client-side textOverflow option.
ToString() Returns a string that represents the current object. Inherited from Object.
Visible(JS) Specifies the visibility of point labels. Mirrors the client-side visible option.
Visible(Boolean) Specifies the visibility of point labels. Mirrors the client-side visible option.
WordWrap(VizWordWrap) Specifies how to wrap label texts if they do not fit into a single line. Mirrors the client-side wordWrap option.
See Also