Skip to main content

NumericAxisY Class

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

Declaration

public class NumericAxisY
extends AxisBase

Remarks

The following image demonstrates parameters specific to this axis:

NumericAxisY

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

Inheritance

NumericAxisY()

Initializes a new NumericAxisY class instance with default parameters.

Declaration

public NumericAxisY()

Methods

addConstantLine(NumericConstantLine) Method

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

Declaration

public void addConstantLine(NumericConstantLine line)

Parameters

Name Type Description
line NumericConstantLine

The NumericConstantLine object to be added.

addStrip(NumericStrip) Method

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

Declaration

public void addStrip(NumericStrip strip)

Parameters

Name Type Description
strip NumericStrip

The NumericStrip object to be added.

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.

getGridAlignment() Method

Returns the grid’s alignment.

Declaration

public Double getGridAlignment()

Returns

Type Description
java.lang.Double

The grid’s alignment.

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.

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.

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.

removeConstantLine(NumericConstantLine) Method

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

Declaration

public void removeConstantLine(NumericConstantLine line)

Parameters

Name Type Description
line NumericConstantLine

The NumericConstantLine object to be removed.

removeStrip(NumericStrip) Method

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

Declaration

public void removeStrip(NumericStrip strip)

Parameters

Name Type Description
strip NumericStrip

The NumericStrip object to be removed.

setAlwaysShowZeroLevel(boolean) Method

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

Declaration

public void setAlwaysShowZeroLevel(boolean value)

Parameters

Name Type Description
value boolean

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

setAutoRangeMode(AutoRangeMode) Method

Specifies the AutoRangeMode value specifying how the range behaves.

Declaration

public void setAutoRangeMode(AutoRangeMode mode)

Parameters

Name Type Description
mode AutoRangeMode

The AutoRangeMode mode that defines range’s behavior.

setGridAlignment(Double) Method

Specifies the grid’s alignment.

Declaration

public void setGridAlignment(Double value)

Parameters

Name Type Description
value java.lang.Double

The grid’s alignment.

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

Name Type Description
value java.lang.Double

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

setRange(NumericRange) Method

Specifies the settings that specify axis coordinate ranges.

Declaration

public void setRange(NumericRange range)

Parameters

Name Type Description
range NumericRange

The NumericRange object that specifies the range settings.