NumericAxisY Class

The values axis that manages representation of series with NumericData data.

Declaration

public class NumericAxisY
extends AxisBase

The following image demonstrates parameters specific to this axis:

NumericAxisY

Refer to the Axes guide to learn more about the Chart's axes.

Inheritance

Constructors

NumericAxisY() Constructor

Initializes a new NumericAxisY class instance with default parameters.

Declaration

public NumericAxisY()

Methods

Constructors

NumericAxisY.addConstantLine(NumericConstantLine) Method

Adds the specified constant line to the axis constant lines' collection.

Declaration

public void addConstantLine(NumericConstantLine line)

Parameters

Type Name Description
NumericConstantLine line

The NumericConstantLine object to be added.

NumericAxisY.addStrip(NumericStrip) Method

Adds the specified constant line to the axis strips' collection.

Declaration

public void addStrip(NumericStrip strip)

Parameters

Type Name Description
NumericStrip strip

The NumericStrip object to be added.

NumericAxisY.getAutoRangeMode() Method

Returns the AutoRangeMode value specifying how the range behaves.

Declaration

public AutoRangeMode getAutoRangeMode()

Returns

Type Description
AutoRangeMode

The AutoRangeMode mode that defines range's behavior.

NumericAxisY.getGridAlignment() Method

Returns the grid's alignment.

Declaration

public Double getGridAlignment()

Returns

Type Description
java.lang.Double

The grid's alignment.

NumericAxisY.getGridOffset() Method

Return the first major tickmark's and gridline's offset from the range's minimum value.

Declaration

public Double getGridOffset()

Returns

Type Description
java.lang.Double

The first major tickmark's and gridline's coordinate, in axis units.

NumericAxisY.getRange() Method

Returns the settings that specify axis coordinate ranges.

Declaration

public NumericRange getRange()

Returns

Type Description
NumericRange

The NumericRange object that specifies the range settings.

NumericAxisY.isAlwaysShowZeroLevel() Method

Returns the value indicating whether the range always includes a zero value.

Declaration

public boolean isAlwaysShowZeroLevel()

Returns

Type Description
boolean

true if the range includes a zero value; otherwise false.

NumericAxisY.removeConstantLine(NumericConstantLine) Method

Removes the specified constant line from the axis constant lines' collection.

Declaration

public void removeConstantLine(NumericConstantLine line)

Parameters

Type Name Description
NumericConstantLine line

The NumericConstantLine object to be removed.

NumericAxisY.removeStrip(NumericStrip) Method

Removes the specified constant line from the axis strips' collection.

Declaration

public void removeStrip(NumericStrip strip)

Parameters

Type Name Description
NumericStrip strip

The NumericStrip object to be removed.

NumericAxisY.setAlwaysShowZeroLevel(boolean) Method

Specifies the value indicating whether the range always includes a zero value.

Declaration

public void setAlwaysShowZeroLevel(boolean value)

Parameters

Type Name Description
boolean value

true if the range includes a zero value; otherwise false.

NumericAxisY.setAutoRangeMode(AutoRangeMode) Method

Specifies the AutoRangeMode value specifying how the range behaves.

Declaration

public void setAutoRangeMode(AutoRangeMode mode)

Parameters

Type Name Description
AutoRangeMode mode

The AutoRangeMode mode that defines range's behavior.

NumericAxisY.setGridAlignment(Double) Method

Specifies the grid's alignment.

Declaration

public void setGridAlignment(Double value)

Parameters

Type Name Description
java.lang.Double value

The grid's alignment.

NumericAxisY.setGridOffset(Double) Method

Specifies the first major tickmark's and gridline's offset from the range's minimum value.

Declaration

public void setGridOffset(Double value)

Parameters

Type Name Description
java.lang.Double value

The first major tickmark's and gridline's coordinate, in axis units.

NumericAxisY.setRange(NumericRange) Method

Specifies the settings that specify axis coordinate ranges.

Declaration

public void setRange(NumericRange range)

Parameters

Type Name Description
NumericRange range

The NumericRange object that specifies the range settings.