Constructor and Description |
---|
XAxis() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getBarPercentage() |
BigDecimal |
getBarThickness() |
BigDecimal |
getCategoryPercentage() |
Boolean |
getDisplay() |
GridLines |
getGridLines() |
String |
getId() |
BigDecimal |
getMaxBarThickness() |
Boolean |
getStacked() |
T |
getTicks() |
String |
getType() |
XAxis<T> |
setBarPercentage(BigDecimal barPercentage)
Percent (0-1) of the available width each bar should be within the category percentage.
|
XAxis<T> |
setBarThickness(BigDecimal barThickness)
Manually set width of each bar in pixels.
|
XAxis<T> |
setCategoryPercentage(BigDecimal categoryPercentage)
Percent (0-1) of the available width (the space between the gridlines for small datasets) for
each data-point to use for the bars.
|
XAxis<T> |
setDisplay(Boolean display)
If true, show the scale.
|
XAxis<T> |
setGridLines(GridLines gridLines)
If true, the bars for a particular data point fall between the grid lines.
|
XAxis<T> |
setId(String id)
Id of the axis so that data can bind to it
|
XAxis<T> |
setMaxBarThickness(BigDecimal maxBarThickness)
Set this to ensure that bars are not sized thicker than this.
|
XAxis<T> |
setStacked(Boolean stacked)
If true, bars are stacked on the x-axis
|
XAxis<T> |
setTicks(T ticks)
Defines options for the tick marks that are generated by the axis
|
XAxis<T> |
setType(String type)
As defined in Scales.
|
public T getTicks()
setTicks(Ticks)
public XAxis<T> setTicks(T ticks)
public String getType()
setType(String type)
public Boolean getDisplay()
setDisplay(Boolean display)
public String getId()
setId(String id)
public Boolean getStacked()
setStacked(Boolean stacked)
public BigDecimal getCategoryPercentage()
public XAxis<T> setCategoryPercentage(BigDecimal categoryPercentage)
public BigDecimal getBarPercentage()
public XAxis<T> setBarPercentage(BigDecimal barPercentage)
public BigDecimal getBarThickness()
setBarThickness(BigDecimal)
public XAxis<T> setBarThickness(BigDecimal barThickness)
public BigDecimal getMaxBarThickness()
setGridLines(GridLines gridLines)
public XAxis<T> setMaxBarThickness(BigDecimal maxBarThickness)
public GridLines getGridLines()
setGridLines(GridLines gridLines)
Copyright © 2018. All rights reserved.