public class Bar extends BaseOption
Constructor and Description |
---|
Bar() |
Modifier and Type | Method and Description |
---|---|
BorderRadiusApplication |
getBorderRadiusApplication()
Whether to apply border-radius
|
List<Number> |
getBorderRadiusAsArrayNumber()
Note: This option is available since v3.26.0
|
Number |
getBorderRadiusAsNumber()
Note: This option is available since v3.26.0
|
Number |
getColumnWidthAsNumber()
In column charts, columnWidth is the percentage of the available width in the grid-rect.
|
String |
getColumnWidthAsString()
In column charts, columnWidth is the percentage of the available width in the grid-rect.
|
Boolean |
getHorizontal()
This option will turn a column chart into a horizontal bar chart.
|
Bar |
setBorderRadius(List<Number> borderRadiusAsArrayNumber)
Note: This option is available since v3.26.0
|
Bar |
setBorderRadius(Number borderRadiusAsNumber)
Note: This option is available since v3.26.0
|
Bar |
setBorderRadiusApplication(BorderRadiusApplication borderRadiusApplication)
Whether to apply border-radius
|
Bar |
setColumnWidth(Number columnWidthAsNumber)
In column charts, columnWidth is the percentage of the available width in the grid-rect.
|
Bar |
setColumnWidth(String columnWidthAsString)
In column charts, columnWidth is the percentage of the available width in the grid-rect.
|
Bar |
setHorizontal(Boolean horizontal)
This option will turn a column chart into a horizontal bar chart.
|
set_hcNulledOption
public static final Bar NULL
public List<Number> getBorderRadiusAsArrayNumber()
public Bar setBorderRadius(List<Number> borderRadiusAsArrayNumber)
borderRadiusAsArrayNumber
- the value for the borderRadiusAsArrayNumber optionpublic Number getBorderRadiusAsNumber()
public Bar setBorderRadius(Number borderRadiusAsNumber)
borderRadiusAsNumber
- the value for the borderRadiusAsNumber optionpublic BorderRadiusApplication getBorderRadiusApplication()
public Bar setBorderRadiusApplication(BorderRadiusApplication borderRadiusApplication)
borderRadiusApplication
- the value for the borderRadiusApplication optionpublic Number getColumnWidthAsNumber()
public Bar setColumnWidth(Number columnWidthAsNumber)
columnWidthAsNumber
- the value for the columnWidthAsNumber optionpublic String getColumnWidthAsString()
public Bar setColumnWidth(String columnWidthAsString)
columnWidthAsString
- the value for the columnWidthAsString optionpublic Boolean getHorizontal()
Copyright © 2024. All rights reserved.