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 |
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 |
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, setPaddingpublic 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 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 CartesianTicksIOException - if writer is nullCopyright © 2018. All rights reserved.