public final class ValueAxis extends ChartAxis
Modifier and Type | Method and Description |
---|---|
AxisType |
getAxisType()
Gets the axis type for
ValueAxis which is AxisType.VALUE . |
Optional<Double> |
getMajorUnit()
Gets the distance between major ticks or
Optional.empty() if value should be automatically calculated based on chart's data. |
Optional<Double> |
getMaximum()
Gets the maximum value of the axis or
Optional.empty() if value should be automatically calculated based on chart's data. |
Optional<Double> |
getMinimum()
Gets the minimum value of the axis or
Optional.empty() if value should be automatically calculated based on chart's data. |
Optional<Double> |
getMinorUnit()
Gets the distance between minor ticks or
Optional.empty() if value should be automatically calculated based on chart's data. |
void |
setMajorUnit(Optional<Double> majorUnit)
Sets the distance between major ticks or
Optional.empty() if value should be automatically calculated based on chart's data. |
void |
setMaximum(Optional<Double> maximum)
Sets the maximum value of the axis or
Optional.empty() if value should be automatically calculated based on chart's data. |
void |
setMinimum(Optional<Double> minimum)
Sets the minimum value of the axis or
Optional.empty() if value should be automatically calculated based on chart's data. |
void |
setMinorUnit(Optional<Double> minorUnit)
Sets the distance between minor ticks or
Optional.empty() if value should be automatically calculated based on chart's data. |
changeAxisType, changeAxisType, delete, getLabelsPosition, getMajorGridlines, getMajorTickMarkType, getMinorGridlines, getMinorTickMarkType, getNumberFormat, getTitle, isNumberFormatLinkedToSource, isReverseOrder, isVisible, setLabelsPosition, setMajorTickMarkType, setMinorTickMarkType, setNumberFormat, setNumberFormatLinkedToSource, setReverseOrder, setVisible, toString
public AxisType getAxisType()
ValueAxis
which is AxisType.VALUE
.getAxisType
in class ChartAxis
AxisType.VALUE
value.public Optional<Double> getMajorUnit()
Optional.empty()
if value should be automatically calculated based on chart's data.Optional.empty()
if value should be automatically calculated based on chart's data.public Optional<Double> getMaximum()
Optional.empty()
if value should be automatically calculated based on chart's data.Optional.empty()
if value should be automatically calculated based on chart's data.public Optional<Double> getMinimum()
Optional.empty()
if value should be automatically calculated based on chart's data.Optional.empty()
if value should be automatically calculated based on chart's data.public Optional<Double> getMinorUnit()
Optional.empty()
if value should be automatically calculated based on chart's data.Optional.empty()
if value should be automatically calculated based on chart's data.public void setMajorUnit(Optional<Double> majorUnit)
Optional.empty()
if value should be automatically calculated based on chart's data.majorUnit
- The distance between major ticks or Optional.empty()
if value should be automatically calculated based on chart's data.IndexOutOfBoundsException
- Value is not positive number or is smaller than MinorUnit.public void setMaximum(Optional<Double> maximum)
Optional.empty()
if value should be automatically calculated based on chart's data.maximum
- The maximum value of the axis or Optional.empty()
if value should be automatically calculated based on chart's data.IndexOutOfBoundsException
- Value is smaller than Minimum.public void setMinimum(Optional<Double> minimum)
Optional.empty()
if value should be automatically calculated based on chart's data.minimum
- The minimum value of the axis or Optional.empty()
if value should be automatically calculated based on chart's data.IndexOutOfBoundsException
- Value is greater than Maximum.public void setMinorUnit(Optional<Double> minorUnit)
Optional.empty()
if value should be automatically calculated based on chart's data.minorUnit
- The distance between minor ticks or Optional.empty()
if value should be automatically calculated based on chart's data.IndexOutOfBoundsException
- Value is not positive number or is greater than MajorUnit.© GemBox d.o.o. — All rights reserved.