53
Name
Parameters
Description
approximate(x): number x (number): The x value to be used for calculating
the Y value.
Gets the approximate y value from the given x
value.
(inherited from TrendLineBase).
constructor(options?)
options? (): A JavaScript object containing
initialization data for the MovingAverage Series.
Initializes a new instance of
the MovingAverage class.
(inherited from MovingAverage).
drawLegendItem(engine,
rect, index)
engine (IRenderEngine): The rendering engine to
use.
rect (Rect): The position of the legend item.
index (number): Index of legend item(for series
with multiple legend items).
Draw a legend item at the specified position.
(inherited from SeriesBase).
getDataRect(): Rect
Returns series bounding rectangle in data
coordinates.
If getDataRect() returns null, the limits are
calculated automatically based on the data values.
(inherited from SeriesBase).
.
getPlotElement
(pointIndex): any
pointIndex (number): The index of the data point. Gets the plot element that corresponds to the
specified point index.
(inherited from SeriesBase).
hitTest(pt, y?): HitTestInfo
pt (any): The point to investigate, in window
coordinates.
y? (number): The Y coordinate of the point (if the
first parameter is a number).
Gets a HitTestInfo object with information about
the specified point.
(inherited from SeriesBase).
legendItemLength
(): number
Returns number of series items in the legend.
(inherited from SeriesBase).
measureLegendItem
(engine, index):Size
engine (IRenderEngine): The rendering engine to
use.
Measures height and width of the legend item.
(inherited from SeriesBase).