public interface IsDefaultTicks extends IsDefaultBaseTick
Modifier and Type | Method and Description |
---|---|
int |
getAutoSkipPadding()
Returns the padding between the ticks on the horizontal axis when autoSkip is enabled.
|
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.
|
int |
getLabelOffset()
Returns the distance in pixels to offset the label from the center point of the tick (in the y direction for the x axis, and the x direction for the y axis).
Note: this can cause labels at the edges to be cropped by the edge of the canvas. |
IsDefaultMajorTick |
getMajor()
Returns the major tick defaults.
|
double |
getMax()
Returns the user defined maximum number for the scale, overrides maximum value from data.
|
int |
getMaxRotation()
Returns the maximum rotation for tick labels when rotating to condense labels.
|
int |
getMaxTicksLimit()
Returns the maximum number of ticks and gridlines to show.
|
double |
getMin()
Returns the user defined minimum number for the scale, overrides minimum value from data.
|
IsDefaultMinorTick |
getMinor()
Returns the minor tick defaults.
|
int |
getMinRotation()
Returns the minimum rotation for tick labels.
|
int |
getPadding()
Returns the padding between the tick label and the axis.
|
int |
getPrecision()
If defined and stepSize is not specified, the step size will be rounded to this many decimal places.
|
int |
getSampleSize()
Returns the number of ticks to examine when deciding how many labels will fit.
Setting a smaller value will be faster, but may be less accurate when there is large variability in label length. |
TickSource |
getSource()
Returns the property controls the ticks generation.
|
double |
getStepSize()
Returns the user defined fixed step size for the scale.
|
double |
getSuggestedMax()
Returns the adjustment used when calculating the maximum data value.
|
double |
getSuggestedMin()
Returns the adjustment used when calculating the minimum data value.
|
int |
getZ()
Returns z-index of tick layer.
|
boolean |
isAutoSkip()
If true, automatically calculates how many labels that can be shown and hides labels accordingly.
|
boolean |
isBeginAtZero()
If true, scale will include 0 if it is not already included.
|
boolean |
isDisplay()
If true, show tick marks
|
boolean |
isMirror()
Returns the flips tick labels around axis, displaying the labels inside the chart instead of outside.
|
boolean |
isReverse()
Returns the reverses order of tick labels.
|
boolean |
isShowLabelBackdrop()
If true, draw a background behind the tick labels.
|
getLineHeight
getFontColorAsString, getFontFamily, getFontSize, getFontStyle
IsDefaultMinorTick getMinor()
IsDefaultMajorTick getMajor()
boolean isBeginAtZero()
boolean isDisplay()
boolean isReverse()
boolean isAutoSkip()
int getAutoSkipPadding()
int getLabelOffset()
int getMaxRotation()
int getMinRotation()
boolean isMirror()
int getPadding()
double getMin()
double getMax()
int getMaxTicksLimit()
double getStepSize()
double getSuggestedMax()
double getSuggestedMin()
String getBackdropColorAsString()
int getBackdropPaddingX()
int getBackdropPaddingY()
boolean isShowLabelBackdrop()
TickSource getSource()
int getPrecision()
int getZ()
int getSampleSize()