Skip to main content

NumericAxisX Class

The arguments axis that manages representation of series with NumericSeriesData data.

Declaration

public class NumericAxisX
extends AxisX

Remarks

The following image demonstrates parameters specific to this axis:

NumericAxisX

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

NumericAxisX()

Initializes a new NumericAxisX class instance with default parameters.

Declaration

public NumericAxisX()

Methods

addConstantLine(NumericConstantLine) Method

Adds the specified constant line to the axis.

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.

Declaration

public void addStrip(NumericStrip strip)

Parameters

Name Type Description
strip NumericStrip

The NumericStrip object to be added.

getGridAlignment() Method

Returns the grid’s alignment.

Declaration

public Double getGridAlignment()

Returns

Type Description
java.lang.Double

The grid’s alignment.

getGridOffset() Method

Returns 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 offset, in axis units.

getRange() Method

Returns the settings that specify the axis’s coordinate ranges.

Declaration

public NumericRange getRange()

Returns

Type Description
NumericRange

The NumericRange object that specifies the range settings.

removeConstantLine(NumericConstantLine) Method

Removes the specified constant line from the axis.

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.

Declaration

public void removeStrip(NumericStrip strip)

Parameters

Name Type Description
strip NumericStrip

The NumericStrip object to be removed.

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 offset, in axis units.

setRange(NumericRange) Method

Specifies the settings that specify the axis’s coordinate ranges.

Declaration

public void setRange(NumericRange range)

Parameters

Name Type Description
range NumericRange

The NumericRange object that specifies the range settings.