public class CartesianLinearTicks extends CartesianTicks
CartesianTicks
Constructor and Description |
---|
CartesianLinearTicks() |
Modifier and Type | Method and Description |
---|---|
String |
encode()
Write the options of cartesian linear ticks
|
Number |
getMax()
Gets the max
|
Number |
getMaxTicksLimit()
Gets the maxTicksLimit
|
Number |
getMin()
Gets the min
|
Number |
getPrecision()
If defined and stepSize is not specified, the step size will be rounded to this many decimal places.
|
Number |
getStepSize()
Gets the stepSize
|
Number |
getSuggestedMax()
Gets the suggestedMax
|
Number |
getSuggestedMin()
Gets the suggestedMin
|
boolean |
isBeginAtZero()
Gets the beginAtZero
|
void |
setBeginAtZero(boolean beginAtZero)
Sets the beginAtZero
|
void |
setMax(Number max)
Sets the max
|
void |
setMaxTicksLimit(Number maxTicksLimit)
Sets the maxTicksLimit
|
void |
setMin(Number min)
Sets the min
|
void |
setPrecision(Number precision)
If defined and stepSize is not specified, the step size will be rounded to this many decimal places.
|
void |
setStepSize(Number stepSize)
Sets the stepSize
|
void |
setSuggestedMax(Number suggestedMax)
Sets the suggestedMax
|
void |
setSuggestedMin(Number suggestedMin)
Sets the suggestedMin
|
getAutoSkipPadding, getLabelOffset, getMaxRotation, getMinRotation, getPadding, isAutoSkip, isMirror, setAutoSkip, setAutoSkipPadding, setLabelOffset, setMaxRotation, setMinRotation, setMirror, setPadding
public boolean isBeginAtZero()
public void setBeginAtZero(boolean beginAtZero)
beginAtZero
- if true, scale will include 0 if it is not already included.public Number getMin()
public void setMin(Number min)
min
- User defined minimum number for the scale, overrides minimum value from data.public Number getMax()
public void setMax(Number max)
max
- User defined maximum number for the scale, overrides maximum value from data.public Number getMaxTicksLimit()
public void setMaxTicksLimit(Number maxTicksLimit)
maxTicksLimit
- Maximum number of ticks and gridlines to show.public Number getPrecision()
public void setPrecision(Number precision)
precision
- User defined precision for the scale.public Number getStepSize()
public void setStepSize(Number stepSize)
stepSize
- User defined fixed step size for the scale.public Number getSuggestedMax()
public void setSuggestedMax(Number suggestedMax)
suggestedMax
- Adjustment used when calculating the maximum data value.public Number getSuggestedMin()
public void setSuggestedMin(Number suggestedMin)
suggestedMin
- Adjustment used when calculating the minimum data value.public String encode() throws IOException
encode
in class CartesianTicks
IOException
- If an I/O error occursCopyright © 2020. All rights reserved.