<div class="header-panel member">
<h2><span class="identifier">MovingAverage</span> Class</h2>
<dl class="dl-horizontal">
<dt>File</dt><dd class="filename">wijmo.chart.analytics.js</dd>
<dt>Module</dt><dd><a href="topic/wijmo.chart.analytics.Module.html"><span class="identifier">wijmo.chart.analytics</span></a></dd>
<dt>Base Class</dt><dd><a href="topic/wijmo.chart.analytics.TrendLineBase.Class.html"><span class="identifier">TrendLineBase</span></a></dd>
<dt>Derived Classes</dt><dd><a href="topic/wijmo-wijmo.angular2.chart.analytics.WjFlexChartMovingAverage.Class.html"><span class="identifier">WjFlexChartMovingAverage</span></a></dd>
<dt>Show</dt>
<dd>
<label><input type="checkbox" ng-model="ctx.showInherited"> Inherited Members</label>&nbsp;&nbsp;&nbsp;
<label><input type="checkbox" ng-model="ctx.showRaisers"> Event Raisers</label>
</dd>
</dl>
<div class="comment"><p>Represents a moving average trend line for <a href="topic/wijmo.chart.FlexChart.Class.html"><span class="identifier">FlexChart</span></a> and <a href="topic/wijmo.chart.finance.FinancialChart.Class.html"><span class="identifier">FinancialChart</span></a>.</p>
<p>It is a calculation to analyze data points by creating a series of averages of
different subsets of the full data set. You may define a different type on each
<a href="topic/wijmo.chart.analytics.MovingAverage.Class.html"><span class="identifier">MovingAverage</span></a> object by setting the <a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#type"><span class="identifier">type</span></a> property on the
<a href="topic/wijmo.chart.analytics.MovingAverage.Class.html"><span class="identifier">MovingAverage</span></a> itself.</p>
<p>The <a href="topic/wijmo.chart.analytics.MovingAverage.Class.html"><span class="identifier">MovingAverage</span></a> class has a <a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#period"><span class="identifier">period</span></a> property that allows you to set
the number of periods for computing the average value.</p></div>
</div>
<div class="member-panel class members" ng-class="{ 'show-inherited' : ctx.showInherited, 'show-raisers' : ctx.showRaisers }">
<h3 class="node">Constructor</h3>
<ul>
<li class="mmethod"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#constructor">constructor</a></li>
</ul>
<h3 class="node">Properties</h3>
<ul>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#altStyle">altStyle</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#axisX">axisX</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#axisY">axisY</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#binding">binding</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#bindingX">bindingX</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#chart">chart</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#collectionView">collectionView</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#cssClass">cssClass</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#hostElement">hostElement</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#itemsSource">itemsSource</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#legendElement">legendElement</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#name">name</a></li>
<li class="mproperty"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#period">period</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#sampleCount">sampleCount</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#style">style</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#symbolMarker">symbolMarker</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#symbolSize">symbolSize</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#symbolStyle">symbolStyle</a></li>
<li class="mproperty"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#type">type</a></li>
<li class="mproperty inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#visibility">visibility</a></li>
</ul>
<h3 class="node">Methods</h3>
<ul>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#approximate">approximate</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#dataToPoint">dataToPoint</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#drawLegendItem">drawLegendItem</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#getDataRect">getDataRect</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#getPlotElement">getPlotElement</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#hitTest">hitTest</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#initialize">initialize</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#legendItemLength">legendItemLength</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#measureLegendItem">measureLegendItem</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#onRendered">onRendered</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#onRendering">onRendering</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#pointToData">pointToData</a></li>
</ul>
<h3 class="node">Events</h3>
<ul>
<li class="mevent inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#rendered">rendered</a></li>
<li class="mevent inherited"><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#rendering">rendering</a></li>
</ul>
</div>
<h3>Constructor</h3>
<div id="constructor" class="member-panel mmethod">
<h3>constructor</h3>
<pre>constructor(options?: <span class="identifier">any</span>): <a href="topic/wijmo.chart.analytics.MovingAverage.Class.html"><span class="identifier">MovingAverage</span></a></pre>
<div class="comment"><p>Initializes a new instance of the <a href="topic/wijmo.chart.analytics.MovingAverage.Class.html"><span class="identifier">MovingAverage</span></a> class.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>options</b>: <span class="identifier">any</span> <span class="badge">Optional</span><br/><p>JavaScript object containing initialization data for the object.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.chart.analytics.MovingAverage.Class.html"><span class="identifier">MovingAverage</span></a></dd>
</dl>
</div>
<h3 class="node">Properties</h3>
<div class="member-list" ng-class="{ 'show-inherited' : ctx.showInherited, 'show-raisers' : ctx.showRaisers }">
<div id="altStyle" class="member-panel mproperty inherited">
<h3>altStyle</h3>
<div class="comment"><p>Gets or sets the alternative style for the series. The values from
this property will be used for negative values in Bar, Column,
and Scatter charts; and for rising values in financial chart types
like Candlestick, LineBreak, EquiVolume etc.</p>
<p>If no value is provided, the default styles will be used.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><span class="identifier">any</span></dd>
</dl>
</div>
<div id="axisX" class="member-panel mproperty inherited">
<h3>axisX</h3>
<div class="comment"><p>Gets or sets the x-axis for the series.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="topic/wijmo.chart.Axis.Class.html"><span class="identifier">Axis</span></a></dd>
</dl>
</div>
<div id="axisY" class="member-panel mproperty inherited">
<h3>axisY</h3>
<div class="comment"><p>Gets or sets the y-axis for the series.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="topic/wijmo.chart.Axis.Class.html"><span class="identifier">Axis</span></a></dd>
</dl>
</div>
<div id="binding" class="member-panel mproperty inherited">
<h3>binding</h3>
<div class="comment"><p>Gets or sets the name of the property that contains Y values for the series.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a></dd>
</dl>
</div>
<div id="bindingX" class="member-panel mproperty inherited">
<h3>bindingX</h3>
<div class="comment"><p>Gets or sets the name of the property that contains X values for the series.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a></dd>
</dl>
</div>
<div id="chart" class="member-panel mproperty inherited">
<h3>chart</h3>
<div class="comment"><p>Gets the <a href="topic/wijmo.chart.FlexChart.Class.html"><span class="identifier">FlexChart</span></a> object that owns this series.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="topic/wijmo.chart.FlexChartCore.Class.html"><span class="identifier">FlexChartCore</span></a></dd>
</dl>
</div>
<div id="collectionView" class="member-panel mproperty inherited">
<h3>collectionView</h3>
<div class="comment"><p>Gets the <a href="topic/wijmo.collections.ICollectionView.Interface.html"><span class="identifier">ICollectionView</span></a> object that contains the data for this series.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="topic/wijmo.collections.ICollectionView.Interface.html"><span class="identifier">ICollectionView</span></a></dd>
</dl>
</div>
<div id="cssClass" class="member-panel mproperty inherited">
<h3>cssClass</h3>
<div class="comment"><p>Gets or sets the series CSS class.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a></dd>
</dl>
</div>
<div id="hostElement" class="member-panel mproperty inherited">
<h3>hostElement</h3>
<div class="comment"><p>Gets the series host element.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/API/SVGGElement" target="_blank"><span class="identifier">SVGGElement</span></a></dd>
</dl>
</div>
<div id="itemsSource" class="member-panel mproperty inherited">
<h3>itemsSource</h3>
<div class="comment"><p>Gets or sets the array or <a href="topic/wijmo.collections.ICollectionView.Interface.html"><span class="identifier">ICollectionView</span></a> object that contains the series data.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><span class="identifier">any</span></dd>
</dl>
</div>
<div id="legendElement" class="member-panel mproperty inherited">
<h3>legendElement</h3>
<div class="comment"><p>Gets the series element in the legend.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/API/SVGGElement" target="_blank"><span class="identifier">SVGGElement</span></a></dd>
</dl>
</div>
<div id="name" class="member-panel mproperty inherited">
<h3>name</h3>
<div class="comment"><p>Gets or sets the series name.</p>
<p>The series name is displayed in the chart legend. Any series without a name
does not appear in the legend.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a></dd>
</dl>
</div>
<div id="period" class="member-panel mproperty">
<h3>period</h3>
<div class="comment"><p>Gets or sets the period of the moving average series.
It should be set to integer value greater than 1.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
<div id="sampleCount" class="member-panel mproperty inherited">
<h3>sampleCount</h3>
<div class="comment"><p>Gets or sets the sample count for function calculation. 
The property doesn't apply for MovingAverage.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.analytics.TrendLineBase.Class.html"><span class="identifier">TrendLineBase</span></a></dd>
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
<div id="style" class="member-panel mproperty inherited">
<h3>style</h3>
<div class="comment"><p>Gets or sets the series style.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><span class="identifier">any</span></dd>
</dl>
</div>
<div id="symbolMarker" class="member-panel mproperty inherited">
<h3>symbolMarker</h3>
<div class="comment"><p>Gets or sets the shape of marker to use for each data point in the series.
Applies to Scatter, LineSymbols, and SplineSymbols chart types.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="topic/wijmo.chart.Marker.Enum.html"><span class="identifier">Marker</span></a></dd>
</dl>
</div>
<div id="symbolSize" class="member-panel mproperty inherited">
<h3>symbolSize</h3>
<div class="comment"><p>Gets or sets the size (in pixels) of the symbols used to render this <a href="topic/wijmo.chart.Series.Class.html"><span class="identifier">Series</span></a>.
Applies to Scatter, LineSymbols, and SplineSymbols chart types.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
<div id="symbolStyle" class="member-panel mproperty inherited">
<h3>symbolStyle</h3>
<div class="comment"><p>Gets or sets the series symbol style.
Applies to Scatter, LineSymbols, and SplineSymbols chart types.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><span class="identifier">any</span></dd>
</dl>
</div>
<div id="type" class="member-panel mproperty">
<h3>type</h3>
<div class="comment"><p>Gets or sets the type of the moving average series.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="topic/wijmo.chart.analytics.MovingAverageType.Enum.html"><span class="identifier">MovingAverageType</span></a></dd>
</dl>
</div>
<div id="visibility" class="member-panel mproperty inherited">
<h3>visibility</h3>
<div class="comment"><p>Gets or sets an enumerated value indicating whether and where the series appears.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Type</dt><dd><a href="topic/wijmo.chart.SeriesVisibility.Enum.html"><span class="identifier">SeriesVisibility</span></a></dd>
</dl>
</div>
</div>
<h3 class="node">Methods</h3>
<div class="member-list" ng-class="{ 'show-inherited' : ctx.showInherited, 'show-raisers' : ctx.showRaisers }">
<div id="approximate" class="member-panel mmethod inherited">
<h3>approximate</h3>
<pre>approximate(x: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>): <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></pre>
<div class="comment"><p>Gets the approximate y value from the given x value.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>x</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>The x value to be used for calculating the Y value.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.analytics.TrendLineBase.Class.html"><span class="identifier">TrendLineBase</span></a></dd>
  <dt>Returns</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
<div id="dataToPoint" class="member-panel mmethod inherited">
<h3>dataToPoint</h3>
<pre>dataToPoint(pt: <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a>): <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a></pre>
<div class="comment"><p>Converts a <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a> from series data coordinates to control coordinates.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>pt</b>: <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a><br/><p><a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a> in series data coordinates.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Returns</dt><dd><a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a></dd>
</dl>
</div>
<div id="drawLegendItem" class="member-panel mmethod inherited">
<h3>drawLegendItem</h3>
<pre>drawLegendItem(engine: <a href="topic/wijmo.chart.IRenderEngine.Interface.html"><span class="identifier">IRenderEngine</span></a>, rect: <a href="topic/wijmo.Rect.Class.html"><span class="identifier">Rect</span></a>, index: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>): <span class="identifier">void</span></pre>
<div class="comment"><p>Draw a legend item at the specified position.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>engine</b>: <a href="topic/wijmo.chart.IRenderEngine.Interface.html"><span class="identifier">IRenderEngine</span></a><br/><p>The rendering engine to use.</p></li><li><b>rect</b>: <a href="topic/wijmo.Rect.Class.html"><span class="identifier">Rect</span></a><br/><p>The position of the legend item.</p></li><li><b>index</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>Index of legend item(for series with multiple legend items).</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">void</span></dd>
</dl>
</div>
<div id="getDataRect" class="member-panel mmethod inherited">
<h3>getDataRect</h3>
<pre>getDataRect(currentRect?: <a href="topic/wijmo.Rect.Class.html"><span class="identifier">Rect</span></a>, calculatedRect?: <a href="topic/wijmo.Rect.Class.html"><span class="identifier">Rect</span></a>): <a href="topic/wijmo.Rect.Class.html"><span class="identifier">Rect</span></a></pre>
<div class="comment"><p>Returns the series bounding rectangle in data coordinates.</p>
<p>If getDataRect() returns null, the limits are calculated automatically based on the data values.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>currentRect</b>: <a href="topic/wijmo.Rect.Class.html"><span class="identifier">Rect</span></a> <span class="badge">Optional</span><br/><p>The current rectangle of chart. This parameter is optional.</p></li><li><b>calculatedRect</b>: <a href="topic/wijmo.Rect.Class.html"><span class="identifier">Rect</span></a> <span class="badge">Optional</span><br/><p>The calculated rectangle of chart. This parameter is optional.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Returns</dt><dd><a href="topic/wijmo.Rect.Class.html"><span class="identifier">Rect</span></a></dd>
</dl>
</div>
<div id="getPlotElement" class="member-panel mmethod inherited">
<h3>getPlotElement</h3>
<pre>getPlotElement(pointIndex: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>): <span class="identifier">any</span></pre>
<div class="comment"><p>Gets the plot element that corresponds to the specified point index.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>pointIndex</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>The index of the data point.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">any</span></dd>
</dl>
</div>
<div id="hitTest" class="member-panel mmethod inherited">
<h3>hitTest</h3>
<pre>hitTest(pt: <span class="identifier">any</span>, y?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>): <a href="topic/wijmo.chart.HitTestInfo.Class.html"><span class="identifier">HitTestInfo</span></a></pre>
<div class="comment"><p>Gets a <a href="topic/wijmo.chart.HitTestInfo.Class.html"><span class="identifier">HitTestInfo</span></a> object with information about the specified point.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>pt</b>: <span class="identifier">any</span><br/><p>The point to investigate, in window coordinates.</p></li><li><b>y</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a> <span class="badge">Optional</span><br/><p>The Y coordinate of the point (if the first parameter is a number).</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Returns</dt><dd><a href="topic/wijmo.chart.HitTestInfo.Class.html"><span class="identifier">HitTestInfo</span></a></dd>
</dl>
</div>
<div id="initialize" class="member-panel mmethod inherited">
<h3>initialize</h3>
<pre>initialize(options: <span class="identifier">any</span>): <span class="identifier">void</span></pre>
<div class="comment"><p>Initializes the series by copying the properties from a given object.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>options</b>: <span class="identifier">any</span><br/><p>JavaScript object containing initialization data for the series.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">void</span></dd>
</dl>
</div>
<div id="legendItemLength" class="member-panel mmethod inherited">
<h3>legendItemLength</h3>
<pre>legendItemLength(): <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></pre>
<div class="comment"><p>Returns number of series items in the legend.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Returns</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
<div id="measureLegendItem" class="member-panel mmethod inherited">
<h3>measureLegendItem</h3>
<pre>measureLegendItem(engine: <a href="topic/wijmo.chart.IRenderEngine.Interface.html"><span class="identifier">IRenderEngine</span></a>, index: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>): <a href="topic/wijmo.Size.Class.html"><span class="identifier">Size</span></a></pre>
<div class="comment"><p>Measures height and width of the legend item.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>engine</b>: <a href="topic/wijmo.chart.IRenderEngine.Interface.html"><span class="identifier">IRenderEngine</span></a><br/><p>The rendering engine to use.</p></li><li><b>index</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>Index of legend item(for series with multiple legend items).</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Returns</dt><dd><a href="topic/wijmo.Size.Class.html"><span class="identifier">Size</span></a></dd>
</dl>
</div>
<div id="onRendered" class="member-panel mmethod inherited">
<h3>onRendered</h3>
<pre>onRendered(engine: <a href="topic/wijmo.chart.IRenderEngine.Interface.html"><span class="identifier">IRenderEngine</span></a>): <span class="identifier">void</span></pre>
<div class="comment"><p>Raises the <a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#rendered"><span class="identifier">rendered</span></a> event.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>engine</b>: <a href="topic/wijmo.chart.IRenderEngine.Interface.html"><span class="identifier">IRenderEngine</span></a><br/><p>The <a href="topic/wijmo.chart.IRenderEngine.Interface.html"><span class="identifier">IRenderEngine</span></a> object used to render the series.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">void</span></dd>
</dl>
</div>
<div id="onRendering" class="member-panel mmethod inherited">
<h3>onRendering</h3>
<pre>onRendering(engine: <a href="topic/wijmo.chart.IRenderEngine.Interface.html"><span class="identifier">IRenderEngine</span></a>, index: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, count: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>): <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Boolean" target="_blank"><span class="identifier">boolean</span></a></pre>
<div class="comment"><p>Raises the <a href="topic/wijmo.chart.analytics.MovingAverage.Class.html/#rendering"><span class="identifier">rendering</span></a> event.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>engine</b>: <a href="topic/wijmo.chart.IRenderEngine.Interface.html"><span class="identifier">IRenderEngine</span></a><br/><p>The <a href="topic/wijmo.chart.IRenderEngine.Interface.html"><span class="identifier">IRenderEngine</span></a> object used to render the series.</p></li><li><b>index</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>The index of the series to render.</p></li><li><b>count</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>Total number of the series to render.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Returns</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Boolean" target="_blank"><span class="identifier">boolean</span></a></dd>
</dl>
</div>
<div id="pointToData" class="member-panel mmethod inherited">
<h3>pointToData</h3>
<pre>pointToData(pt: <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a>): <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a></pre>
<div class="comment"><p>Converts a <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a> from control coordinates to series data coordinates.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>pt</b>: <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a><br/><p>The point to convert, in control coordinates.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Returns</dt><dd><a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a></dd>
</dl>
</div>
</div>
<h3 class="node">Events</h3>
<div class="member-list" ng-class="{ 'show-inherited' : ctx.showInherited, 'show-raisers' : ctx.showRaisers }">
<div id="rendered" class="member-panel mevent inherited">
<h3>rendered</h3>
<div class="comment"><p>Occurs when series is rendered.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Arguments</dt><dd><a href="topic/wijmo.chart.IRenderEngine.Interface.html"><span class="identifier">IRenderEngine</span></a></dd>
</dl>
</div>
<div id="rendering" class="member-panel mevent inherited">
<h3>rendering</h3>
<div class="comment"><p>Occurs when series is rendering.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.chart.SeriesBase.Class.html"><span class="identifier">SeriesBase</span></a></dd>
  <dt>Arguments</dt><dd><a href="topic/wijmo.EventArgs.Class.html"><span class="identifier">EventArgs</span></a></dd>
</dl>
</div>
</div>
