API Reference
Class
ApexLegendOptions
Options controlling the chart legend display when rendering ApexCharts graphs.
Inheritance
- Object
- ApexLegendOptions
Constructors
public ApexLegendOptions() #Methods
public ApexLegendOptions Position(ApexPosition position) #Returns:
ApexLegendOptionsSets the legend position.
Parameters
- position HtmlForgeX.ApexPosition
- The position.
Returns
The current ApexLegendOptions instance.
public ApexLegendOptions SetFloating(Boolean floating) #Returns:
ApexLegendOptionsSets whether the legend is floating.
Parameters
- floating System.Boolean
- Whether the legend should float.
Returns
The current ApexLegendOptions instance.
public ApexLegendOptions SetFontSize(String size) #Returns:
ApexLegendOptionsSets the font size.
Parameters
- size System.String
- The font size.
Returns
The current ApexLegendOptions instance.
public ApexLegendOptions SetHorizontalAlign(String align) #Returns:
ApexLegendOptionsSets the horizontal alignment.
Parameters
- align System.String
- The alignment (center, left, right).
Returns
The current ApexLegendOptions instance.
public ApexLegendOptions ShowLegend(Boolean value) #Returns:
ApexLegendOptionsEnables or disables the legend.
Parameters
- value System.Boolean
- Whether to show the legend.
Returns
The current ApexLegendOptions instance.
Inherited Methods
Properties
public Nullable<Boolean> Show { get; set; } #JsonPropertyName("show") JsonIgnore(Condition = 3)Gets or sets a value indicating whether the legend is visible.
public Nullable<ApexPosition> LegendPosition { get; set; } #JsonPropertyName("position") JsonIgnore(Condition = 3) JsonConverter(typeof(ApexEnumConverter<ApexPosition>))Gets or sets the legend position.
public Nullable<Boolean> Floating { get; set; } #JsonPropertyName("floating") JsonIgnore(Condition = 3)Gets or sets whether the legend is floating.
public String HorizontalAlign { get; set; } #JsonPropertyName("horizontalAlign") JsonIgnore(Condition = 3)Gets or sets the horizontal alignment.
public String FontSize { get; set; } #JsonPropertyName("fontSize") JsonIgnore(Condition = 3)Gets or sets the font size.