public final class

ChartTypes

extends Object
java.lang.Object
   ↳ com.artfulbits.aiCharts.Types.ChartTypes

Class Overview

Represents helper class for built-in chart types.

Summary

Constants
String AreaName Default name for ChartAreaType.
String BarName Default name for ChartBarType.
String BubbleName Default name for ChartBubbleType.
String CandleStickName Default name for ChartCandleStickType.
String ColumnName Default name for ChartColumnType.
String DoughnutName Default name for ChartDoughnutType.
String FastLineName Default name for ChartFastLineType.
String FunnelName Default name for ChartFunnelType.
String HiLoName Default name for ChartHiLoType.
String HiLoOpenCloseName Default name for ChartHiLoOpenCloseType.
String LineName Default name for ChartLineType.
String PieName Default name for ChartPieType.
String PointName Default name for ChartPointType.
String PolarName Default name for ChartPolarType.
String PyramidName Default name for ChartPyramidType.
String RangeAreaName Default name for ChartRangeAreaType.
String RangeColumnName Default name for ChartRangeColumnType.
String RoseName Default name for ChartRoseType.
String SplineAreaName Default name for ChartSplineAreaType.
String SplineName Default name for ChartSplineType.
String StackedArea100Name Default name for ChartStackedArea100Type.
String StackedAreaName Default name for ChartStackedAreaType.
String StackedBar100Name Default name for ChartStackedBar100Type.
String StackedBarName Default name for ChartStackedBarType.
String StackedColumn100Name Default name for ChartStackedColumn100Type.
String StackedColumnName Default name for ChartStackedColumnType.
String StepAreaName Default name for ChartStepAreaType.
String StepLineName Default name for ChartStepLineType.
Fields
public static final Class<ChartAreaType> Area The runtime class of ChartAreaType.
public static final Class<ChartBarType> Bar The runtime class of ChartBarType.
public static final Class<ChartBubbleType> Bubble The runtime class of ChartBubbleType.
public static final Class<ChartCandleStickType> CandleStick The runtime class of ChartCandleStickType.
public static final Class<ChartColumnType> Column The runtime class of ChartColumnType.
public static final Class<ChartDoughnutType> Doughnut The runtime class of ChartDoughnutType.
public static final Class<ChartFastLineType> FastLine The runtime class of ChartFastLineType.
public static final Class<ChartFunnelType> Funnel The runtime class of ChartFunnelType.
public static final Class<ChartHiLoType> HiLo The runtime class of ChartHiLoType.
public static final Class<ChartHiLoOpenCloseType> HiLoOpenClose The runtime class of ChartHiLoOpenCloseType.
public static final Class<ChartLineType> Line The runtime class of ChartLineType.
public static final Class<ChartPieType> Pie The runtime class of ChartPieType.
public static final Class<ChartPointType> Point The runtime class of ChartPointType.
public static final Class<ChartPolarType> Polar The runtime class of ChartPolarType.
public static final Class<ChartPyramidType> Pyramid The runtime class of ChartPyramidType.
public static final Class<ChartRangeAreaType> RangeArea The runtime class of ChartRangeAreaType.
public static final Class<ChartRangeColumnType> RangeColumn The runtime class of ChartRangeColumnType.
public static final Class<ChartRoseType> Rose The runtime class of ChartRoseType.
public static final Class<ChartSplineType> Spline The runtime class of ChartSplineType.
public static final Class<ChartSplineAreaType> SplineArea The runtime class of ChartSplineAreaType.
public static final Class<ChartStackedAreaType> StackedArea The runtime class of ChartStackedAreaType.
public static final Class<ChartStackedArea100Type> StackedArea100 The runtime class of ChartStackedArea100Type.
public static final Class<ChartStackedBarType> StackedBar The runtime class of ChartStackedBarType.
public static final Class<ChartStackedBar100Type> StackedBar100 The runtime class of ChartStackedBar100Type.
public static final Class<ChartStackedColumnType> StackedColumn The runtime class of ChartStackedColumnType.
public static final Class<ChartStackedColumn100Type> StackedColumn100 The runtime class of ChartStackedColumn100Type.
public static final Class<ChartStepAreaType> StepArea The runtime class of ChartStepAreaType.
public static final Class<ChartStepLineType> StepLine The runtime class of ChartStepLineType.
Public Constructors
ChartTypes()
Sole constructor.
Public Methods
static ChartType get(String name)
Gets instance of ChartType represented by specified name.
static ChartType get(Class<? extends ChartType> typeClass)
Returns cached instance of specified type class.
static ChartType getDefault()
Gets the default ChartType assigned to series.
static String getName(Class<? extends ChartType> typeClass)
Returns registered name for specified type class.
static String[] getNames()
Gets array of available names for chart types.
static Class[]<? extends ChartType> getTypes()
Gets array of available types.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String AreaName

Default name for ChartAreaType.

Constant Value: "Area"

public static final String BarName

Default name for ChartBarType.

Constant Value: "Bar"

public static final String BubbleName

Default name for ChartBubbleType.

Constant Value: "Bubble"

public static final String CandleStickName

Default name for ChartCandleStickType.

Constant Value: "CandleStick"

public static final String ColumnName

Default name for ChartColumnType.

Constant Value: "Column"

public static final String DoughnutName

Default name for ChartDoughnutType.

Constant Value: "Doughnut"

public static final String FastLineName

Default name for ChartFastLineType.

Constant Value: "FastLine"

public static final String FunnelName

Default name for ChartFunnelType.

Constant Value: "Funnel"

public static final String HiLoName

Default name for ChartHiLoType.

Constant Value: "HiLo"

public static final String HiLoOpenCloseName

Default name for ChartHiLoOpenCloseType.

Constant Value: "HiLoOpenClose"

public static final String LineName

Default name for ChartLineType.

Constant Value: "Line"

public static final String PieName

Default name for ChartPieType.

Constant Value: "Pie"

public static final String PointName

Default name for ChartPointType.

Constant Value: "Point"

public static final String PolarName

Default name for ChartPolarType.

Constant Value: "Polar"

public static final String PyramidName

Default name for ChartPyramidType.

Constant Value: "Pyramid"

public static final String RangeAreaName

Default name for ChartRangeAreaType.

Constant Value: "RangeArea"

public static final String RangeColumnName

Default name for ChartRangeColumnType.

Constant Value: "RangeColumn"

public static final String RoseName

Default name for ChartRoseType.

Constant Value: "Rose"

public static final String SplineAreaName

Default name for ChartSplineAreaType.

Constant Value: "SplineArea"

public static final String SplineName

Default name for ChartSplineType.

Constant Value: "Spline"

public static final String StackedArea100Name

Default name for ChartStackedArea100Type.

Constant Value: "StackedArea100"

public static final String StackedAreaName

Default name for ChartStackedAreaType.

Constant Value: "StackedArea"

public static final String StackedBar100Name

Default name for ChartStackedBar100Type.

Constant Value: "StackedBar100"

public static final String StackedBarName

Default name for ChartStackedBarType.

Constant Value: "StackedBar"

public static final String StackedColumn100Name

Default name for ChartStackedColumn100Type.

Constant Value: "StackedColumn100"

public static final String StackedColumnName

Default name for ChartStackedColumnType.

Constant Value: "StackedColumn"

public static final String StepAreaName

Default name for ChartStepAreaType.

Constant Value: "StepArea"

public static final String StepLineName

Default name for ChartStepLineType.

Constant Value: "StepLine"

Fields

public static final Class<ChartAreaType> Area

The runtime class of ChartAreaType.

public static final Class<ChartBarType> Bar

The runtime class of ChartBarType.

public static final Class<ChartBubbleType> Bubble

The runtime class of ChartBubbleType.

public static final Class<ChartCandleStickType> CandleStick

The runtime class of ChartCandleStickType.

public static final Class<ChartColumnType> Column

The runtime class of ChartColumnType.

public static final Class<ChartDoughnutType> Doughnut

The runtime class of ChartDoughnutType.

public static final Class<ChartFastLineType> FastLine

The runtime class of ChartFastLineType.

public static final Class<ChartFunnelType> Funnel

The runtime class of ChartFunnelType.

public static final Class<ChartHiLoType> HiLo

The runtime class of ChartHiLoType.

public static final Class<ChartHiLoOpenCloseType> HiLoOpenClose

The runtime class of ChartHiLoOpenCloseType.

public static final Class<ChartLineType> Line

The runtime class of ChartLineType.

public static final Class<ChartPieType> Pie

The runtime class of ChartPieType.

public static final Class<ChartPointType> Point

The runtime class of ChartPointType.

public static final Class<ChartPolarType> Polar

The runtime class of ChartPolarType.

public static final Class<ChartPyramidType> Pyramid

The runtime class of ChartPyramidType.

public static final Class<ChartRangeAreaType> RangeArea

The runtime class of ChartRangeAreaType.

public static final Class<ChartRangeColumnType> RangeColumn

The runtime class of ChartRangeColumnType.

public static final Class<ChartRoseType> Rose

The runtime class of ChartRoseType.

public static final Class<ChartSplineType> Spline

The runtime class of ChartSplineType.

public static final Class<ChartSplineAreaType> SplineArea

The runtime class of ChartSplineAreaType.

public static final Class<ChartStackedAreaType> StackedArea

The runtime class of ChartStackedAreaType.

public static final Class<ChartStackedArea100Type> StackedArea100

The runtime class of ChartStackedArea100Type.

public static final Class<ChartStackedBarType> StackedBar

The runtime class of ChartStackedBarType.

public static final Class<ChartStackedBar100Type> StackedBar100

The runtime class of ChartStackedBar100Type.

public static final Class<ChartStackedColumnType> StackedColumn

The runtime class of ChartStackedColumnType.

public static final Class<ChartStackedColumn100Type> StackedColumn100

The runtime class of ChartStackedColumn100Type.

public static final Class<ChartStepAreaType> StepArea

The runtime class of ChartStepAreaType.

public static final Class<ChartStepLineType> StepLine

The runtime class of ChartStepLineType.

Public Constructors

public ChartTypes ()

Sole constructor. (For invocation by subclass constructors, typically implicit.)

Public Methods

public static ChartType get (String name)

Gets instance of ChartType represented by specified name.

Parameters
name name of chart type.
Returns

public static ChartType get (Class<? extends ChartType> typeClass)

Returns cached instance of specified type class.

Parameters
typeClass instance of Class.
Returns
Throws
RuntimeException}

public static ChartType getDefault ()

Gets the default ChartType assigned to series.

Returns

public static String getName (Class<? extends ChartType> typeClass)

Returns registered name for specified type class.

Parameters
typeClass instance of Class.
Returns
  • registered name for specified type class.

public static String[] getNames ()

Gets array of available names for chart types.

Returns
  • array of names for chart types.

public static Class[]<? extends ChartType> getTypes ()

Gets array of available types.

Returns