<div class="header-panel member">
<h2><span class="identifier">AxisCollection</span> Class</h2>
<dl class="dl-horizontal">
<dt>File</dt><dd class="filename">wijmo.chart.js</dd>
<dt>Module</dt><dd><a href="topic/wijmo.chart.Module.html"><span class="identifier">wijmo.chart</span></a></dd>
<dt>Base Class</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</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 collection of <a href="topic/wijmo.chart.Axis.Class.html"><span class="identifier">Axis</span></a> objects in a <a href="topic/wijmo.chart.FlexChart.Class.html"><span class="identifier">FlexChart</span></a> control.</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 inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#constructor">constructor</a></li>
</ul>
<h3 class="node">Properties</h3>
<ul>
<li class="mproperty inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#isUpdating">isUpdating</a></li>
</ul>
<h3 class="node">Methods</h3>
<ul>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#beginUpdate">beginUpdate</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#clear">clear</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#deferUpdate">deferUpdate</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#endUpdate">endUpdate</a></li>
<li class="mmethod"><a href="topic/wijmo.chart.AxisCollection.Class.html/#getAxis">getAxis</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#implementsInterface">implementsInterface</a></li>
<li class="mmethod"><a href="topic/wijmo.chart.AxisCollection.Class.html/#indexOf">indexOf</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#insert">insert</a></li>
<li class="mmethod inherited raiser"><a href="topic/wijmo.chart.AxisCollection.Class.html/#onCollectionChanged">onCollectionChanged</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#push">push</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#remove">remove</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#removeAt">removeAt</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#setAt">setAt</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#slice">slice</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#sort">sort</a></li>
<li class="mmethod inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#splice">splice</a></li>
</ul>
<h3 class="node">Events</h3>
<ul>
<li class="mevent inherited"><a href="topic/wijmo.chart.AxisCollection.Class.html/#collectionChanged">collectionChanged</a></li>
</ul>
</div>
<h3>Constructor</h3>
<div id="constructor" class="member-panel mmethod inherited">
<h3>constructor</h3>
<pre>constructor(data?: <span class="identifier">any</span>[]): <a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></pre>
<div class="comment"><p>Initializes a new instance of the <a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a> class.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>data</b>: <span class="identifier">any</span>[] <span class="badge">Optional</span><br/><p>Array containing items used to populate the <a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a>.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</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="isUpdating" class="member-panel mproperty inherited">
<h3>isUpdating</h3>
<div class="comment"><p>Gets a value that indicates whether notifications are currently suspended
(see <a href="topic/wijmo.chart.AxisCollection.Class.html/#beginUpdate"><span class="identifier">beginUpdate</span></a> and <a href="topic/wijmo.chart.AxisCollection.Class.html/#endUpdate"><span class="identifier">endUpdate</span></a>).</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Type</dt><dd></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="beginUpdate" class="member-panel mmethod inherited">
<h3>beginUpdate</h3>
<pre>beginUpdate(): <span class="identifier">void</span></pre>
<div class="comment"><p>Suspends notifications until the next call to <a href="topic/wijmo.chart.AxisCollection.Class.html/#endUpdate"><span class="identifier">endUpdate</span></a>.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">void</span></dd>
</dl>
</div>
<div id="clear" class="member-panel mmethod inherited">
<h3>clear</h3>
<pre>clear(): <span class="identifier">void</span></pre>
<div class="comment"><p>Removes all items from the array.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">void</span></dd>
</dl>
</div>
<div id="deferUpdate" class="member-panel mmethod inherited">
<h3>deferUpdate</h3>
<pre>deferUpdate(fn: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Function" target="_blank"><span class="identifier">Function</span></a>): <span class="identifier">void</span></pre>
<div class="comment"><p>Executes a function within a <a href="topic/wijmo.chart.AxisCollection.Class.html/#beginUpdate"><span class="identifier">beginUpdate</span></a>/<a href="topic/wijmo.chart.AxisCollection.Class.html/#endUpdate"><span class="identifier">endUpdate</span></a> block.</p>
<p>The collection will not be refreshed until the function finishes. 
This method ensures <a href="topic/wijmo.chart.AxisCollection.Class.html/#endUpdate"><span class="identifier">endUpdate</span></a> is called even if the function throws
an exception.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>fn</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Function" target="_blank"><span class="identifier">Function</span></a><br/><p>Function to be executed without updates.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">void</span></dd>
</dl>
</div>
<div id="endUpdate" class="member-panel mmethod inherited">
<h3>endUpdate</h3>
<pre>endUpdate(): <span class="identifier">void</span></pre>
<div class="comment"><p>Resumes notifications suspended by a call to <a href="topic/wijmo.chart.AxisCollection.Class.html/#beginUpdate"><span class="identifier">beginUpdate</span></a>.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">void</span></dd>
</dl>
</div>
<div id="getAxis" class="member-panel mmethod">
<h3>getAxis</h3>
<pre>getAxis(name: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a>): <a href="topic/wijmo.chart.Axis.Class.html"><span class="identifier">Axis</span></a></pre>
<div class="comment"><p>Gets an axis by name.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>name</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a><br/><p>The name of the axis to look for.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.chart.Axis.Class.html"><span class="identifier">Axis</span></a></dd>
</dl>
</div>
<div id="implementsInterface" class="member-panel mmethod inherited">
<h3>implementsInterface</h3>
<pre>implementsInterface(interfaceName: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</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>Returns true if the caller queries for a supported interface.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>interfaceName</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a><br/><p>Name of the interface to look for.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</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="indexOf" class="member-panel mmethod">
<h3>indexOf</h3>
<pre>indexOf(name: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</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 index of an axis by name.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>name</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a><br/><p>The name of the axis to look for.</p></li></ul>
<dl class="dl-horizontal">
  <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="insert" class="member-panel mmethod inherited">
<h3>insert</h3>
<pre>insert(index: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, item: <span class="identifier">any</span>): <span class="identifier">void</span></pre>
<div class="comment"><p>Inserts an item at a specific position in the array.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<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>Position where the item will be added.</p></li><li><b>item</b>: <span class="identifier">any</span><br/><p>Item to add to the array.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">void</span></dd>
</dl>
</div>
<div id="onCollectionChanged" class="member-panel mmethod inherited raiser">
<h3>onCollectionChanged</h3>
<pre>onCollectionChanged(e?: <a href="topic/wijmo.collections.NotifyCollectionChangedEventArgs.Class.html"><span class="identifier">NotifyCollectionChangedEventArgs</span></a>): <span class="identifier">void</span></pre>
<div class="comment"><p>Raises the <a href="topic/wijmo.chart.AxisCollection.Class.html/#collectionChanged"><span class="identifier">collectionChanged</span></a> event.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>e</b>: <a href="topic/wijmo.collections.NotifyCollectionChangedEventArgs.Class.html"><span class="identifier">NotifyCollectionChangedEventArgs</span></a> <span class="badge">Optional</span><br/><p>Contains a description of the change.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">void</span></dd>
</dl>
</div>
<div id="push" class="member-panel mmethod inherited">
<h3>push</h3>
<pre>push(...item: <span class="identifier">any</span>[]): <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>Adds one or more items to the end of the array.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>...item</b>: <span class="identifier">any</span>[]<br/><p>One or more items to add to the array.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</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="remove" class="member-panel mmethod inherited">
<h3>remove</h3>
<pre>remove(item: <span class="identifier">any</span>): <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>Removes an item from the array.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>item</b>: <span class="identifier">any</span><br/><p>Item to remove.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</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="removeAt" class="member-panel mmethod inherited">
<h3>removeAt</h3>
<pre>removeAt(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>Removes an item at a specific position in the array.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<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>Position of the item to remove.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">void</span></dd>
</dl>
</div>
<div id="setAt" class="member-panel mmethod inherited">
<h3>setAt</h3>
<pre>setAt(index: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, item: <span class="identifier">any</span>): <span class="identifier">void</span></pre>
<div class="comment"><p>Assigns an item at a specific position in the array.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<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>Position where the item will be assigned.</p></li><li><b>item</b>: <span class="identifier">any</span><br/><p>Item to assign to the array.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">void</span></dd>
</dl>
</div>
<div id="slice" class="member-panel mmethod inherited">
<h3>slice</h3>
<pre>slice(begin?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, end?: <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>Creates a shallow copy of a portion of an array.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>begin</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>Position where the copy starts.</p></li><li><b>end</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>Position where the copy ends.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">any</span>[]</dd>
</dl>
</div>
<div id="sort" class="member-panel mmethod inherited">
<h3>sort</h3>
<pre>sort(compareFn?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Function" target="_blank"><span class="identifier">Function</span></a>): <span class="identifier">this</span></pre>
<div class="comment"><p>Sorts the elements of the array in place.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>compareFn</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Function" target="_blank"><span class="identifier">Function</span></a> <span class="badge">Optional</span><br/><p>Specifies a function that defines the sort order. 
If specified, the function should take two arguments and should return
-1, +1, or 0 to indicate the first argument is smaller, greater than,
or equal to the second argument.
If omitted, the array is sorted in dictionary order according to the 
string conversion of each element.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">this</span></dd>
</dl>
</div>
<div id="splice" class="member-panel mmethod inherited">
<h3>splice</h3>
<pre>splice(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>, item?: <span class="identifier">any</span>): <span class="identifier">any</span>[]</pre>
<div class="comment"><p>Removes and/or adds items to the array.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<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>Position where items will be added or removed.</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>Number of items to remove from the array.</p></li><li><b>item</b>: <span class="identifier">any</span> <span class="badge">Optional</span><br/><p>Item to add to the array.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Returns</dt><dd><span class="identifier">any</span>[]</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="collectionChanged" class="member-panel mevent inherited">
<h3>collectionChanged</h3>
<div class="comment"><p>Occurs when the collection changes.</p></div>
<dl class="dl-horizontal">
  <dt>Inherited From</dt><dd><a href="topic/wijmo.collections.ObservableArray.Class.html"><span class="identifier">ObservableArray</span></a></dd>
  <dt>Arguments</dt><dd><a href="topic/wijmo.collections.NotifyCollectionChangedEventArgs.Class.html"><span class="identifier">NotifyCollectionChangedEventArgs</span></a></dd>
</dl>
</div>
</div>
