Field Summary |
public
| alphaActive: Number |
| The alpha value for active slices
|
|
public
| alphaNormal: Number |
| The alpha value for non-active slices
|
|
public
| autoCalcPieSize: Boolean |
| Determines whether pie radius us automtatically calculated
|
|
public
| autoDraw: Boolean |
| Determines whether chart is automatically drawn when the series data is set
|
|
public
| borderColor: Number |
| bordercolor of a wedge
|
|
public
| chartType: String |
| the default chart type
|
|
public static
| classInfo: Object |
| A static class information object
|
|
public
| colorField: String |
| The field in the dataProvider that contains the segment color's*
|
|
public
| datalabelFormatString: String |
| thre data display %1-label,%2-value,%3-percent
|
|
public
| datalabelOffset: Number |
| controls the distance between a datalabel and the pie
|
|
public
| draw3d: Boolean |
| Determines whether chart is drawn in 3D when the series data is set
|
|
public
| dropHeight: Number |
| The depth of a 3D slice
|
|
public
| dropShadowColor: Number |
| The drop shadpow color
|
|
public
| dropShadowX: Number |
| The dropshadow offset x
|
|
public
| dropShadowY: Number |
| The dropshadow offset y
|
|
public
| dwellLabelPosition: String |
| Determines where dwell label will be placed
|
|
public
| explodeDistActive: Number |
| The distance the active pie slice is away from the centre of the pie
|
|
public
| explodeDistNormal: Number |
| The distance the non active pie slice is away from the centre of the pie
|
|
public
| format: String |
| Format string for point labels
|
|
public
| initialActiveSlice: Number |
| index of the initial slice to be active
|
|
public
| insideLabelPosition: Number |
| The position of the label inside the Pie
|
|
| isColumnsInit |
|
|
|
public
| label: MovieClip |
| the control the we will use to display rollover labels
|
|
public
| labelField: String |
| The field in the dataProvider that contains the segment labels*
|
|
public
| labelFormatString: String |
| rollover format %1-label,%2-value,%3-percent
|
|
public
| labelStyle: Object |
| The style for the point labels
|
|
public
| legend: MovieClip |
| the control for displaying the legend
|
|
public
| legendFormatString: String |
| legend format %1-label,%2-value,%3-percent
|
|
| manualInit |
|
|
|
public
| minPercentage: Number |
| Specify the minimum point value needed to be included in a particular pie chart
|
|
public
| othersLabel: String |
| Specify the minimum point value needed to be included in a particular pie chart
|
|
public
| percentDecimals: Number |
| Number of decimal places for percentage display
|
|
public
| pieRadius: Number |
| Set the pieRadius, this is ignored if autoCalcPieSize is true
|
|
public
| ringSize: Number |
| The size oof the doughnut ring
|
|
public
| styleClass: String |
| The name of the style class this instance will use.
|
|
public
| valueField: String |
| The field in the dataProvider that contains the segment values*
|
|
| Fields inherited from class xp.system.UIControl__layout, allowDrop, autoLayout, bindingDefaultValue, bindingFormatter, bindingPath, bindingSource, bindingType, bindingValidator, border, causesValidation, classInfo, clickOnENTER, clickOnSPACE, container, context, data, disableAcceptButton, disableCancelButton, enableBGMouseEvents, enableDblClickEvent, enableKeyDownEvents, enableKeyEvents, enableKeyUpEvents, enableMouseWheelEvents, formatterOptions, horizontalAlignment, index, isBinding, itemId, logEnabled, parent, parentContainer, parentForm, percentageHeight, percentageWidth, styleClass, tabIndex, tabStop, tooltip, tree, verticalAlignment |
|
Property Summary |
public
| angleX: Number (read, write) |
| Allows you to set a 3D rotation angle around the X-axis
|
|
public
| angleY: Number (read, write) |
| Allows you to set a 3D rotation angle around the Y-axis.
|
|
public
| dataProvider: Object (read, write) |
| The source of the chart items.
|
|
public
| legendPlacement: String (read, write) |
|
|
|
| Properties inherited from class xp.system.UIControlalpha, autosize, background, backgroundVisible, bindings, borderBrush, borderRadius, borderShadow, borderStyle, borderThickness, bottom, dataSource, enableMouseEvents, focusManager, height, id, isEnabled, isFocused, isMouseOver, isPressed, isSelected, isValid, layout, left, margin, maxHeight, maxWidth, measuredHeight, measuredMinHeight, measuredMinWidth, measuredWidth, minHeight, minWidth, padding, readOnly, resources, right, styleName, top, triggers, visible, width, x, y |
|
Constructor |
public
| PieChart (
)
|
|
|
|
Method Summary |
public
| drawChart (
): Void |
| draws the chart
|
|
public
| getClass (
): Function |
| Returns a reference to the components static class
|
|
public static
| newInstance (
owner, instanceId, depth, initObj
) |
| Creates a new Instance of this class
|
|
public
| onTweenUpdate (
val, context: Object
): Void |
|
|
|
public
| setSeries (
dataProvider: Object
): Void |
| data is an array of objects with fields label and value (and optionally color) (see PieSlieDesc)
|
|
| Methods inherited from class xp.system.UIControladdBinding, addBindings, addEventListener, addPropertyTrigger, applyStyle, beginDeferUpdate, canUpdate, centerContent, checkState, containsFocus, destroy, destroyObject, drawFocus, endDeferUpdate, findFocusFromObject, findFocusInChildren, getBinding, getBounds, getCenter, getClass, getFocus, getFocusManager, getFocusRect, getLocation, getPropertyValue, getSize, getStateName, getTrigger, globalToLocalPoint, invalidate, invalidateLayout, invalidateSize, invalidateSizeAndLayout, invalidChild, isChild, isMouseDirectlyOver, isParent, localToGlobalPoint, localToLocalPoint, measure, mouseWheel, move, onChildFocus, onKillFocus, onSetFocus, processEnterKey, processEscapeKey, processTabKey, redraw, refresh, removeEventListener, routeEvent, setBounds, setFocus, setLocation, setPropertyValue, setSize, setValueChanged, update, validate |
|
|