Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.chart.series.Radar.html
1 <!DOCTYPE html><html><head><title>Ext.chart.series.Radar | Ext JS 4.0 Documentation</title><script type="text/javascript" src="../ext-all.js"></script><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../scrollbars.css" type="text/css"><link rel="stylesheet" href="../docs.css" type="text/css"><link id="styleCss" rel="stylesheet" href="../style.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script><link rel="stylesheet" href="../prettify.css" type="text/css"><!-- link(rel: 'stylesheet', href: req.baseURL + '/css/ext4.css', type: 'text/css')--><link rel="shortcut icon" type="image/ico" href="../favicon.ico"><!--[if IE]>
2 <style type="text/css">.head-band { display: none; }
3 .header { border: 0; top: 0; left: 0px; background: url(../header.gif) repeat-x; }
4 .doc-tab .members .member a.more { background-color: #efefef; }
5 </style><link rel="stylesheet" href="/new/css/ie.css" type="text/css"><![endif]-->
6 </head><body id="ext-body" class="iScroll"><div id="notice" class="notice">For up to date documentation and features, visit 
7 <a href="http://docs.sencha.com/ext-js/4-0">http://docs.sencha.com/ext-js/4-0</a></div><div class="wrapper"><div class="head-band"></div><div class="header"><h2><a href="../index.html">Sencha Documentation</a></h2></div><div id="search"><form><input type="text" placeholder="Search" id="search-field" autocomplete="off" name="q"></form><div id="search-box"></div></div><div id="treePanel"></div><div id="container"><script type="text/javascript">
8
9     req = {
10         liveURL: '.',
11         standAloneMode: true,
12         origDocClass: 'Ext.chart.series.Radar',
13         docClass: 'Ext.chart.series.Radar',
14         docReq: 'Ext.chart.series.Radar',
15         version: '4.0',
16         baseURL: '.',
17         baseDocURL: '.',
18         baseProdURL: '.'
19     };
20
21     clsInfo = {};
22
23
24
25 </script>
26
27 <script type="text/javascript" src="../search.js"></script>
28 <!--script type="text/javascript" src="/new/javascripts/app/examples.js"></script-->
29 <script type="text/javascript" src="../class_tree.js"></script>
30 <script type="text/javascript" src="../class_doc.js"></script>
31 <script type="text/javascript">
32     req.source = 'Radar.html#Ext-chart.series.Radar';
33     clsInfo = {"methods":["addEvents","addListener","addManagedListener","capture","clearListeners","clearManagedListeners","drawSeries","enableBubble","fireEvent","getItemForPoint","getLegendColor","hasListener","hideAll","highlightItem","observe","on","relayEvents","releaseCapture","removeListener","removeManagedListener","resumeEvents","setTitle","showAll","suspendEvents","un","unHighlightItem"],"cfgs":["color","display","field","font","highlight","listeners","minMargin","orientation","renderer","shadowAttributes","showInLegend","style","tips","title","type"],"properties":["highlight"],"events":["titlechange"],"subclasses":[]};
34     Ext.onReady(function() {
35         Ext.create('Docs.classPanel');
36     });
37 </script><div id="top-block" class="top-block"><h1 id="clsTitle" class="cls"><a href="../source/Radar.html#Ext-chart.series.Radar" target="_blank">Ext.chart.series.Radar</a><span>xtype: radar</span></h1></div><div id="docContent"><div id="doc-overview-content"><div class="lft"><pre class="subclasses"><h4>Hierarchy</h4><div class="subclass f"><a href="Ext.chart.series.Series.html" rel="Ext.chart.series.Series" class="cls docClass">Ext.chart.series.Series</a><div class="subclass"><strong>Ext.chart.series.Radar</strong></div></div><h4>Mixins</h4><div class="mixin"><a href="Ext.util.Observable.html" rel="Ext.util.Observable" class="cls docClass">Ext.util.Observable</a></div><div class="mixin"><a href="Ext.chart.Label.html" rel="Ext.chart.Label" class="cls docClass">Ext.chart.Label</a></div><div class="mixin"><a href="Ext.chart.Highlight.html" rel="Ext.chart.Highlight" class="cls docClass">Ext.chart.Highlight</a></div><div class="mixin"><a href="Ext.chart.Tip.html" rel="Ext.chart.Tip" class="cls docClass">Ext.chart.Tip</a></div><div class="mixin"><a href="Ext.chart.Callout.html" rel="Ext.chart.Callout" class="cls docClass">Ext.chart.Callout</a></div></pre><p>Creates a Radar Chart. A Radar Chart is a useful visualization technique for comparing different quantitative values for
38 a constrained number of categories.
39 As with all other series, the Radar series must be appended in the <em>series</em> Chart array configuration. See the Chart
40 documentation for more information. A typical configuration object for the radar series could be:</p>
41
42 <p><img class="screenshot" src="../Ext.chart.series.Radar.png" alt="Ext.chart.series.Radar chart series" /></p>
43
44 <pre class="prettyprint"><code>var store = Ext.create('Ext.data.JsonStore', {
45     fields: ['name', 'data1', 'data2', 'data3', 'data4', 'data5'],
46     data: [
47         {'name':'metric one', 'data1':10, 'data2':12, 'data3':14, 'data4':8, 'data5':13},
48         {'name':'metric two', 'data1':7, 'data2':8, 'data3':16, 'data4':10, 'data5':3},
49         {'name':'metric three', 'data1':5, 'data2':2, 'data3':14, 'data4':12, 'data5':7},
50         {'name':'metric four', 'data1':2, 'data2':14, 'data3':6, 'data4':1, 'data5':23},
51         {'name':'metric five', 'data1':27, 'data2':38, 'data3':36, 'data4':13, 'data5':33}                                                
52     ]
53 });
54
55 Ext.create('Ext.chart.Chart', {
56     renderTo: Ext.getBody(),
57     width: 500,
58     height: 300,
59     animate: true,
60     theme:'Category2',
61     store: store,
62     axes: [{
63         type: 'Radial',
64         position: 'radial',
65         label: {
66             display: true
67         }
68     }],
69     series: [{
70         type: 'radar',
71         xField: 'name',
72         yField: 'data3',
73         showInLegend: true,
74         showMarkers: true,
75         markerConfig: {
76             radius: 5,
77             size: 5           
78         },
79         style: {
80             'stroke-width': 2,
81             fill: 'none'
82         }
83     },{
84         type: 'radar',
85         xField: 'name',
86         yField: 'data2',
87         showMarkers: true,
88         showInLegend: true,
89         markerConfig: {
90             radius: 5,
91             size: 5
92         },
93         style: {
94             'stroke-width': 2,
95             fill: 'none'
96         }
97     },{
98         type: 'radar',
99         xField: 'name',
100         yField: 'data5',
101         showMarkers: true,
102         showInLegend: true,
103         markerConfig: {
104             radius: 5,
105             size: 5
106         },
107         style: {
108             'stroke-width': 2,
109             fill: 'none'
110         }
111     }]    
112 });
113 </code></pre>
114
115 <p>In this configuration we add three series to the chart. Each of these series is bound to the same categories field, <code>name</code> but bound to different properties for each category,
116 <code>data1</code>, <code>data2</code> and <code>data3</code> respectively. All series display markers by having <code>showMarkers</code> enabled. The configuration for the markers of each series can be set by adding properties onto
117 the markerConfig object. Finally we override some theme styling properties by adding properties to the <code>style</code> object.</p>
118 <div class="members"><div class="m-cfgs"><div class="definedBy">Defined By</div><a name="configs"></a><h3 class="cfg p">Config Options</h3><h4 class="cfgGroup">Other Configs</h4><div id="config-color" class="member f inherited"><a href="Ext.chart.series.Radar.html#config-color" rel="config-color" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.Label.html" class="definedIn docClass">Ext.chart.Label</a><br/><a href="../source/Label2.html#Ext-chart.Label-cfg-color" class="viewSource">view source</a></div><a name="color"></a><a name="config-color"></a><a href="Ext.chart.series.Radar.html#" rel="config-color" class="cls expand">color</a><span> : String</span></div><div class="description"><div class="short"><p>The color of the label text.
119 Default value: '#000' (black).</p>
120 </div><div class="long"><p>The color of the label text.
121 Default value: '#000' (black).</p>
122 </div></div></div><div id="config-display" class="member inherited"><a href="Ext.chart.series.Radar.html#config-display" rel="config-display" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.Label.html" class="definedIn docClass">Ext.chart.Label</a><br/><a href="../source/Label2.html#Ext-chart.Label-cfg-display" class="viewSource">view source</a></div><a name="display"></a><a name="config-display"></a><a href="Ext.chart.series.Radar.html#" rel="config-display" class="cls expand">display</a><span> : String</span></div><div class="description"><div class="short">Specifies the presence and position of labels for each pie slice. Either "rotate", "middle", "insideStart",
123 "insideEn...</div><div class="long"><p>Specifies the presence and position of labels for each pie slice. Either "rotate", "middle", "insideStart",
124 "insideEnd", "outside", "over", "under", or "none" to prevent label rendering.
125 Default value: 'none'.</p>
126 </div></div></div><div id="config-field" class="member inherited"><a href="Ext.chart.series.Radar.html#config-field" rel="config-field" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.Label.html" class="definedIn docClass">Ext.chart.Label</a><br/><a href="../source/Label2.html#Ext-chart.Label-cfg-field" class="viewSource">view source</a></div><a name="field"></a><a name="config-field"></a><a href="Ext.chart.series.Radar.html#" rel="config-field" class="cls expand">field</a><span> : String</span></div><div class="description"><div class="short"><p>The name of the field to be displayed in the label.
127 Default value: 'name'.</p>
128 </div><div class="long"><p>The name of the field to be displayed in the label.
129 Default value: 'name'.</p>
130 </div></div></div><div id="config-font" class="member inherited"><a href="Ext.chart.series.Radar.html#config-font" rel="config-font" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.Label.html" class="definedIn docClass">Ext.chart.Label</a><br/><a href="../source/Label2.html#Ext-chart.Label-cfg-font" class="viewSource">view source</a></div><a name="font"></a><a name="config-font"></a><a href="Ext.chart.series.Radar.html#" rel="config-font" class="cls expand">font</a><span> : String</span></div><div class="description"><div class="short"><p>The font used for the labels.
131 Defautl value: "11px Helvetica, sans-serif".</p>
132 </div><div class="long"><p>The font used for the labels.
133 Defautl value: "11px Helvetica, sans-serif".</p>
134 </div></div></div><div id="config-highlight" class="member inherited"><a href="Ext.chart.series.Radar.html#config-highlight" rel="config-highlight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-cfg-highlight" class="viewSource">view source</a></div><a name="highlight"></a><a name="config-highlight"></a><a href="Ext.chart.series.Radar.html#" rel="config-highlight" class="cls expand">highlight</a><span> : Boolean|Object</span></div><div class="description"><div class="short">If set to true it will highlight the markers or the series when hovering
135 with the mouse. This parameter can also be a...</div><div class="long"><p>If set to <code>true</code> it will highlight the markers or the series when hovering
136 with the mouse. This parameter can also be an object with the same style
137 properties you would apply to a <a href="Ext.draw.Sprite.html" rel="Ext.draw.Sprite" class="docClass">Ext.draw.Sprite</a> to apply custom
138 styles to markers and series.</p>
139 </div></div></div><div id="config-listeners" class="member inherited"><a href="Ext.chart.series.Radar.html#config-listeners" rel="config-listeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-cfg-listeners" class="viewSource">view source</a></div><a name="listeners"></a><a name="config-listeners"></a><a href="Ext.chart.series.Radar.html#" rel="config-listeners" class="cls expand">listeners</a><span> : Object</span></div><div class="description"><div class="short">(optional) A config object containing one or more event handlers to be added to this
140 object during initialization.  T...</div><div class="long"><p>(optional) <p>A config object containing one or more event handlers to be added to this
141 object during initialization.  This should be a valid listeners config object as specified in the
142 <a href="Ext.chart.series.Radar.html#addListener" rel="Ext.chart.series.Radar#addListener" class="docClass">addListener</a> example for attaching multiple handlers at once.</p></p>
143
144 <br><p><b><u>DOM events from ExtJs <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a></u></b></p>
145
146
147 <br><p>While <i>some</i> ExtJs Component classes export selected DOM events (e.g. "click", "mouseover" etc), this
148
149
150 <p>is usually only done when extra value can be added. For example the <a href="Ext.view.View.html" rel="Ext.view.View" class="docClass">DataView</a>'s
151 <b><code><a href="Ext.view.View.html#click" rel="Ext.view.View#click" class="docClass">click</a></code></b> event passing the node clicked on. To access DOM
152 events directly from a child element of a Component, we need to specify the <code>element</code> option to
153 identify the Component property to add a DOM listener to:</p>
154
155 <pre><code>new Ext.panel.Panel({
156     width: 400,
157     height: 200,
158     dockedItems: [{
159         xtype: 'toolbar'
160     }],
161     listeners: {
162         click: {
163             element: 'el', //bind to the underlying el property on the panel
164             fn: function(){ console.log('click el'); }
165         },
166         dblclick: {
167             element: 'body', //bind to the underlying body property on the panel
168             fn: function(){ console.log('dblclick body'); }
169         }
170     }
171 });
172 </code></pre>
173
174
175 <p></p></p>
176 </div></div></div><div id="config-minMargin" class="member inherited"><a href="Ext.chart.series.Radar.html#config-minMargin" rel="config-minMargin" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.Label.html" class="definedIn docClass">Ext.chart.Label</a><br/><a href="../source/Label2.html#Ext-chart.Label-cfg-minMargin" class="viewSource">view source</a></div><a name="minMargin"></a><a name="config-minMargin"></a><a href="Ext.chart.series.Radar.html#" rel="config-minMargin" class="cls expand">minMargin</a><span> : Number</span></div><div class="description"><div class="short">Specifies the minimum distance from a label to the origin of the visualization.
177 This parameter is useful when using P...</div><div class="long"><p>Specifies the minimum distance from a label to the origin of the visualization.
178 This parameter is useful when using PieSeries width variable pie slice lengths.
179 Default value: 50.</p>
180 </div></div></div><div id="config-orientation" class="member inherited"><a href="Ext.chart.series.Radar.html#config-orientation" rel="config-orientation" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.Label.html" class="definedIn docClass">Ext.chart.Label</a><br/><a href="../source/Label2.html#Ext-chart.Label-cfg-orientation" class="viewSource">view source</a></div><a name="orientation"></a><a name="config-orientation"></a><a href="Ext.chart.series.Radar.html#" rel="config-orientation" class="cls expand">orientation</a><span> : String</span></div><div class="description"><div class="short"><p>Either "horizontal" or "vertical".
181 Dafault value: "horizontal".</p>
182 </div><div class="long"><p>Either "horizontal" or "vertical".
183 Dafault value: "horizontal".</p>
184 </div></div></div><div id="config-renderer" class="member inherited"><a href="Ext.chart.series.Radar.html#config-renderer" rel="config-renderer" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.Label.html" class="definedIn docClass">Ext.chart.Label</a><br/><a href="../source/Label2.html#Ext-chart.Label-cfg-renderer" class="viewSource">view source</a></div><a name="renderer"></a><a name="config-renderer"></a><a href="Ext.chart.series.Radar.html#" rel="config-renderer" class="cls expand">renderer</a><span> : Function</span></div><div class="description"><div class="short"><p>Optional function for formatting the label into a displayable value.
185 Default value: function(v) { return v; }</p>
186 </div><div class="long"><p>Optional function for formatting the label into a displayable value.
187 Default value: function(v) { return v; }</p>
188 </div></div></div><div id="config-shadowAttributes" class="member inherited"><a href="Ext.chart.series.Radar.html#config-shadowAttributes" rel="config-shadowAttributes" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-cfg-shadowAttributes" class="viewSource">view source</a></div><a name="shadowAttributes"></a><a name="config-shadowAttributes"></a><a href="Ext.chart.series.Radar.html#" rel="config-shadowAttributes" class="cls expand">shadowAttributes</a><span> : Array</span></div><div class="description"><div class="short"><p>An array with shadow attributes</p>
189 </div><div class="long"><p>An array with shadow attributes</p>
190 </div></div></div><div id="config-showInLegend" class="member inherited"><a href="Ext.chart.series.Radar.html#config-showInLegend" rel="config-showInLegend" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-cfg-showInLegend" class="viewSource">view source</a></div><a name="showInLegend"></a><a name="config-showInLegend"></a><a href="Ext.chart.series.Radar.html#" rel="config-showInLegend" class="cls expand">showInLegend</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Whether to show this series in the legend.</p>
191 </div><div class="long"><p>Whether to show this series in the legend.</p>
192 </div></div></div><div id="config-style" class="member ni"><a href="Ext.chart.series.Radar.html#config-style" rel="config-style" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Radar.html" class="definedIn docClass">Ext.chart.series.Radar</a><br/><a href="../source/Radar.html#Ext-chart.series.Radar-cfg-style" class="viewSource">view source</a></div><a name="style"></a><a name="config-style"></a><a href="Ext.chart.series.Radar.html#" rel="config-style" class="cls expand">style</a><span> : Object</span></div><div class="description"><div class="short"><p>An object containing styles for overriding series styles from Theming.</p>
193 </div><div class="long"><p>An object containing styles for overriding series styles from Theming.</p>
194 </div></div></div><div id="config-tips" class="member inherited"><a href="Ext.chart.series.Radar.html#config-tips" rel="config-tips" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-cfg-tips" class="viewSource">view source</a></div><a name="tips"></a><a name="config-tips"></a><a href="Ext.chart.series.Radar.html#" rel="config-tips" class="cls expand">tips</a><span> : Object</span></div><div class="description"><div class="short">Add tooltips to the visualization's markers. The options for the tips are the
195 same configuration used with Ext.tip.To...</div><div class="long"><p>Add tooltips to the visualization's markers. The options for the tips are the
196 same configuration used with <a href="Ext.tip.ToolTip.html" rel="Ext.tip.ToolTip" class="docClass">Ext.tip.ToolTip</a>. For example:</p>
197
198 <pre><code>tips: {
199   trackMouse: true,
200   width: 140,
201   height: 28,
202   renderer: function(storeItem, item) {
203     this.setTitle(storeItem.get('name') + ': ' + storeItem.get('data1') + ' views');
204   }
205 },
206 </code></pre>
207 </div></div></div><div id="config-title" class="member inherited"><a href="Ext.chart.series.Radar.html#config-title" rel="config-title" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-cfg-title" class="viewSource">view source</a></div><a name="title"></a><a name="config-title"></a><a href="Ext.chart.series.Radar.html#" rel="config-title" class="cls expand">title</a><span> : String</span></div><div class="description"><div class="short"><p>The human-readable name of the series.</p>
208 </div><div class="long"><p>The human-readable name of the series.</p>
209 </div></div></div><div id="config-type" class="member inherited"><a href="Ext.chart.series.Radar.html#config-type" rel="config-type" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-cfg-type" class="viewSource">view source</a></div><a name="type"></a><a name="config-type"></a><a href="Ext.chart.series.Radar.html#" rel="config-type" class="cls expand">type</a><span> : String</span></div><div class="description"><div class="short"><p>The type of series. Set in subclasses.</p>
210 </div><div class="long"><p>The type of series. Set in subclasses.</p>
211 </div></div></div></div><div class="m-properties"><a name="properties"></a><div class="definedBy">Defined By</div><h3 class="prp p">Properties</h3><div id="property-highlight" class="member f inherited"><a href="Ext.chart.series.Radar.html#property-highlight" rel="property-highlight" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.Highlight.html" class="definedIn docClass">Ext.chart.Highlight</a><br/><a href="../source/Highlight.html#Ext-chart.Highlight-property-highlight" class="viewSource">view source</a></div><a name="highlight"></a><a name="property-highlight"></a><a href="Ext.chart.series.Radar.html#" rel="property-highlight" class="cls expand">highlight</a><span> : Boolean</span></div><div class="description"><div class="short"><p>Highlight the given series item.</p>
212 </div><div class="long"><p>Highlight the given series item.</p>
213 </div></div></div></div><div class="m-methods"><a name="methods"></a><div class="definedBy">Defined By</div><h3 class="mth p">Methods</h3><div id="method-addEvents" class="member f inherited"><a href="Ext.chart.series.Radar.html#method-addEvents" rel="method-addEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addEvents" class="viewSource">view source</a></div><a name="addEvents"></a><a name="method-addEvents"></a><a href="Ext.chart.series.Radar.html#" rel="method-addEvents" class="cls expand">addEvents</a>(
214 <span class="pre">Object/String o, String </span>)
215  : void</div><div class="description"><div class="short"><p>Adds the specified events to the list of events which this Observable may fire.</p>
216 </div><div class="long"><p>Adds the specified events to the list of events which this Observable may fire.</p>
217 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Object/String<div class="sub-desc"><p>Either an object with event names as properties with a value of <code>true</code>
218 or the first event name string if multiple event names are being passed as separate parameters.</p>
219 </div></li><li><span class="pre"></span> : String<div class="sub-desc"><p>[additional] Optional additional event names if multiple event names are being passed as separate parameters.
220 Usage:</p>
221
222 <pre><code>this.addEvents('storeloaded', 'storecleared');
223 </code></pre>
224
225 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
226 </li></ul></div></div></div><div id="method-addListener" class="member inherited"><a href="Ext.chart.series.Radar.html#method-addListener" rel="method-addListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addListener" class="viewSource">view source</a></div><a name="addListener"></a><a name="method-addListener"></a><a href="Ext.chart.series.Radar.html#" rel="method-addListener" class="cls expand">addListener</a>(
227 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
228  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object.</p>
229 </div><div class="long"><p>Appends an event handler to this object.</p>
230 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to listen for. May also be an object who's property names are event names. See</p>
231 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes.</p>
232 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
233 <b>If omitted, defaults to the object which fired the event.</b></p>
234 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.
235 properties. This may contain any of the following properties:<ul>
236 <li><b>scope</b> : Object<div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
237 <b>If omitted, defaults to the object which fired the event.</b></div></li>
238 <li><b>delay</b> : Number<div class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>
239 <li><b>single</b> : Boolean<div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
240 <li><b>buffer</b> : Number<div class="sub-desc">Causes the handler to be scheduled to run in an <a href="Ext.util.DelayedTask.html" rel="Ext.util.DelayedTask" class="docClass">Ext.util.DelayedTask</a> delayed
241 by the specified number of milliseconds. If the event fires again within that time, the original
242 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
243 <li><b>target</b> : Observable<div class="sub-desc">Only call the handler if the event was fired on the target Observable, <i>not</i>
244 if the event was bubbled up from a child Observable.</div></li>
245 <li><b>element</b> : String<div class="sub-desc"><b>This option is only valid for listeners bound to <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a>.</b>
246 The name of a Component property which references an element to add a listener to.</p>
247
248 <p>This option is useful during Component construction to add DOM event listeners to elements of <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Components</a> which
249 will exist only after the Component is rendered. For example, to add a click listener to a Panel's body:
250 <pre><code>new Ext.panel.Panel({
251     title: 'The title',
252     listeners: {
253         click: this.handlePanelClick,
254         element: 'body'
255     }
256 });
257 </code></pre></p>
258
259
260 <p>When added in this way, the options available are the options applicable to <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">Ext.core.Element.addListener</a></p>
261
262
263 <p></div></li>
264 </ul><br></p>
265
266 <p>
267 <b>Combining Options</b><br>
268 Using the options argument, it is possible to combine different types of listeners:<br>
269 <br>
270 A delayed, one-time listener.
271 <pre><code>myPanel.on('hide', this.handleClick, this, {
272 single: true,
273 delay: 100
274 });</code></pre>
275 <p>
276 <b>Attaching multiple handlers in 1 call</b><br>
277 The method also allows for a single argument to be passed which is a config object containing properties
278 which specify multiple events. For example:
279 <pre><code>myGridPanel.on({
280     cellClick: this.onCellClick,
281     mouseover: this.onMouseOver,
282     mouseout: this.onMouseOut,
283     scope: this // Important. Ensure "this" is correct during handler execution
284 });
285 </code></pre>.
286 <p>
287
288 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
289 </li></ul></div></div></div><div id="method-addManagedListener" class="member inherited"><a href="Ext.chart.series.Radar.html#method-addManagedListener" rel="method-addManagedListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-addManagedListener" class="viewSource">view source</a></div><a name="addManagedListener"></a><a name="method-addManagedListener"></a><a href="Ext.chart.series.Radar.html#" rel="method-addManagedListener" class="cls expand">addManagedListener</a>(
290 <span class="pre">Observable/Element item, Object/String ename, Function fn, Object scope, Object opt</span>)
291  : void</div><div class="description"><div class="short"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
292 is destroyed.
293
294 </div><div class="long"><p>Adds listeners to any Observable object (or Element) which are automatically removed when this Component
295 is destroyed.
296
297 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Observable/Element<div class="sub-desc"><p>The item to which to add a listener/listeners.</p>
298 </div></li><li><span class="pre">ename</span> : Object/String<div class="sub-desc"><p>The event name, or an object containing event name properties.</p>
299 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
300 is the handler function.</p>
301 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
302 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
303 </div></li><li><span class="pre">opt</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
304 is the <a href="Ext.util.Observable.html#addListener" rel="Ext.util.Observable#addListener" class="docClass">addListener</a> options.</p>
305 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
306 </li></ul></div></div></div><div id="method-capture" class="member inherited"><a href="Ext.chart.series.Radar.html#method-capture" rel="method-capture" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-capture" class="viewSource">view source</a></div><a name="capture"></a><a name="method-capture"></a><a href="Ext.chart.series.Radar.html#" rel="method-capture" class="cls expand">capture</a>(
307 <span class="pre">Observable o, Function fn, [Object scope]</span>)
308  : void</div><div class="description"><div class="short">Starts capture on the specified Observable. All events will be passed
309 to the supplied function with the event name + ...</div><div class="long"><p>Starts capture on the specified Observable. All events will be passed
310 to the supplied function with the event name + standard signature of the event
311 <b>before</b> the event is fired. If the supplied function returns false,
312 the event will not fire.</p>
313 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to capture events from.</p>
314 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call when an event is fired.</p>
315 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the function is executed. Defaults to the Observable firing the event.</p>
316 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
317 </li></ul></div></div></div><div id="method-clearListeners" class="member inherited"><a href="Ext.chart.series.Radar.html#method-clearListeners" rel="method-clearListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-clearListeners" class="viewSource">view source</a></div><a name="clearListeners"></a><a name="method-clearListeners"></a><a href="Ext.chart.series.Radar.html#" rel="method-clearListeners" class="cls expand">clearListeners</a> : void</div><div class="description"><div class="short"><p>Removes all listeners for this object including the managed listeners</p>
318 </div><div class="long"><p>Removes all listeners for this object including the managed listeners</p>
319 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
320 </li></ul></div></div></div><div id="method-clearManagedListeners" class="member inherited"><a href="Ext.chart.series.Radar.html#method-clearManagedListeners" rel="method-clearManagedListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-clearManagedListeners" class="viewSource">view source</a></div><a name="clearManagedListeners"></a><a name="method-clearManagedListeners"></a><a href="Ext.chart.series.Radar.html#" rel="method-clearManagedListeners" class="cls expand">clearManagedListeners</a> : void</div><div class="description"><div class="short"><p>Removes all managed listeners for this object.</p>
321 </div><div class="long"><p>Removes all managed listeners for this object.</p>
322 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
323 </li></ul></div></div></div><div id="method-drawSeries" class="member ni"><a href="Ext.chart.series.Radar.html#method-drawSeries" rel="method-drawSeries" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Radar.html" class="definedIn docClass">Ext.chart.series.Radar</a><br/><a href="../source/Radar.html#Ext-chart.series.Radar-method-drawSeries" class="viewSource">view source</a></div><a name="drawSeries"></a><a name="method-drawSeries"></a><a href="Ext.chart.series.Radar.html#" rel="method-drawSeries" class="cls expand">drawSeries</a> : void</div><div class="description"><div class="short"><p>Draws the series for the current chart.</p>
324 </div><div class="long"><p>Draws the series for the current chart.</p>
325 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
326 </li></ul></div></div></div><div id="method-enableBubble" class="member inherited"><a href="Ext.chart.series.Radar.html#method-enableBubble" rel="method-enableBubble" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-enableBubble" class="viewSource">view source</a></div><a name="enableBubble"></a><a name="method-enableBubble"></a><a href="Ext.chart.series.Radar.html#" rel="method-enableBubble" class="cls expand">enableBubble</a>(
327 <span class="pre">String/Array events</span>)
328  : void</div><div class="description"><div class="short">Enables events fired by this Observable to bubble up an owner hierarchy by calling
329 this.getBubbleTarget() if present....</div><div class="long"><p>Enables events fired by this Observable to bubble up an owner hierarchy by calling
330 <code>this.getBubbleTarget()</code> if present. There is no implementation in the Observable base class.</p>
331
332
333 <p>This is commonly used by Ext.Components to bubble events to owner Containers. See <a href="Ext.Component.html#getBubbleTarget" rel="Ext.Component#getBubbleTarget" class="docClass">Ext.Component.getBubbleTarget</a>. The default
334 implementation in <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Ext.Component</a> returns the Component's immediate owner. But if a known target is required, this can be overridden to
335 access the required target more quickly.</p>
336
337
338 <p>Example:</p>
339
340
341 <pre><code>Ext.override(Ext.form.field.Base, {
342 //  Add functionality to Field&#39;s initComponent to enable the change event to bubble
343 initComponent : Ext.Function.createSequence(Ext.form.field.Base.prototype.initComponent, function() {
344     this.enableBubble('change');
345 }),
346
347 //  We know that we want Field&#39;s events to bubble directly to the FormPanel.
348 getBubbleTarget : function() {
349     if (!this.formPanel) {
350         this.formPanel = this.findParentByType('form');
351     }
352     return this.formPanel;
353 }
354 });
355
356 var myForm = new Ext.formPanel({
357 title: 'User Details',
358 items: [{
359     ...
360 }],
361 listeners: {
362     change: function() {
363         // Title goes red if form has been modified.
364         myForm.header.setStyle('color', 'red');
365     }
366 }
367 });
368 </code></pre>
369
370 <h3 class="pa">Parameters</h3><ul><li><span class="pre">events</span> : String/Array<div class="sub-desc"><p>The event name to bubble, or an Array of event names.</p>
371 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
372 </li></ul></div></div></div><div id="method-fireEvent" class="member inherited"><a href="Ext.chart.series.Radar.html#method-fireEvent" rel="method-fireEvent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-fireEvent" class="viewSource">view source</a></div><a name="fireEvent"></a><a name="method-fireEvent"></a><a href="Ext.chart.series.Radar.html#" rel="method-fireEvent" class="cls expand">fireEvent</a>(
373 <span class="pre">String eventName, Object... args</span>)
374  : Boolean</div><div class="description"><div class="short">Fires the specified event with the passed parameters (minus the event name).
375
376
377 An event may be set to bubble up an Ob...</div><div class="long"><p>Fires the specified event with the passed parameters (minus the event name).</p>
378
379
380 <p>An event may be set to bubble up an Observable parent hierarchy (See <a href="Ext.Component.html#getBubbleTarget" rel="Ext.Component#getBubbleTarget" class="docClass">Ext.Component.getBubbleTarget</a>)
381 by calling <a href="Ext.chart.series.Radar.html#enableBubble" rel="Ext.chart.series.Radar#enableBubble" class="docClass">enableBubble</a>.</p>
382
383 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to fire.</p>
384 </div></li><li><span class="pre">args</span> : Object...<div class="sub-desc"><p>Variable number of parameters are passed to handlers.</p>
385 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>returns false if any of the handlers return false otherwise it returns true.</p>
386 </li></ul></div></div></div><div id="method-getItemForPoint" class="member inherited"><a href="Ext.chart.series.Radar.html#method-getItemForPoint" rel="method-getItemForPoint" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-method-getItemForPoint" class="viewSource">view source</a></div><a name="getItemForPoint"></a><a name="method-getItemForPoint"></a><a href="Ext.chart.series.Radar.html#" rel="method-getItemForPoint" class="cls expand">getItemForPoint</a>(
387 <span class="pre">Number x, Number y</span>)
388  : Object</div><div class="description"><div class="short"><p>For a given x/y point relative to the Surface, find a corresponding item from this
389 series, if any.</p>
390 </div><div class="long"><p>For a given x/y point relative to the Surface, find a corresponding item from this
391 series, if any.</p>
392 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc">
393 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc">
394 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>An object describing the item, or null if there is no matching item. The exact contents of</p>
395
396 <pre><code>             this object will vary by series type, but should always contain at least the following:
397              &lt;ul&gt;
398                &lt;li&gt;{Ext.chart.series.Series} series - the Series object to which the item belongs&lt;/li&gt;
399                &lt;li&gt;{Object} value - the value(s) of the item's data point&lt;/li&gt;
400                &lt;li&gt;{Array} point - the x/y coordinates relative to the chart box of a single point
401                    for this data item, which can be used as e.g. a tooltip anchor point.&lt;/li&gt;
402                &lt;li&gt;{Ext.draw.Sprite} sprite - the item's rendering Sprite.
403              &lt;/ul&gt;
404 </code></pre>
405 </li></ul></div></div></div><div id="method-getLegendColor" class="member inherited"><a href="Ext.chart.series.Radar.html#method-getLegendColor" rel="method-getLegendColor" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-method-getLegendColor" class="viewSource">view source</a></div><a name="getLegendColor"></a><a name="method-getLegendColor"></a><a href="Ext.chart.series.Radar.html#" rel="method-getLegendColor" class="cls expand">getLegendColor</a>(
406 <span class="pre">Object index</span>)
407  : void</div><div class="description"><div class="short"><p>Returns a string with the color to be used for the series legend item.</p>
408 </div><div class="long"><p>Returns a string with the color to be used for the series legend item.</p>
409 <h3 class="pa">Parameters</h3><ul><li><span class="pre">index</span> : Object<div class="sub-desc">
410 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
411 </li></ul></div></div></div><div id="method-hasListener" class="member inherited"><a href="Ext.chart.series.Radar.html#method-hasListener" rel="method-hasListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-hasListener" class="viewSource">view source</a></div><a name="hasListener"></a><a name="method-hasListener"></a><a href="Ext.chart.series.Radar.html#" rel="method-hasListener" class="cls expand">hasListener</a>(
412 <span class="pre">String eventName</span>)
413  : Boolean</div><div class="description"><div class="short"><p>Checks to see if this object has any listeners for a specified event</p>
414 </div><div class="long"><p>Checks to see if this object has any listeners for a specified event</p>
415 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event to check for</p>
416 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if the event is being listened for, else false</p>
417 </li></ul></div></div></div><div id="method-hideAll" class="member inherited"><a href="Ext.chart.series.Radar.html#method-hideAll" rel="method-hideAll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-method-hideAll" class="viewSource">view source</a></div><a name="hideAll"></a><a name="method-hideAll"></a><a href="Ext.chart.series.Radar.html#" rel="method-hideAll" class="cls expand">hideAll</a> : void</div><div class="description"><div class="short"><p>Hides all the elements in the series.</p>
418 </div><div class="long"><p>Hides all the elements in the series.</p>
419 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
420 </li></ul></div></div></div><div id="method-highlightItem" class="member inherited"><a href="Ext.chart.series.Radar.html#method-highlightItem" rel="method-highlightItem" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.Highlight.html" class="definedIn docClass">Ext.chart.Highlight</a><br/><a href="../source/Highlight.html#Ext-chart.Highlight-method-highlightItem" class="viewSource">view source</a></div><a name="highlightItem"></a><a name="method-highlightItem"></a><a href="Ext.chart.series.Radar.html#" rel="method-highlightItem" class="cls expand">highlightItem</a>(
421 <span class="pre">Object item</span>)
422  : void</div><div class="description"><div class="short"><p>Highlight the given series item.</p>
423 </div><div class="long"><p>Highlight the given series item.</p>
424 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Object<div class="sub-desc"><p>Info about the item; same format as returned by #getItemForPoint.</p>
425 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
426 </li></ul></div></div></div><div id="method-observe" class="member inherited"><a href="Ext.chart.series.Radar.html#method-observe" rel="method-observe" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-observe" class="viewSource">view source</a></div><a name="observe"></a><a name="method-observe"></a><a href="Ext.chart.series.Radar.html#" rel="method-observe" class="cls expand">observe</a>(
427 <span class="pre">Function c, Object listeners</span>)
428  : void</div><div class="description"><div class="short">Sets observability on the passed class constructor.
429
430 This makes any event fired on any instance of the passed class a...</div><div class="long"><p>Sets observability on the passed class constructor.</p>
431
432 <p>This makes any event fired on any instance of the passed class also fire a single event through
433 the <strong>class</strong> allowing for central handling of events on many instances at once.</p>
434
435 <p>Usage:</p>
436
437 <pre><code>Ext.util.Observable.observe(Ext.data.Connection);
438 Ext.data.Connection.on('beforerequest', function(con, options) {
439     console.log('Ajax request made to ' + options.url);
440 });
441 </code></pre>
442 <h3 class="pa">Parameters</h3><ul><li><span class="pre">c</span> : Function<div class="sub-desc"><p>The class constructor to make observable.</p>
443 </div></li><li><span class="pre">listeners</span> : Object<div class="sub-desc"><p>An object containing a series of listeners to add. See <a href="Ext.chart.series.Radar.html#addListener" rel="Ext.chart.series.Radar#addListener" class="docClass">addListener</a>.</p>
444 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
445 </li></ul></div></div></div><div id="method-on" class="member inherited"><a href="Ext.chart.series.Radar.html#method-on" rel="method-on" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-on" class="viewSource">view source</a></div><a name="on"></a><a name="method-on"></a><a href="Ext.chart.series.Radar.html#" rel="method-on" class="cls expand">on</a>(
446 <span class="pre">String eventName, Function handler, [Object scope], [Object options]</span>)
447  : void</div><div class="description"><div class="short"><p>Appends an event handler to this object (shorthand for <a href="Ext.chart.series.Radar.html#addListener" rel="Ext.chart.series.Radar#addListener" class="docClass">addListener</a>.)</p>
448 </div><div class="long"><p>Appends an event handler to this object (shorthand for <a href="Ext.chart.series.Radar.html#addListener" rel="Ext.chart.series.Radar#addListener" class="docClass">addListener</a>.)</p>
449 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event to listen for</p>
450 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The method the event invokes</p>
451 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
452 <b>If omitted, defaults to the object which fired the event.</b></p>
453 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration.</p>
454 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
455 </li></ul></div></div></div><div id="method-relayEvents" class="member inherited"><a href="Ext.chart.series.Radar.html#method-relayEvents" rel="method-relayEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-relayEvents" class="viewSource">view source</a></div><a name="relayEvents"></a><a name="method-relayEvents"></a><a href="Ext.chart.series.Radar.html#" rel="method-relayEvents" class="cls expand">relayEvents</a>(
456 <span class="pre">Object origin, Array events, Object prefix</span>)
457  : void</div><div class="description"><div class="short"><p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>
458 </div><div class="long"><p>Relays selected events from the specified Observable as if the events were fired by <code><b>this</b></code>.</p>
459 <h3 class="pa">Parameters</h3><ul><li><span class="pre">origin</span> : Object<div class="sub-desc"><p>The Observable whose events this object is to relay.</p>
460 </div></li><li><span class="pre">events</span> : Array<div class="sub-desc"><p>Array of event names to relay.</p>
461 </div></li><li><span class="pre">prefix</span> : Object<div class="sub-desc">
462 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
463 </li></ul></div></div></div><div id="method-releaseCapture" class="member inherited"><a href="Ext.chart.series.Radar.html#method-releaseCapture" rel="method-releaseCapture" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-releaseCapture" class="viewSource">view source</a></div><a name="releaseCapture"></a><a name="method-releaseCapture"></a><a href="Ext.chart.series.Radar.html#" rel="method-releaseCapture" class="cls expand">releaseCapture</a>(
464 <span class="pre">Observable o</span>)
465  : void</div><div class="description"><div class="short"><p>Removes <b>all</b> added captures from the Observable.</p>
466 </div><div class="long"><p>Removes <b>all</b> added captures from the Observable.</p>
467 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Observable<div class="sub-desc"><p>The Observable to release</p>
468 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
469 </li></ul></div></div></div><div id="method-removeListener" class="member inherited"><a href="Ext.chart.series.Radar.html#method-removeListener" rel="method-removeListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-removeListener" class="viewSource">view source</a></div><a name="removeListener"></a><a name="method-removeListener"></a><a href="Ext.chart.series.Radar.html#" rel="method-removeListener" class="cls expand">removeListener</a>(
470 <span class="pre">String eventName, Function handler, [Object scope]</span>)
471  : void</div><div class="description"><div class="short"><p>Removes an event handler.</p>
472 </div><div class="long"><p>Removes an event handler.</p>
473 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event the handler was associated with.</p>
474 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The handler to remove. <b>This must be a reference to the function passed into the <a href="Ext.chart.series.Radar.html#addListener" rel="Ext.chart.series.Radar#addListener" class="docClass">addListener</a> call.</b></p>
475 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
476 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
477 </li></ul></div></div></div><div id="method-removeManagedListener" class="member inherited"><a href="Ext.chart.series.Radar.html#method-removeManagedListener" rel="method-removeManagedListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-removeManagedListener" class="viewSource">view source</a></div><a name="removeManagedListener"></a><a name="method-removeManagedListener"></a><a href="Ext.chart.series.Radar.html#" rel="method-removeManagedListener" class="cls expand">removeManagedListener</a>(
478 <span class="pre">Observable|Element item, Object|String ename, Function fn, Object scope</span>)
479  : void</div><div class="description"><div class="short"><p>Removes listeners that were added by the <a href="Ext.chart.series.Radar.html#mon" rel="Ext.chart.series.Radar#mon" class="docClass">mon</a> method.</p>
480 </div><div class="long"><p>Removes listeners that were added by the <a href="Ext.chart.series.Radar.html#mon" rel="Ext.chart.series.Radar#mon" class="docClass">mon</a> method.</p>
481 <h3 class="pa">Parameters</h3><ul><li><span class="pre">item</span> : Observable|Element<div class="sub-desc"><p>The item from which to remove a listener/listeners.</p>
482 </div></li><li><span class="pre">ename</span> : Object|String<div class="sub-desc"><p>The event name, or an object containing event name properties.</p>
483 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
484 is the handler function.</p>
485 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>Optional. If the <code>ename</code> parameter was an event name, this
486 is the scope (<code>this</code> reference) in which the handler function is executed.</p>
487 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
488 </li></ul></div></div></div><div id="method-resumeEvents" class="member inherited"><a href="Ext.chart.series.Radar.html#method-resumeEvents" rel="method-resumeEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-resumeEvents" class="viewSource">view source</a></div><a name="resumeEvents"></a><a name="method-resumeEvents"></a><a href="Ext.chart.series.Radar.html#" rel="method-resumeEvents" class="cls expand">resumeEvents</a> : void</div><div class="description"><div class="short">Resume firing events. (see suspendEvents)
489 If events were suspended using the queueSuspended parameter, then all
490 event...</div><div class="long"><p>Resume firing events. (see <a href="Ext.chart.series.Radar.html#suspendEvents" rel="Ext.chart.series.Radar#suspendEvents" class="docClass">suspendEvents</a>)
491 If events were suspended using the <code><b>queueSuspended</b></code> parameter, then all
492 events fired during event suspension will be sent to any listeners now.</p>
493 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
494 </li></ul></div></div></div><div id="method-setTitle" class="member inherited"><a href="Ext.chart.series.Radar.html#method-setTitle" rel="method-setTitle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-method-setTitle" class="viewSource">view source</a></div><a name="setTitle"></a><a name="method-setTitle"></a><a href="Ext.chart.series.Radar.html#" rel="method-setTitle" class="cls expand">setTitle</a>(
495 <span class="pre">Number index, String title</span>)
496  : void</div><div class="description"><div class="short">Changes the value of the title for the series.
497 Arguments can take two forms:
498
499
500 A single String value: this will be us...</div><div class="long"><p>Changes the value of the <a href="Ext.chart.series.Radar.html#title" rel="Ext.chart.series.Radar#title" class="docClass">title</a> for the series.
501 Arguments can take two forms:</p>
502
503 <ul>
504 <li>A single String value: this will be used as the new single title for the series (applies
505 to series with only one yField)</li>
506 <li>A numeric index and a String value: this will set the title for a single indexed yField.</li>
507 </ul>
508
509 <h3 class="pa">Parameters</h3><ul><li><span class="pre">index</span> : Number<div class="sub-desc">
510 </div></li><li><span class="pre">title</span> : String<div class="sub-desc">
511 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
512 </li></ul></div></div></div><div id="method-showAll" class="member inherited"><a href="Ext.chart.series.Radar.html#method-showAll" rel="method-showAll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-method-showAll" class="viewSource">view source</a></div><a name="showAll"></a><a name="method-showAll"></a><a href="Ext.chart.series.Radar.html#" rel="method-showAll" class="cls expand">showAll</a> : void</div><div class="description"><div class="short"><p>Shows all the elements in the series.</p>
513 </div><div class="long"><p>Shows all the elements in the series.</p>
514 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
515 </li></ul></div></div></div><div id="method-suspendEvents" class="member inherited"><a href="Ext.chart.series.Radar.html#method-suspendEvents" rel="method-suspendEvents" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-suspendEvents" class="viewSource">view source</a></div><a name="suspendEvents"></a><a name="method-suspendEvents"></a><a href="Ext.chart.series.Radar.html#" rel="method-suspendEvents" class="cls expand">suspendEvents</a>(
516 <span class="pre">Boolean queueSuspended</span>)
517  : void</div><div class="description"><div class="short"><p>Suspend the firing of all events. (see <a href="Ext.chart.series.Radar.html#resumeEvents" rel="Ext.chart.series.Radar#resumeEvents" class="docClass">resumeEvents</a>)</p>
518 </div><div class="long"><p>Suspend the firing of all events. (see <a href="Ext.chart.series.Radar.html#resumeEvents" rel="Ext.chart.series.Radar#resumeEvents" class="docClass">resumeEvents</a>)</p>
519 <h3 class="pa">Parameters</h3><ul><li><span class="pre">queueSuspended</span> : Boolean<div class="sub-desc"><p>Pass as true to queue up suspended events to be fired
520 after the <a href="Ext.chart.series.Radar.html#resumeEvents" rel="Ext.chart.series.Radar#resumeEvents" class="docClass">resumeEvents</a> call instead of discarding all suspended events;</p>
521 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
522 </li></ul></div></div></div><div id="method-un" class="member inherited"><a href="Ext.chart.series.Radar.html#method-un" rel="method-un" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.util.Observable.html" class="definedIn docClass">Ext.util.Observable</a><br/><a href="../source/Observable.html#Ext-util.Observable-method-un" class="viewSource">view source</a></div><a name="un"></a><a name="method-un"></a><a href="Ext.chart.series.Radar.html#" rel="method-un" class="cls expand">un</a>(
523 <span class="pre">String eventName, Function handler, [Object scope]</span>)
524  : void</div><div class="description"><div class="short"><p>Removes an event handler (shorthand for <a href="Ext.chart.series.Radar.html#removeListener" rel="Ext.chart.series.Radar#removeListener" class="docClass">removeListener</a>.)</p>
525 </div><div class="long"><p>Removes an event handler (shorthand for <a href="Ext.chart.series.Radar.html#removeListener" rel="Ext.chart.series.Radar#removeListener" class="docClass">removeListener</a>.)</p>
526 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event the handler was associated with.</p>
527 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The handler to remove. <b>This must be a reference to the function passed into the <a href="Ext.chart.series.Radar.html#addListener" rel="Ext.chart.series.Radar#addListener" class="docClass">addListener</a> call.</b></p>
528 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope originally specified for the handler.</p>
529 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
530 </li></ul></div></div></div><div id="method-unHighlightItem" class="member inherited"><a href="Ext.chart.series.Radar.html#method-unHighlightItem" rel="method-unHighlightItem" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.Highlight.html" class="definedIn docClass">Ext.chart.Highlight</a><br/><a href="../source/Highlight.html#Ext-chart.Highlight-method-unHighlightItem" class="viewSource">view source</a></div><a name="unHighlightItem"></a><a name="method-unHighlightItem"></a><a href="Ext.chart.series.Radar.html#" rel="method-unHighlightItem" class="cls expand">unHighlightItem</a> : void</div><div class="description"><div class="short"><p>Un-highlight any existing highlights</p>
531 </div><div class="long"><p>Un-highlight any existing highlights</p>
532 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
533 </li></ul></div></div></div></div><div class="m-events"><a name="events"></a><div class="definedBy">Defined By</div><h3 class="evt p">Events</h3><div id="event-titlechange" class="member f inherited"><a href="Ext.chart.series.Radar.html#event-titlechange" rel="event-titlechange" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.chart.series.Series.html" class="definedIn docClass">Ext.chart.series.Series</a><br/><a href="../source/Series.html#Ext-chart.series.Series-event-titlechange" class="viewSource">view source</a></div><a name="titlechange"></a><a name="event-titlechange"></a><a href="Ext.chart.series.Radar.html#" rel="event-titlechange" class="cls expand">titlechange</a>(
534 <span class="pre">String title, Number index</span>)
535 </div><div class="description"><div class="short"><p>Fires when the series title is changed via <a href="Ext.chart.series.Radar.html#setTitle" rel="Ext.chart.series.Radar#setTitle" class="docClass">setTitle</a>.</p>
536 </div><div class="long"><p>Fires when the series title is changed via <a href="Ext.chart.series.Radar.html#setTitle" rel="Ext.chart.series.Radar#setTitle" class="docClass">setTitle</a>.</p>
537 <h3 class="pa">Parameters</h3><ul><li><span class="pre">title</span> : String<div class="sub-desc"><p>The new title value</p>
538 </div></li><li><span class="pre">index</span> : Number<div class="sub-desc"><p>The index in the collection of titles</p>
539 </div></li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>