HtmlForgeX

API Reference

Class

ApexBarOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Represents bar chart specific options.

Inheritance

  • Object
  • ApexBarOptions

Constructors

public ApexBarOptions() #

Methods

public ApexBarOptions BarHeightValue(String height) #
Returns: ApexBarOptions

Sets the bar height.

Parameters

height System.String requiredposition: 0
public ApexBarOptions BorderRadiusValue(Int32 radius) #
Returns: ApexBarOptions

Sets the border radius.

Parameters

radius System.Int32 requiredposition: 0
public ApexBarOptions ColumnWidthValue(String width) #
Returns: ApexBarOptions

Sets the column width.

Parameters

width System.String requiredposition: 0
public ApexBarOptions DistributedValue(Boolean distributed) #
Returns: ApexBarOptions

Sets whether bars are distributed.

Parameters

distributed System.Boolean requiredposition: 0
public ApexBarOptions HorizontalValue(Boolean horizontal) #
Returns: ApexBarOptions

Sets whether the bar chart is horizontal.

Parameters

horizontal System.Boolean requiredposition: 0
public ApexBarOptions IsFunnel(Boolean isFunnel) #
Returns: ApexBarOptions

Sets whether this is a funnel chart.

Parameters

isFunnel System.Boolean requiredposition: 0
public ApexBarOptions StackedValue(Boolean stacked) #
Returns: ApexBarOptions

Sets whether the bar chart should be stacked. This is mapped to chart.stacked at render time.

Parameters

stacked System.Boolean requiredposition: 0

Properties

public Nullable<Boolean> Horizontal { get; set; } #
JsonPropertyName("horizontal")

Gets or sets whether the bar chart is horizontal.

public Nullable<Int32> BorderRadius { get; set; } #
JsonPropertyName("borderRadius")

Gets or sets the border radius.

public String ColumnWidth { get; set; } #
JsonPropertyName("columnWidth")

Gets or sets the column width percentage.

public String BarHeight { get; set; } #
JsonPropertyName("barHeight")

Gets or sets the bar height percentage.

public Nullable<Boolean> Distributed { get; set; } #
JsonPropertyName("distributed")

Gets or sets whether bars are distributed.

public ApexBarDataLabels DataLabels { get; set; } #
JsonPropertyName("dataLabels")

Gets or sets the data labels position.

public Nullable<Boolean> Stacked { get; set; } #
JsonPropertyName("stacked")

Gets or sets whether bars should be stacked. Note: In ApexCharts, stacking is a chart-level option. This flag is provided for fluent discoverability and is propagated to chart.stacked during rendering.

public Nullable<Boolean> IsFunnelChart { get; set; } #
JsonPropertyName("isFunnel")

Gets or sets whether this is a funnel chart.