MixChart

(esrith/amos/chart/MixChart)

MixChart control is use to create a mix chart of data.

Description
new MixChart(params?srcNodeRef?)

Create a new mix chart.

Description
TYPE_AREA

TYPE_AREA : Areas

TYPE_BARS

TYPE_BARS : Bars

TYPE_CLUSERBARS

TYPE_CLUSERBARS : ClusterBars

TYPE_CLUSTEREDCOLUMNS

TYPE_CLUSTEREDCOLUMNS : ClusteredColumns

TYPE_COLUMNS

TYPE_COLUMNS : Columns

TYPE_LINE

TYPE_LINE : Lines

TYPE_MARKER

TYPE_MARKER : Markers

TYPE_MARKERONLY

TYPE_MARKERONLY : MarkersOnly

TYPE_STACKEDCOLUMNS

TYPE_STACKEDCOLUMNS : StackedColumns

Type Description
_styleAttr Object when you want to set style for other node. you can do this by example... _styleAttr:{ style-property:effected-node } this property was effected where this class was inherited and your widget was called by... var widget = new YourWidget({ style:{ style-property:style-value } }); now effected-node in you widget will have style-property = style-value
categoryField String Field name for group of chart.
displayedValue String Field name for the values presently display in the controls.
isCalculateExtent Boolean If isCalculateExtent is true, chart will be expand for gap of data.
labels Boolean If labels is true, will show the label of chart.
plotChartName String Name of plotDef.
plotConfig Object[]

plotConfig is a array of configurations of chart.

plotNameField String Field name for name of chart.
resizeChart Boolean

If resizeChart is true, will auto resize the chart to fit div container.

seriesField String Field name for the series of legend.
type String Type of chart.
valField String Field name for value of chart.
xAxis Object Define configurations of horizontal axis.
xValueField String Field name for value of horizontal axis.
yAxis Object Define configurations of vertical axis.
Return type Description
__baseClassInherit(constructor) None get className from superclass.
Constructors Detail
new MixChart(params?srcNodeRef?)

Create a new mix chart.

Parameters:
constants Detail
<String>
TYPE_AREA

TYPE_AREA : Areas

<String>
TYPE_BARS

TYPE_BARS : Bars

<String>
TYPE_CLUSERBARS

TYPE_CLUSERBARS : ClusterBars

<String>
TYPE_CLUSTEREDCOLUMNS

TYPE_CLUSTEREDCOLUMNS : ClusteredColumns

<String>
TYPE_COLUMNS

TYPE_COLUMNS : Columns

<String>
TYPE_LINE

TYPE_LINE : Lines

<String>
TYPE_MARKER

TYPE_MARKER : Markers

<String>
TYPE_MARKERONLY

TYPE_MARKERONLY : MarkersOnly

<String>
TYPE_STACKEDCOLUMNS

TYPE_STACKEDCOLUMNS : StackedColumns

Properties Detail
<Object>
_styleAttr
when you want to set style for other node. you can do this by example... _styleAttr:{ style-property:effected-node } this property was effected where this class was inherited and your widget was called by... var widget = new YourWidget({ style:{ style-property:style-value } }); now effected-node in you widget will have style-property = style-value

Default value: {}

<String>
categoryField
Field name for group of chart.

Default value: "CAT_NAME"

<String>
displayedValue
Field name for the values presently display in the controls.

Default value: "PLOT_VAL"

<Boolean>
isCalculateExtent
If isCalculateExtent is true, chart will be expand for gap of data.

Default value: false

<Boolean>
labels
If labels is true, will show the label of chart.

Default value: true

<String>
plotChartName
Name of plotDef.

Default value: "default"

<Object[]>
plotConfig

plotConfig is a array of configurations of chart.

<String>
plotNameField
Field name for name of chart.

Default value: "PLOT_NAME"

<Boolean>
resizeChart

If resizeChart is true, will auto resize the chart to fit div container.

Default value: true

<String>
seriesField
Field name for the series of legend.

Default value: "SERIE_NAME"

<String>
type
Type of chart.
<String>
valField
Field name for value of chart.

Default value: "VAL"

<Object>
xAxis
Define configurations of horizontal axis.
<String>
xValueField
Field name for value of horizontal axis.

Default value: "X_VAL"

<Object>
yAxis

Inherited from _ChartBase but overwritten in esrith/amos/chart/_ChartBase.js:149

Define configurations of vertical axis.
Methods Detail
__baseClassInherit
(
  • constructor
)
get className from superclass.
Parameters
  • <Object> constructor Required