Class RadialLinearTicks
java.lang.Object
software.xdev.chartjs.model.options.ticks.Ticks<RadialLinearTicks>
software.xdev.chartjs.model.options.ticks.RadialLinearTicks
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Color
Default'rgba(255, 255, 255, 0.75)'
protected BigDecimal
Default2
protected BigDecimal
Default2
protected Boolean
Default-
protected BigDecimal
Default-
protected BigDecimal
Default-
protected BigDecimal
Default11
protected BigDecimal
Default-
protected Boolean
Defaulttrue
protected BigDecimal
Default-
protected BigDecimal
Default-
protected BigDecimal
Default-
Fields inherited from class software.xdev.chartjs.model.options.ticks.Ticks
autoSkip, autoSkipPadding, callback, display, fontColor, fontFamily, fontSize, fontStyle, labelOffset, maxRotation, minRotation, mirror, padding, reverse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMax()
getMin()
setBackdropColor
(Color backdropColor) Color of label backdropssetBackdropPaddingX
(BigDecimal backdropPaddingX) Horizontal padding of label backdropsetBackdropPaddingY
(BigDecimal backdropPaddingY) Vertical padding of label backdropsetBeginAtZero
(Boolean beginAtZero) if true, scale will inclulde 0 if it is not already included.setFixedStepSize
(BigDecimal fixedStepSize) User defined fixed step size for the scale.setMax
(BigDecimal max) User defined maximum number for the scale, overrides maximum value from data.setMaxTicksLimit
(BigDecimal maxTicksLimit) Maximum number of ticks and gridlines to show.setMin
(BigDecimal min) User defined minimum number for the scale, overrides minimum value from data.setShowLabelBackdrop
(Boolean showLabelBackdrop) If true, draw a background behind the tick labelssetStepSize
(BigDecimal stepSize) if defined, it can be used along with the min and the max to give a custom number of steps.setSuggestedMax
(BigDecimal suggestedMax) User defined maximum number for the scale, overrides maximum value except for if it is lower than the maximum value.setSuggestedMin
(BigDecimal suggestedMin) User defined minimum number for the scale, overrides minimum value except for if it is higher than the minimum value.Methods inherited from class software.xdev.chartjs.model.options.ticks.Ticks
getAutoSkip, getAutoSkipPadding, getCallback, getDisplay, getFontColor, getFontFamily, getFontSize, getFontStyle, getLabelOffset, getMaxRotation, getMinRotation, getMirror, getPadding, getReverse, setAutoSkip, setAutoSkipPadding, setCallback, setDisplay, setFontColor, setFontFamily, setFontSize, setFontStyle, setLabelOffset, setMaxRotation, setMinRotation, setMirror, setPadding, setReverse
-
Field Details
-
backdropColor
Default'rgba(255, 255, 255, 0.75)'
- See Also:
-
backdropPaddingX
Default2
-
backdropPaddingY
Default2
-
beginAtZero
Default-
- See Also:
-
min
Default-
- See Also:
-
max
Default-
- See Also:
-
maxTicksLimit
Default11
-
showLabelBackdrop
Defaulttrue
-
fixedStepSize
Default-
- See Also:
-
stepSize
Default-
- See Also:
-
suggestedMax
Default-
- See Also:
-
suggestedMin
Default-
- See Also:
-
-
Constructor Details
-
RadialLinearTicks
public RadialLinearTicks()
-
-
Method Details
-
getBackdropColor
- See Also:
-
setBackdropColor
Color of label backdrops -
getBackdropPaddingX
-
setBackdropPaddingX
Horizontal padding of label backdrop -
getBackdropPaddingY
-
setBackdropPaddingY
Vertical padding of label backdrop -
getBeginAtZero
- See Also:
-
setBeginAtZero
if true, scale will inclulde 0 if it is not already included. -
getMin
- See Also:
-
setMin
User defined minimum number for the scale, overrides minimum value from data. -
getMax
- See Also:
-
setMax
User defined maximum number for the scale, overrides maximum value from data. -
getMaxTicksLimit
-
setMaxTicksLimit
Maximum number of ticks and gridlines to show. If not defined, it will limit to 11 ticks but will show all gridlines. -
getShowLabelBackdrop
-
setShowLabelBackdrop
If true, draw a background behind the tick labels -
getFixedStepSize
- See Also:
-
setFixedStepSize
User defined fixed step size for the scale. If set, the scale ticks will be enumerated by multiple of stepSize, having one tick per increment. If not set, the ticks are labeled automatically using the nice numbers algorithm. -
getStepSize
- See Also:
-
setStepSize
if defined, it can be used along with the min and the max to give a custom number of steps. See the example below. -
getSuggestedMax
- See Also:
-
setSuggestedMax
User defined maximum number for the scale, overrides maximum value except for if it is lower than the maximum value. -
getSuggestedMin
- See Also:
-
setSuggestedMin
User defined minimum number for the scale, overrides minimum value except for if it is higher than the minimum value.
-