API Reference
Class
ApexDataLabelsOptions
Represents data labels configuration options for ApexCharts.
Inheritance
- Object
- ApexDataLabelsOptions
Constructors
public ApexDataLabelsOptions() #Methods
public ApexDataLabelsOptions Anchor(ApexTextAnchor anchor) #Returns:
ApexDataLabelsOptionsSets the text anchor position.
Parameters
- anchor HtmlForgeX.ApexTextAnchor
public ApexDataLabelsOptions Enable(Boolean enabled) #Returns:
ApexDataLabelsOptionsEnables or disables data labels.
Parameters
- enabled System.Boolean
public ApexDataLabelsOptions Offset(Int32 x, Int32 y) #Returns:
ApexDataLabelsOptionsSets the offset position.
Parameters
- x System.Int32
- y System.Int32
public ApexDataLabelsOptions SetFormatter(String formatter) #Returns:
ApexDataLabelsOptionsSets a custom formatter function.
Parameters
- formatter System.String
public ApexDataLabelsOptions SetStyle(Action<ApexTextStyle> configure) #Returns:
ApexDataLabelsOptionsConfigures the label style.
Parameters
- configure System.Action{HtmlForgeX.ApexTextStyle}
Inherited Methods
Properties
public Nullable<Boolean> Enabled { get; set; } #JsonPropertyName("enabled")Gets or sets whether data labels are enabled.
public Nullable<ApexTextAnchor> TextAnchor { get; set; } #JsonPropertyName("textAnchor") JsonConverter(typeof(ApexEnumConverter<ApexTextAnchor>))Gets or sets the text anchor position.
public ApexTextStyle Style { get; set; } #JsonPropertyName("style")Gets or sets the style configuration.
public Nullable<Int32> OffsetX { get; set; } #JsonPropertyName("offsetX")Gets or sets the offset X position.
public Nullable<Int32> OffsetY { get; set; } #JsonPropertyName("offsetY")Gets or sets the offset Y position.
public String Formatter { get; set; } #JsonPropertyName("formatter")Gets or sets the formatter function as a string.