ChartStyleBase Class

The Chart and Pie Chart styles' base class.

Declaration

public abstract class ChartStyleBase
extends StyleBase

Inheritance

Object
ChartElement
StyleBase
ChartStyleBase

Inherited Members

java.lang.Object.equals(java.lang.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)
java.lang.Object.wait(long, int)

Methods

Constructors

ChartStyleBase.getBackgroundColor() Method

Returns the chart's background color.

Declaration

public Integer getBackgroundColor()

Returns

Type Description
Integer

The background color.

ChartStyleBase.getBorderColor() Method

Returns the chart's border color.

Declaration

public Integer getBorderColor()

Returns

Type Description
Integer

The border color.

ChartStyleBase.getBorderThickness() Method

Returns the chart border's thickness.

Declaration

public Float getBorderThickness()

Returns

Type Description
Float

The chart border's thickness, in pixels.

ChartStyleBase.getPaddingBottom() Method

Returns a distance between chart's content and its bottom border.

Declaration

public Integer getPaddingBottom()

Returns

Type Description
Integer

The bottom padding, in pixels.

ChartStyleBase.getPaddingLeft() Method

Returns a distance between chart's content and its left border.

Declaration

public Integer getPaddingLeft()

Returns

Type Description
Integer

The left padding, in pixels.

ChartStyleBase.getPaddingRight() Method

Returns a distance between chart's content and its right border.

Declaration

public Integer getPaddingRight()

Returns

Type Description
Integer

The right padding, in pixels.

ChartStyleBase.getPaddingTop() Method

Returns a distance between chart's content and its top border.

Declaration

public Integer getPaddingTop()

Returns

Type Description
Integer

The top padding, in pixels.

ChartStyleBase.getPalette() Method

Returns a set of colors that are used to draw series.

Declaration

public int[] getPalette()

Returns

Type Description
int[]

An array of the color-int values.

ChartStyleBase.setBackgroundColor(Integer) Method

Specifies the chart's background color.

Declaration

public void setBackgroundColor(Integer color)

Parameters

Type Name Description
Integer color

The background color.

ChartStyleBase.setBorderColor(Integer) Method

Specifies the border color.

Declaration

public void setBorderColor(Integer color)

Parameters

Type Name Description
Integer color

The border color.

ChartStyleBase.setBorderThickness(Float) Method

Specifies the chart border's thickness.

Declaration

public void setBorderThickness(Float thickness)

Parameters

Type Name Description
Float thickness

The chart border's thickness.

ChartStyleBase.setPadding(Integer, Integer, Integer, Integer) Method

Specifies distances between chart's content and border.

Declaration

public void setPadding(Integer left, Integer top, Integer right, Integer bottom)

Parameters

Type Name Description
Integer left

The left padding, in pixels.

Integer top

The top padding, in pixels.

Integer right

The right padding, in pixels.

Integer bottom

The bottom padding, in pixels.

ChartStyleBase.setPalette(int[]) Method

Specifies a set of colors that are used to draw series

@param palette An array of the color-int values.

Declaration

public void setPalette(int[] palette)

Parameters

Type Name Description
int[] palette

An array of the color-int values.