Main Page | Packages | Class Tree | Index | Help

xp.charting

class ChartTypes

Object
  |
  +--xp.charting.ChartTypes


class ChartTypes
extends Object

Holds various static data and methods used throughout the charting system


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary

public static
AREA: String
chart type constant

public static
AXIS_X: String
primary x axis constant

public static
AXIS_X2: String
secondary x axis constant

public static
AXIS_Y: String
primary y axis constant

public static
AXIS_Y2: String
secondary y axis constant

public static
axisMode: Object


public static
BAR: String
chart type constant

public static
defaultFillColors: Array
default fill color pallette

public static
defaultLineColors: Array
default line color pallette

public static
HILO: String
chart type constant

public static
LINE: String
chart type constant

public static
MARKER_CIRCLE: String
marker type constant

public static
MARKER_CROSS: String
marker type constant

public static
MARKER_DIAMOND: String
marker type constant

public static
MARKER_NONE: String
marker type constant

public static
MARKER_PLUS: String
marker type constant

public static
MARKER_SQUARE: String
marker type constant

public static
MARKER_TRIANGLE: String
marker type constant

public static
MINUTE: String
frequency constant

public static
MONTH: String
frequency constant

public static
PIE: String
chart type constant

public static
seriesTypes: Object


public static
STACKED: String
chart type constant

public static
STEP: String
chart type constant

public static
toolTypes: Object


public static
YEAR: String
frequency constant

Method Summary

public static
addChartType ( name: String, series: Function, xAxisMode: Number )


public static
addToolType ( name: String, toolType: Function )


public static
brighter ( clr: Number, intensity: Number ): Number
create a brighter shade of a color

public static
createSeries ( graphType: String )
Creates a series

public static
darker ( clr: Number, intensity: Number ): Number
create a darker shade of a color

public static
getAutoColor ( index: Number, palette: Array )
retreive a color from the given pallette

public static
getAutoFillColor ( index: Number )
automatically generate a fill color

public static
getAutoLineColor ( index: Number )
automatically generate a line color

public static
getAxisMode ( chartType: String ): Number


public static
getToolClass ( toolType: String )
Get ToolType



Field Documentation

AREA

public static var AREA: String
chart type constant

AXIS_X

public static var AXIS_X: String
primary x axis constant

AXIS_X2

public static var AXIS_X2: String
secondary x axis constant

AXIS_Y

public static var AXIS_Y: String
primary y axis constant

AXIS_Y2

public static var AXIS_Y2: String
secondary y axis constant

axisMode

public static var axisMode: Object

BAR

public static var BAR: String
chart type constant

defaultFillColors

public static var defaultFillColors: Array
default fill color pallette

defaultLineColors

public static var defaultLineColors: Array
default line color pallette

HILO

public static var HILO: String
chart type constant

LINE

public static var LINE: String
chart type constant

MARKER_CIRCLE

public static var MARKER_CIRCLE: String
marker type constant

MARKER_CROSS

public static var MARKER_CROSS: String
marker type constant

MARKER_DIAMOND

public static var MARKER_DIAMOND: String
marker type constant

MARKER_NONE

public static var MARKER_NONE: String
marker type constant

MARKER_PLUS

public static var MARKER_PLUS: String
marker type constant

MARKER_SQUARE

public static var MARKER_SQUARE: String
marker type constant

MARKER_TRIANGLE

public static var MARKER_TRIANGLE: String
marker type constant

MINUTE

public static var MINUTE: String
frequency constant

MONTH

public static var MONTH: String
frequency constant

PIE

public static var PIE: String
chart type constant

seriesTypes

public static var seriesTypes: Object

STACKED

public static var STACKED: String
chart type constant

STEP

public static var STEP: String
chart type constant

toolTypes

public static var toolTypes: Object

YEAR

public static var YEAR: String
frequency constant


Method Documentation

addChartType

public static function addChartType(name: String,
 series: Function,
 xAxisMode: Number)

addToolType

public static function addToolType(name: String,
 toolType: Function)

brighter

public static function brighter(clr: Number,
 intensity: Number): Number
create a brighter shade of a color

createSeries

public static function createSeries(graphType: String)
Creates a series

Creates a series but does not add it to the chart

darker

public static function darker(clr: Number,
 intensity: Number): Number
create a darker shade of a color

getAutoColor

public static function getAutoColor(index: Number,
 palette: Array)
retreive a color from the given pallette

getAutoFillColor

public static function getAutoFillColor(index: Number)
automatically generate a fill color

getAutoLineColor

public static function getAutoLineColor(index: Number)
automatically generate a line color

getAxisMode

public static function getAxisMode(chartType: String): Number

getToolClass

public static function getToolClass(toolType: String)
Get ToolType

Retruns the class type for a tool


The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc