Skip to main content

ChartArgumentAxisLabelBuilder Methods

Provides methods that allow you to configure nested options of the client-side label object.
Name Description
Alignment(HorizontalAlignment) Aligns axis labels in relation to ticks. Mirrors the client-side alignment option.
CustomizeHint(RazorBlock) Specifies the hint that appears when a user points to an axis label. Mirrors the client-side customizeHint option.
CustomizeHint(String) Specifies the hint that appears when a user points to an axis label. Mirrors the client-side customizeHint option.
CustomizeText(RazorBlock) Customizes the text displayed by axis labels. Mirrors the client-side customizeText option.
CustomizeText(String) Customizes the text displayed by axis labels. Mirrors the client-side customizeText option.
DisplayMode(ChartLabelDisplayMode) Allows you to rotate or stagger axis labels. Applies to the horizontal axis only. Mirrors the client-side displayMode 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 axis labels. Mirrors the client-side font object.
Format(Format) Formats a value before it is displayed in an axis label. Mirrors the client-side format option.
Format(JS) Formats a value before it is displayed in an axis label. Mirrors the client-side format option.
Format(Action<FormatBuilder>) Formats a value before it is displayed in an axis label. Mirrors the client-side format object.
Format(String) Formats a value before it is displayed in an axis 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.
IndentFromAxis(JS) Adds a pixel-measured empty space between an axis and its labels. Mirrors the client-side indentFromAxis option.
IndentFromAxis(Double) Adds a pixel-measured empty space between an axis and its labels. Mirrors the client-side indentFromAxis option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Option(String, Object) Specifies an option by its name.
OverlappingBehavior(OverlappingBehavior) Decides how to arrange axis labels when there is not enough space to display all of them. Mirrors the client-side overlappingBehavior option.
Position(Position) Specifies the position of labels relative to the chart or its axis. Mirrors the client-side position option.
Position(RelativePosition) Specifies the position of labels relative to the chart or its axis. 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) Specifies the rotation angle of axis labels. Applies only if displayMode or overlappingBehavior is 'rotate'. Mirrors the client-side rotationAngle option.
RotationAngle(Double) Specifies the rotation angle of axis labels. Applies only if displayMode or overlappingBehavior is 'rotate'. Mirrors the client-side rotationAngle option.
StaggeringSpacing(JS) Adds a pixel-measured empty space between two staggered rows of axis labels. Applies only if displayMode or overlappingBehavior is 'stagger'. Mirrors the client-side staggeringSpacing option.
StaggeringSpacing(Double) Adds a pixel-measured empty space between two staggered rows of axis labels. Applies only if displayMode or overlappingBehavior is 'stagger'. Mirrors the client-side staggeringSpacing option.
Template(JS)
Template(RazorBlock)
Template(TemplateName)
Template(String)
TextOverflow(VizTextOverflow) Specifies what to do with axis labels 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) Shows/hides axis labels. Mirrors the client-side visible option.
Visible(Boolean) Shows/hides axis labels. Mirrors the client-side visible option.
WordWrap(VizWordWrap) Specifies how to wrap texts that do not fit into a single line. Mirrors the client-side wordWrap option.
See Also