public interface IsDefaultTicks extends IsDefaultFontContainer
Modifier and Type | Method and Description |
---|---|
ElementAlign |
getAlign()
Returns the tick alignment along the axis.
|
int |
getAutoSkipPadding()
Returns the padding between the ticks on the horizontal axis when autoSkip is enabled.
|
String |
getBackdropColorAsString()
Returns the color of label backdrops.
|
IsDefaultPadding |
getBackdropPadding()
Returns the padding of label backdrop.
|
int |
getCount()
Returns the number of ticks to generate.
If specified, this overrides the automatic generation. |
CrossAlign |
getCrossAlign()
Returns the tick alignment perpendicular to the axis.
|
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. |
IsDefaultMajor |
getMajor()
Returns the major tick defaults.
|
int |
getMaxRotation()
Returns the maximum rotation for tick labels when rotating to condense labels.
|
int |
getMaxTicksLimit()
Returns the maximum number of ticks and grid to show.
|
int |
getMinRotation()
Returns the minimum rotation for tick labels.
|
IsDefaultNumberFormatOptions |
getNumberFormat()
Returns the number formatting options.
|
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.
|
String |
getTextStrokeColorAsString()
Returns the text stroke color as string.
|
int |
getTextStrokeWidth()
Returns the text stroke width.
|
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 |
isDisplay()
If true, show tick marks
|
boolean |
isIncludeBounds()
If
true , the defined minimum and maximum values should be presented as ticks even if they are not "nice". |
boolean |
isMirror()
Returns the flips tick labels around axis, displaying the labels inside the chart instead of outside.
|
boolean |
isShowLabelBackdrop()
If true, draw a background behind the tick labels.
|
getColorAsString, getFont
IsDefaultMajor getMajor()
IsDefaultNumberFormatOptions getNumberFormat()
boolean isDisplay()
boolean isAutoSkip()
int getAutoSkipPadding()
boolean isIncludeBounds()
true
, the defined minimum and maximum values should be presented as ticks even if they are not "nice".true
, the defined min and maximum values should be presented as ticks even if they are not "nice"int getLabelOffset()
int getCount()
int getMaxRotation()
int getMinRotation()
boolean isMirror()
int getPadding()
int getMaxTicksLimit()
double getStepSize()
String getBackdropColorAsString()
IsDefaultPadding getBackdropPadding()
boolean isShowLabelBackdrop()
TickSource getSource()
int getPrecision()
int getZ()
int getSampleSize()
ElementAlign getAlign()
CrossAlign getCrossAlign()
String getTextStrokeColorAsString()
int getTextStrokeWidth()