public interface IsLinearTick extends IsNumericTick
Modifier and Type | Method and Description |
---|---|
Axis |
getAxis()
Returns the axis instance.
|
default int |
getCount()
Returns the number of ticks to generate.
If specified, this overrides the automatic generation. |
default CountCallback |
getCountCallback()
Returns the count callback instance.
|
default int |
getMaxTicksLimit()
Returns the maximum number of ticks and grid to show.
|
default MaxTicksLimitCallback |
getMaxTicksLimitCallback()
Returns the maxTicksLimit callback instance.
|
default int |
getPrecision()
If defined and stepSize is not specified, the step size will be rounded to this many decimal places.
|
default PrecisionCallback |
getPrecisionCallback()
Returns the precision callback instance.
|
default double |
getStepSize()
Returns the user defined fixed step size for the scale.
|
default StepSizeCallback |
getStepSizeCallback()
Returns the stepSize callback instance.
|
org.pepstock.charba.client.configuration.LinearTickOptionsHandler |
getTickOptionsHandler()
Returns the linear tick options handler instance, for callbacks.
|
default void |
setCount(CountCallback countCallback)
Sets the count callback instance.
|
default void |
setCount(int count)
Sets the number of ticks to generate.
If specified, this overrides the automatic generation. |
default void |
setCount(NativeCallback countCallback)
Sets the count callback instance.
|
default void |
setMaxTicksLimit(int maxTicksLimit)
Sets the maximum number of ticks and grid to show.
|
default void |
setMaxTicksLimit(MaxTicksLimitCallback maxTicksLimitCallback)
Sets the maxTicksLimit callback instance.
|
default void |
setMaxTicksLimit(NativeCallback maxTicksLimitCallback)
Sets the maxTicksLimit callback instance.
|
default void |
setPrecision(int precision)
If defined and stepSize is not specified, the step size will be rounded to this many decimal places.
|
default void |
setPrecision(NativeCallback precisionCallback)
Sets the precision callback instance.
|
default void |
setPrecision(PrecisionCallback precisionCallback)
Sets the precision callback instance.
|
default void |
setStepSize(double stepSize)
Sets the user defined fixed step size for the scale.
|
default void |
setStepSize(NativeCallback stepSizeCallback)
Sets the stepSize callback instance.
|
default void |
setStepSize(StepSizeCallback stepSizeCallback)
Sets the stepSize callback instance.
|
getNumberFormat, getNumberFormatCallback, setNumberFormat, setNumberFormat
Axis getAxis()
org.pepstock.charba.client.configuration.LinearTickOptionsHandler getTickOptionsHandler()
getTickOptionsHandler
in interface IsNumericTick
default void setCount(int count)
count
- the number of ticks to generate.default int getCount()
default void setMaxTicksLimit(int maxTicksLimit)
maxTicksLimit
- maximum number of ticks and grid to show.default int getMaxTicksLimit()
default void setStepSize(double stepSize)
stepSize
- user defined fixed step size for the scale.default double getStepSize()
default void setPrecision(int precision)
precision
- if defined and stepSize is not specified, the step size will be rounded to this many decimal places.default int getPrecision()
default CountCallback getCountCallback()
default void setCount(CountCallback countCallback)
countCallback
- the count callback instancedefault void setCount(NativeCallback countCallback)
countCallback
- the count callback instancedefault MaxTicksLimitCallback getMaxTicksLimitCallback()
default void setMaxTicksLimit(MaxTicksLimitCallback maxTicksLimitCallback)
maxTicksLimitCallback
- the maxTicksLimit callback instancedefault void setMaxTicksLimit(NativeCallback maxTicksLimitCallback)
maxTicksLimitCallback
- the maxTicksLimit callback instancedefault PrecisionCallback getPrecisionCallback()
default void setPrecision(PrecisionCallback precisionCallback)
precisionCallback
- the precision callback instancedefault void setPrecision(NativeCallback precisionCallback)
precisionCallback
- the precision callback instancedefault StepSizeCallback getStepSizeCallback()
default void setStepSize(StepSizeCallback stepSizeCallback)
stepSizeCallback
- the stepSize callback instancedefault void setStepSize(NativeCallback stepSizeCallback)
stepSizeCallback
- the stepSize callback instance