Skip to main content
A newer version of this page is available.

AxisStyle Class

Specifies the chart axis appearance.

Declaration

public class AxisStyle
extends StyleBase

Remarks

The following image shows axis elements whose appearance can be configured using this class:

Axis elements

Inherited Members

java.lang.Object.equals(java.lang.Object)(Object)
java.lang.Object.hashCode()()
java.lang.Object.notify()()
java.lang.Object.notifyAll()()
java.lang.Object.toString()()
java.lang.Object.wait()()
java.lang.Object.wait(long)(long)
java.lang.Object.wait(long, int)(long,int)

Inheritance

AxisStyle()

Initializes a new AxisStyle class instance with default parameters.

Declaration

public AxisStyle()

Methods

getInterlacedColor() Method

Returns an axis’s interlaced color as a color-int value.

Declaration

public Integer getInterlacedColor()

Returns

Type Description
Integer

The Integer object that is an axis’s interlaced color.

getLineColor() Method

Returns the axis line color.

Declaration

public Integer getLineColor()

Returns

Type Description
Integer

The axis’s line color value.

getLineThickness() Method

Returns an axis’s line thickness.

Declaration

public Float getLineThickness()

Returns

Type Description
Float

The axis line thickness, in pixels.

getMajorGridlinesColor() Method

Returns the axis’s major gridline color that is presented by a color-int value.

Declaration

public Integer getMajorGridlinesColor()

Returns

Type Description
Integer

The axis’s major gridline color that is presented by a color-int value.

getMajorGridlinesThickness() Method

Returns an axis’s major gridline thickness.

Declaration

public Float getMajorGridlinesThickness()

Returns

Type Description
Float

An axis’s major gridline thickness, in pixels.

getMajorTickmarksLength() Method

Returns an axis’s major tickmark length.

Declaration

public Float getMajorTickmarksLength()

Returns

Type Description
Float

The axis’s major tickmark length, in pixels.

getMajorTickmarksThickness() Method

Returns an axis’ major tickmark thickness.

Declaration

public Float getMajorTickmarksThickness()

Returns

Type Description
Float

The axis’s major tickmark thickness, in pixels.

getMinorGridlinesColor() Method

Returns the axis’s minor gridline color that is presented by a color-int value.

Declaration

public Integer getMinorGridlinesColor()

Returns

Type Description
Integer

The axis’s minor gridline color that is presented by a color-int value.

getMinorGridlinesThickness() Method

Returns an axis’s minor gridline thickness.

Declaration

public Float getMinorGridlinesThickness()

Returns

Type Description
Float

An axis’s minor gridline thickness, in pixels.

getMinorTickmarksLength() Method

Returns an axis’s minor tickmark length.

Declaration

public Float getMinorTickmarksLength()

Returns

Type Description
Float

The axis minor tickmark length, in pixels.

getMinorTickmarksThickness() Method

Returns an axis’s minor tickmark thickness.

Declaration

public Float getMinorTickmarksThickness()

Returns

Type Description
Float

The axis’s minor tickmark thickness, in pixels.

isInterlacedVisible() Method

Returns the value indicating whether an axis’s interlaced color is visible.

Declaration

public Boolean isInterlacedVisible()

Returns

Type Description
Boolean

true if the interlaced color is visible; otherwise false.

isLineVisible() Method

Returns the value indicating whether the axis line is visible.

Declaration

public Boolean isLineVisible()

Returns

Type Description
Boolean

true if the axis line is visible; otherwise false.

isMajorGridlinesVisible() Method

Returns the value indicating whether an axis’s major gridlines are visible.

Declaration

public Boolean isMajorGridlinesVisible()

Returns

Type Description
Boolean

true if major gridlines are visible; otherwise false.

isMajorTickmarksVisible() Method

Returns the value indicating whether an axis’s major tickmarks are visible.

Declaration

public Boolean isMajorTickmarksVisible()

Returns

Type Description
Boolean

true if major tickmarks are visible; otherwise false.

isMinorGridlinesVisible() Method

Returns the value indicating whether an axis’s minor gridlines are visible.

Declaration

public Boolean isMinorGridlinesVisible()

Returns

Type Description
Boolean

true if minor gridlines are visible; otherwise false.

isMinorTickmarksVisible() Method

Returns the value indicating whether an axis’s minor tickmarks are visible.

Declaration

public Boolean isMinorTickmarksVisible()

Returns

Type Description
Boolean

true if minor tickmarks are visible; otherwise false.

setInterlacedColor(Integer) Method

Specifies the color that is used to interlace the chart background.

Declaration

public void setInterlacedColor(Integer color)

Parameters

Name Type Description
color Integer

The color-int value that specifies interlacing color.

setInterlacedVisible(Boolean) Method

Specifies the value indicating whether an axis’s interlaced areas are visible.

Declaration

public void setInterlacedVisible(Boolean value)

Parameters

Name Type Description
value Boolean

true if the interlaced color is visible; otherwise false.

setLineColor(Integer) Method

Specifies the axis’s line color that is presented by a color-int value.

Declaration

public void setLineColor(Integer color)

Parameters

Name Type Description
color Integer

The axis’s line color value.

setLineThickness(Float) Method

Specifies an axis’s line thickness.

Declaration

public void setLineThickness(Float value)

Parameters

Name Type Description
value Float

The line thickness, in pixels.

setLineVisible(Boolean) Method

Specifies the value indicating whether an axis’s line is visible.

Declaration

public void setLineVisible(Boolean value)

Parameters

Name Type Description
value Boolean

true if the line is visible; otherwise false.

setMajorGridlinesColor(Integer) Method

Specifies the axis major gridlines color.

Declaration

public void setMajorGridlinesColor(Integer color)

Parameters

Name Type Description
color Integer

The axis’s major gridline color value.

setMajorGridlinesThickness(Float) Method

Specifies an axis’ major gridlines thickness.

Declaration

public void setMajorGridlinesThickness(Float value)

Parameters

Name Type Description
value Float

The axis’s major gridline thickness, in pixels.

setMajorGridlinesVisible(Boolean) Method

Specifies the value indicating whether axis’s major gridlines are visible.

Declaration

public void setMajorGridlinesVisible(Boolean value)

Parameters

Name Type Description
value Boolean

true if major gridlines are visible; otherwise false.

setMajorTickmarksLength(Float) Method

Specifies an axis’s major tickmark length.

Declaration

public void setMajorTickmarksLength(Float value)

Parameters

Name Type Description
value Float

The axis’s major tickmark length, in pixels.

setMajorTickmarksThickness(Float) Method

Specifies an axis’s major tickmark thickness.

Declaration

public void setMajorTickmarksThickness(Float value)

Parameters

Name Type Description
value Float

The axis’s major tickmark thickness, in pixels.

setMajorTickmarksVisible(Boolean) Method

Specifies the value indicating whether axis’s major tickmarks are visible.

Declaration

public void setMajorTickmarksVisible(Boolean value)

Parameters

Name Type Description
value Boolean

true if major tickmarks are visible; otherwise false.

setMinorGridlinesColor(Integer) Method

Specifies the axis’s minor gridline color.

Declaration

public void setMinorGridlinesColor(Integer color)

Parameters

Name Type Description
color Integer

The value specifying the axis’s minor gridline color.

setMinorGridlinesThickness(Float) Method

Specifies an axis’s minor gridline thickness.

Declaration

public void setMinorGridlinesThickness(Float value)

Parameters

Name Type Description
value Float

The axis’s minor gridline thickness, in pixels.

setMinorGridlinesVisible(Boolean) Method

Specifies the value indicating whether axis’s minor gridlines are visible.

Declaration

public void setMinorGridlinesVisible(Boolean value)

Parameters

Name Type Description
value Boolean

true if minor gridlines are visible; otherwise false.

setMinorTickmarksLength(Float) Method

Specifies an axis’ minor tickmarks length.

Declaration

public void setMinorTickmarksLength(Float value)

Parameters

Name Type Description
value Float

The value specifying the axis’ minor tickmarks length, in pixels.

setMinorTickmarksThickness(Float) Method

Specifies an axis’ minor tickmarks thickness.

Declaration

public void setMinorTickmarksThickness(Float value)

Parameters

Name Type Description
value Float

The Float object specifying the axis’s minor tickmark thickness, in pixels.

setMinorTickmarksVisible(Boolean) Method

Specifies the value indicating whether an axis’s minor tickmarks are visible.

Declaration

public void setMinorTickmarksVisible(Boolean value)

Parameters

Name Type Description
value Boolean

true if minor tickmarks are visible; otherwise false.