OverviewSingleDeprecated

jsx3.chart

class PlotSeries

Object
->jsx3.lang.Object
  ->jsx3.app.Model
    ->jsx3.gui.Painted
      ->jsx3.gui.Block
        ->jsx3.chart.ChartComponent
          ->jsx3.chart.Series
            ->jsx3.chart.PlotSeries

All Implemented Interfaces:

jsx3.gui.Interactive, jsx3.util.EventDispatcher

Direct Known Subclasses:

jsx3.chart.BubbleSeries, jsx3.chart.PointSeries

class PlotSeries
extends jsx3.chart.Series
Class encapsulating behavior shared by PointSeries and BubbleSeries

Constructor Summary
void
init(name : String, seriesName : String)
The instance initializer.
Method Summary
jsx3.chart.PointRenderer
Returns the renderer used for the legend.
jsx3.chart.PointRenderer
Returns the renderer field.
static String
Deprecated.
String
Returns the xField field.
Number
Returns the x-coordinate of a data point in this series for the given record.
String
Returns the yField field.
Number
Returns the y-coordinate of a data point in this series for the given record.
void
setRenderer(renderer : String)
Sets the renderer field.
void
setXField(xField : String)
Sets the xField field.
void
setYField(yField : String)
Sets the yField field.
Methods Inherited From jsx3.chart.Series
getColorFunction, getFill, getFillGradient, getIndex, getLabel, getSeriesName, getStroke, getTooltipFunction, getXAxis, getYAxis, setColorFunction, setFill, setFillGradient, setSeriesName, setStroke, setTooltipFunction
Methods Inherited From jsx3.chart.ChartComponent
getChart
Methods Inherited From jsx3.gui.Block
getBackground, getBackgroundColor, getBorder, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, paint, setBackground, setBackgroundColor, setBorder, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setText, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask
Methods Inherited From jsx3.gui.Interactive
doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy
Methods Inherited From jsx3.gui.Painted
focus, getAbsolutePosition, getAttribute, getAttributes, getDynamicProperty, getRendered, insertHTML, onAfterPaint, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, setAttribute, setDynamicProperty
Methods Inherited From jsx3.app.Model
adoptChild, doClone, findAncestor, findDescendants, getAncestorOfName, getAncestorOfType, getChild, getChildIndex, getChildren, getDescendantOfName, getDescendantsOfType, getFirstChild, getFirstChildOfType, getHelpId, getId, getLastChild, getLoadType, getMetaValue, getNS, getName, getNextSibling, getParent, getPersistence, getPreviousSibling, getServer, getUriResolver, insertBefore, load, loadAndCache, loadXML, onAfterAssemble, onAfterAttach, onBeforeAssemble, onChangeServer, onDestroy, onRemoveChild, onSetChild, onSetParent, removeChild, removeChildren, setChild, setHelpId, setLoadType, setMetaValue, setName, setPersistence, toString, toXML, toXMLDoc
Methods Inherited From jsx3.util.EventDispatcher
publish, subscribe, unsubscribe, unsubscribeAll
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf
Constructor Detail

init

void init(name : String, seriesName : String)
The instance initializer.

Parameters:

namethe GI name of the instance
seriesNamethe name of the Series, will be displayed in the Legend for most chart types
Method Detail

getLegendRenderer

jsx3.chart.PointRenderer getLegendRenderer()
Returns the renderer used for the legend.

Returns:

the same renderer as used to draw the points  

getRenderer

jsx3.chart.PointRenderer getRenderer()
Returns the renderer field.

Returns:

renderer  

getVersion

static String getVersion()
Deprecated.
Returns the release/build for the class (i.e., "2.2.00").

Returns:

 

getXField

String getXField()
Returns the xField field.

Returns:

xField  

getXValue

Number getXValue(record : jsx3.xml.Entity)
Returns the x-coordinate of a data point in this series for the given record.

Parameters:

recordthe node

Returns:

 

getYField

String getYField()
Returns the yField field.

Returns:

yField  

getYValue

Number getYValue(record : jsx3.xml.Entity)
Returns the y-coordinate of a data point in this series for the given record.

Parameters:

recordthe node

Returns:

 

setRenderer

void setRenderer(renderer : String)
Sets the renderer field.

Parameters:

rendererthe new value for renderer

setXField

void setXField(xField : String)
Sets the xField field.

Parameters:

xFieldthe new value for xField

setYField

void setYField(yField : String)
Sets the yField field.

Parameters:

yFieldthe new value for yField