API Reference
ApexBarOptions
Represents bar chart specific options.
Inheritance
- Object
- ApexBarOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ApexBarOptions.BarHeightValue
- Method ApexBarOptions.BorderRadiusApplicationValue
- Method ApexBarOptions.BorderRadiusValue
- Method ApexBarOptions.BorderRadiusWhenStackedValue
- Method ApexBarOptions.ColumnWidthValue
- Method ApexBarOptions.DistributedValue
- Method ApexBarOptions.HorizontalValue
- Method ApexBarOptions.IsFunnel
- Method ApexBarOptions.StackedValue
- Property ApexPlotOptions.Bar
Accepted by parameters
- Method ApexPlotOptions.BarOptions
Constructors
public ApexBarOptions() #Methods
public ApexBarOptions BarHeightValue(String height) #ApexBarOptionsSets the bar height.
Parameters
- height System.String
public ApexBarOptions BorderRadiusApplicationValue(String application) #ApexBarOptionsSets which side of the bar receives the border radius.
Parameters
- application System.String
public ApexBarOptions BorderRadiusValue(Int32 radius) #ApexBarOptionsSets the border radius.
Parameters
- radius System.Int32
public ApexBarOptions BorderRadiusWhenStackedValue(String whenStacked) #ApexBarOptionsSets how radius is applied when bars are stacked.
Parameters
- whenStacked System.String
public ApexBarOptions ColumnWidthValue(String width) #ApexBarOptionsSets the column width.
Parameters
- width System.String
public ApexBarOptions DistributedValue(Boolean distributed) #ApexBarOptionsSets whether bars are distributed.
Parameters
- distributed System.Boolean
public ApexBarOptions HorizontalValue(Boolean horizontal) #ApexBarOptionsSets whether the bar chart is horizontal.
Parameters
- horizontal System.Boolean
public ApexBarOptions IsFunnel(Boolean isFunnel) #ApexBarOptionsSets whether this is a funnel chart.
Parameters
- isFunnel System.Boolean
public ApexBarOptions StackedValue(Boolean stacked) #ApexBarOptionsSets whether the bar chart should be stacked. This is mapped to chart.stacked at render time.
Parameters
- stacked System.Boolean
Inherited Methods
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 BorderRadiusApplication { get; set; } #JsonPropertyName("borderRadiusApplication")Gets or sets which side of the bar receives the border radius. ApexCharts accepts values such as around and end.
public String BorderRadiusWhenStacked { get; set; } #JsonPropertyName("borderRadiusWhenStacked")Gets or sets how radius is applied when bars are stacked. ApexCharts accepts values such as all and last.
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.