HtmlForgeX

API Reference

Class

ApexAxisOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Represents axis configuration options for ApexCharts.

Inheritance

  • Object
  • ApexAxisOptions

Constructors

public ApexAxisOptions() #

Methods

public ApexAxisOptions AxisLabels(Action<ApexAxisLabels> configure) #
Returns: ApexAxisOptions

Configures the axis labels.

Parameters

configure System.Action{HtmlForgeX.ApexAxisLabels} requiredposition: 0
public ApexAxisOptions AxisTitle(Action<ApexAxisTitle> configure) #
Returns: ApexAxisOptions

Configures the axis title.

Parameters

configure System.Action{HtmlForgeX.ApexAxisTitle} requiredposition: 0
public ApexAxisOptions AxisType(ApexAxisType type) #
Returns: ApexAxisOptions

Sets the axis type.

Parameters

type HtmlForgeX.ApexAxisType requiredposition: 0
public ApexAxisOptions Range(Double min, Double max) #
Returns: ApexAxisOptions

Sets the minimum and maximum values.

Parameters

min System.Double requiredposition: 0
max System.Double requiredposition: 1
public ApexAxisOptions SetCategories(params String[] categories) #
Returns: ApexAxisOptions

Sets the categories.

Parameters

categories System.String[] requiredposition: 0
public ApexAxisOptions ShowAxis(Boolean show) #
Returns: ApexAxisOptions

Sets whether to show the axis.

Parameters

show System.Boolean requiredposition: 0

Properties

public Nullable<Boolean> Show { get; set; } #
JsonPropertyName("show")

Gets or sets whether to show the axis.

public Nullable<ApexAxisType> Type { get; set; } #
JsonPropertyName("type") JsonConverter(typeof(ApexEnumConverter<ApexAxisType>))

Gets or sets the axis type.

public String[] Categories { get; set; } #
JsonPropertyName("categories")

Gets or sets the categories for the axis.

public ApexAxisTitle Title { get; set; } #
JsonPropertyName("title")

Gets or sets the title configuration.

public ApexAxisLabels Labels { get; set; } #
JsonPropertyName("labels")

Gets or sets the labels configuration.

public Nullable<Double> Min { get; set; } #
JsonPropertyName("min")

Gets or sets the minimum value.

public Nullable<Double> Max { get; set; } #
JsonPropertyName("max")

Gets or sets the maximum value.

public Nullable<Int32> DecimalsInFloat { get; set; } #
JsonPropertyName("decimalsInFloat") JsonIgnore(Condition = 3)

Gets or sets the number of decimals to show for float values.