Field Summary |
public
| autoDraw: Boolean |
| Determines whether chart is automatically redrawn when the componentis invalidated
|
|
public
| autoScaleXAxis: Boolean |
| Determines whether the x axis extents will be automatcially calculated. If set to false you mustset them manually yourself. This can be useful if you have several charts and you wish them all to have the same extents
|
|
public
| autoScaleYAxis: Boolean |
| Determines whether the y axis extenst will be automatcially calculated. If set to false you mustset them manually yourself. This can be useful if you have several charts and you wish them all to have the same extents
|
|
public
| bands: Array |
| the bands array
|
|
public
| chartType: String |
| the default chart type
|
|
public static
| classInfo: Object |
| A static class information object
|
|
public
| crosshairDisplayMode: String |
| Controls the croshair display. One of none,free,plot.
|
|
public
| dataLabelPosition: String |
| Determines where data label will be placed
|
|
public
| drawHGridlines: Boolean |
| Should horizontal gridlines be drawn
|
|
public
| drawVGridlines: Boolean |
| Should vertical gridlines be drawn
|
|
public
| dwellLabelPosition: String |
| Determines where dwell label will be placed
|
|
public
| gridlineColor: Number |
| The color of the gridlines
|
|
| isColumnsInit |
|
|
|
public
| label: MovieClip |
|
|
|
public
| legend: MovieClip |
| the control for displaying the legend
|
|
public
| lines: Array |
| the lines array
|
|
| manualInit |
|
|
|
public
| markerType |
| controls the type of marker that is shown
|
|
public
| maxXAxisValue: Number |
| Sets the max value of the x labels displayed when autocalc is turned off
|
|
public
| maxYAxisValue: Number |
| Sets the max value of the y labels displayed when autocalc is turned off
|
|
public
| minXAxisValue: Number |
| Sets the min value of the x labels displayed when autocalc is turned off
|
|
public
| minYAxisValue: Number |
| Sets the min value of the y labels displayed when autocalc is turned off
|
|
public
| monthLabelFormat: String |
| Format for months dislayed on the x axis
|
|
public
| numXLabels: Number |
| Sets the number of x labels displayed when autocalc is turned off
|
|
public
| numYLabels: Number |
| Sets the number of y labels displayed when autocal is turned off
|
|
public
| placementYAxis: String |
| Controls the placemtn of the y axis
|
|
public
| plotBackgroundVisible: Boolean |
|
|
|
public
| prefixYAxis: String |
| The prefix for y axis labels
|
|
public
| showAnnotations: Boolean |
| Should we display annotations when mouse over a marker. An event is raised when the marker is moused over so u can display annotations in anyway you choose
|
|
public
| showMarkers: Boolean |
| Are data point markers displayed on series
|
|
public
| showXAxisLabels: Boolean |
| Controls whether the x axis labels are shown
|
|
public
| showYAxisLabels: Boolean |
| Controls whether the y axis labels are shown
|
|
public
| styleClass: String |
| The name of the style class this instance will use.
|
|
public
| suffixYAxis: String |
| the suffix for y axis labels
|
|
public
| yearLabelFormat: String |
| Format for years dislayed on the x axis
|
|
| 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
| axisX (read-only)
|
| primary x axis descriptor
|
|
public
| axisX2 (read-only)
|
| secondary x axis descriptor
|
|
public
| axisY (read-only)
|
| primary y axis descriptor
|
|
public
| axisY2 (read-only)
|
| secondary y axis descriptor
|
|
public
| dataProvider: Object (read, write) |
| The source of the chart items.
|
|
public
| legendPlacement: String (read, write) |
|
|
|
public
| plotBackground: Object (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
| AxisChart (
)
|
|
|
|
Method Summary |
public
| addAnnotation (
series, plot, text
): Void |
| Add a single annotation
|
|
public
| addBand (
band: Band
): Band |
| Add a single band
|
|
public
| addLine (
line: Line
): Line |
| Add a single line
|
|
public
| addSeries (
series: Object, doDraw: Boolean
): Object |
| Add a series descriptor
|
|
public
| addTool (
type: String
): Object |
| adds the specified tool type to the chart
|
|
public
| drawChart (
): Void |
| Draw the entire chart
|
|
public
| drawSeries (
index
): Void |
| Draws a single series
|
|
public
| getClass (
): Function |
| Returns a reference to the components static class.
|
|
public
| getDwellLabel (
): Label |
|
|
|
public
| getTool (
index: Number
): Object |
| returns a reference to a tool
|
|
public
| getXSeries (
): Object |
| Retrieves the x axis descriptor
|
|
public
| getYSeries (
index
): Object |
| returns the yseries descriptor
|
|
public
| invalidateChart (
): Void |
|
|
|
public static
| newInstance (
owner, instanceId, depth, initObj
) |
| Creates a new Instance of this class
|
|
public
| removeSeries (
seriesName: String
): Void |
| Remove a data series
|
|
public
| removeTool (
index: Number
): Void |
| removes the tool from the chart
|
|
public
| setAreaSeries (
seriesName: String, data: Object, field: String, axis: Number, props: Object, doDraw: Boolean
): Object |
| Add a area data series
|
|
public
| setBarSeries (
seriesName: String, data: Object, field: String, axis: Number, props: Object, doDraw: Boolean
): Object |
| Add a Bar data series
|
|
public
| setHiLoSeries (
seriesName: String, data: Object, field: String, axis: Number, props: Object, doDraw: Boolean
): Object |
| Add a HiLo data series
|
|
public
| setLineSeries (
seriesName: String, data: Object, field: String, axis: Number, props: Object, doDraw: Boolean
): Object |
| Add a Line data series
|
|
public
| setSeries (
graphType: String, seriesName: String, data: Object, field: String, axis: Number, props: Object, doDraw: Boolean
): Object |
| Add a data series
|
|
public
| setSeriesAnnotations (
series, annos, plots
): Void |
| Add annotations
|
|
public
| setSeriesAttribute (
index, attribute: String, value: Object
): Void |
| Update a series
|
|
public
| setSeriesAttributes (
index, props: Object
): Void |
| Update a series
|
|
public
| setStackedBarSeries (
seriesName: String, data: Object, field: String, axis: Number, props: Object, doDraw: Boolean
): Object |
| Add a StackedBar data series
|
|
public
| setXSeries (
dp: Object, field: String, type: String, props: Object
): Void |
| Add the x axis data array
|
|
public
| setXSeriesFrequency (
frequency: String, startDate: Date, endDate: Date, units: Number
): Void |
| Create and add the x axis date array from a range of dates
|
|
public
| setYSeries (
seriesName: String, data: Object, field: String, axis: Number, props: Object, doDraw: Boolean
): Object |
| Add a data series
|
|
public
| setYSeriesAxis2 (
seriesName: String
): Void |
| sets the series that will be used to calculate the second yAxis
|
|
public
| updateChartDescriptor (
): Void |
| make sure the descriptor is up to date before we start to draw
|
|
public
| updateYSeries (
index, dp: Array, doDraw: Boolean
): Void |
| Update the data for a series
|
|
| 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 |
|
|