Q
- The colour representation of an axis.public class AxisConfig<Q> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AxisConfig.AxisRenderingConfig<Q> |
Constructor and Description |
---|
AxisConfig() |
Modifier and Type | Method and Description |
---|---|
double[] |
getLocation() |
double |
getMaxValue() |
double |
getMinValue() |
String |
getName() |
double[] |
getOrientation() |
AxisConfig.AxisRenderingConfig<Q> |
getRenderingConfig() |
boolean |
isAutoScale()
Whether the axis should attempt to auto scale to fit the view
|
void |
setAutoScale(boolean autoScale)
Set whether the axis should attempt to auto scale to fit the view
|
void |
setLocation(double[] location) |
void |
setMaxValue(double maxValue) |
void |
setMinValue(double minValue) |
void |
setName(String name) |
void |
setOrientation(double[] orientation) |
void |
setRenderingConfig(AxisConfig.AxisRenderingConfig<Q> config) |
public AxisConfig()
public double[] getLocation()
public void setLocation(double[] location)
location
- the location to setpublic double[] getOrientation()
public void setOrientation(double[] orientation)
orientation
- the orientation to setpublic double getMaxValue()
public void setMaxValue(double maxValue)
maxValue
- the maxValue to setpublic double getMinValue()
public void setMinValue(double minValue)
minValue
- the minValue to setpublic AxisConfig.AxisRenderingConfig<Q> getRenderingConfig()
public void setRenderingConfig(AxisConfig.AxisRenderingConfig<Q> config)
config
- The rendering configpublic boolean isAutoScale()
public void setAutoScale(boolean autoScale)
autoScale
- Whether to auto scale