public class RadialLinearTick extends Object implements IsLinearTick
Modifier and Type | Method and Description |
---|---|
Axis |
getAxis()
Returns the axis instance.
|
IsColor |
getBackdropColor()
Returns the color of label backdrops.
|
String |
getBackdropColorAsString()
Returns the color of label backdrops.
|
int |
getBackdropPaddingX()
Returns the horizontal padding of label backdrop.
|
int |
getBackdropPaddingY()
Returns the vertical padding of label backdrop.
|
TickCallback |
getCallback()
Returns the user callback instance.
|
IsColor |
getFontColor()
Returns the font color for tick
|
String |
getFontColorAsString()
Returns the font color for tick
|
String |
getFontFamily()
Returns the font family for the tick, follows CSS font-family options.
|
int |
getFontSize()
Returns the font size for tick.
|
FontStyle |
getFontStyle()
Returns the font style for the tick, follows CSS font-style options (i.e.
|
double |
getLineHeight()
Returns the height of an individual line of text.
|
String |
getLineHeightAsString()
Returns the height of an individual line of text.
|
org.pepstock.charba.client.configuration.BaseTick<TickMajor> |
getMajor()
Returns major tick element.
|
org.pepstock.charba.client.configuration.BaseTick<TickMinor> |
getMinor()
Returns minor tick element.
|
int |
getPrecision()
If defined and stepSize is not specified, the step size will be rounded to this many decimal places.
|
int |
getZ()
Returns z-index of tick layer.
|
boolean |
isDisplay()
If true, show tick marks
|
boolean |
isReverse()
Returns the reverses order of tick labels.
|
boolean |
isShowLabelBackdrop()
If true, draw a background behind the tick labels.
|
void |
setBackdropColor(IsColor backdropColor)
Sets the color of label backdrops.
|
void |
setBackdropColor(String backdropColor)
Sets the color of label backdrops.
|
void |
setBackdropPaddingX(int backdropPaddingX)
Sets the horizontal padding of label backdrop.
|
void |
setBackdropPaddingY(int backdropPaddingY)
Sets the vertical padding of label backdrop.
|
void |
setCallback(TickCallback callback)
Sets the user callback instance.
|
void |
setDisplay(boolean display)
If true, show tick marks.
|
void |
setFontColor(IsColor fontColor)
Sets the font color for tick
|
void |
setFontColor(String fontColor)
Sets the font color for tick
|
void |
setFontFamily(String fontFamily)
Sets the font family for the tick, follows CSS font-family options.
|
void |
setFontSize(int fontSize)
Sets the font size for tick.
|
void |
setFontStyle(FontStyle fontStyle)
Sets the font style for the tick, follows CSS font-style options (i.e.
|
void |
setLineHeight(double lineHeight)
Sets the height of an individual line of text.
|
void |
setLineHeight(String lineHeight)
Sets the height of an individual line of text.
|
void |
setPrecision(int precision)
If defined and stepSize is not specified, the step size will be rounded to this many decimal places.
|
void |
setReverse(boolean reverse)
Sets the reverses order of tick labels.
|
void |
setShowLabelBackdrop(boolean showLabelBackdrop)
If true, draw a background behind the tick labels.
|
void |
setZ(int z)
Sets z-index of tick layer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAxis, getMax, getMaxTicksLimit, getMin, getStepSize, getSuggestedMax, getSuggestedMin, isBeginAtZero, setBeginAtZero, setMax, setMaxTicksLimit, setMin, setStepSize, setSuggestedMax, setSuggestedMin
public void setBackdropColor(IsColor backdropColor)
backdropColor
- color of label backdrops.public void setBackdropColor(String backdropColor)
backdropColor
- color of label backdrops.public String getBackdropColorAsString()
public IsColor getBackdropColor()
public void setBackdropPaddingX(int backdropPaddingX)
backdropPaddingX
- horizontal padding of label backdrop.public int getBackdropPaddingX()
public void setBackdropPaddingY(int backdropPaddingY)
backdropPaddingY
- vertical padding of label backdrop.public int getBackdropPaddingY()
public void setShowLabelBackdrop(boolean showLabelBackdrop)
showLabelBackdrop
- if true, draw a background behind the tick labels.public boolean isShowLabelBackdrop()
public void setPrecision(int precision)
precision
- if defined and stepSize is not specified, the step size will be rounded to this many decimal places.public int getPrecision()
public TickCallback getCallback()
public void setCallback(TickCallback callback)
callback
- the callback to setpublic org.pepstock.charba.client.configuration.BaseTick<TickMinor> getMinor()
public org.pepstock.charba.client.configuration.BaseTick<TickMajor> getMajor()
public void setDisplay(boolean display)
display
- if true, show tick markspublic boolean isDisplay()
public void setReverse(boolean reverse)
reverse
- reverses order of tick labels.public boolean isReverse()
public void setZ(int z)
z
- z-index of tick layer. Useful when ticks are drawn on chart area. Values less than or equals to 0 are drawn under datasets, greater than 0 on top.public int getZ()
public void setFontSize(int fontSize)
fontSize
- the font size for tick.public int getFontSize()
public void setFontStyle(FontStyle fontStyle)
fontStyle
- Font style for the tick, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).public FontStyle getFontStyle()
public void setFontColor(IsColor fontColor)
fontColor
- Font color for tickpublic void setFontColor(String fontColor)
fontColor
- Font color for tickpublic String getFontColorAsString()
public IsColor getFontColor()
public void setFontFamily(String fontFamily)
fontFamily
- Font family for the tick, follows CSS font-family options.public String getFontFamily()
public void setLineHeight(double lineHeight)
lineHeight
- height of an individual line of text.public void setLineHeight(String lineHeight)
lineHeight
- height of an individual line of text.public double getLineHeight()
public String getLineHeightAsString()
public final Axis getAxis()