/javascripts/lib/docs/output/Ext.chart.Chart.html
HTML | 1058 lines | 1050 code | 8 blank | 0 comment | 0 complexity | bc100311e0d74332091604e09e80400e MD5 | raw file
Possible License(s): GPL-3.0
Large files files are truncated, but you can click here to view the full file
1<div class="body-wrap" xmlns:ext="http://www.extjs.com"><div class="top-tools"><a class="inner-link" href="#Ext.chart.Chart-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.chart.Chart-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.chart.Chart-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="inner-link" href="#Ext.chart.Chart-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a> <a class="bookmark" href="../docs/?class=Ext.chart.Chart"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div><div class="inheritance res-block"><pre class="res-block-inner"><a href="output/Ext.util.Observable.html" ext:member="" ext:cls="Ext.util.Observable">Observable</a> <img src="resources/elbow-end.gif"><a href="output/Ext.Component.html" ext:member="" ext:cls="Ext.Component">Component</a> <img src="resources/elbow-end.gif"><a href="output/Ext.BoxComponent.html" ext:member="" ext:cls="Ext.BoxComponent">BoxComponent</a> <img src="resources/elbow-end.gif"><a href="output/Ext.FlashComponent.html" ext:member="" ext:cls="Ext.FlashComponent">FlashComponent</a> <img src="resources/elbow-end.gif">Chart</pre></div><h1>Class <a href="source/Chart.html#cls-Ext.chart.Chart">Ext.chart.Chart</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext.chart</td></tr><tr><td class="label">Defined In:</td><td class="hd-info"><a href="source/Chart.html#cls-Ext.chart.Chart">Chart.js</a></td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/Chart.html#cls-Ext.chart.Chart">Chart</a></td></tr><tr><td class="label">Subclasses:</td><td class="hd-info"><a href="output/Ext.chart.CartesianChart.html" ext:cls="Ext.chart.CartesianChart">CartesianChart</a>, <a href="output/Ext.chart.PieChart.html" ext:cls="Ext.chart.PieChart">PieChart</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info"><a href="output/Ext.FlashComponent.html" ext:cls="Ext.FlashComponent" ext:member="">FlashComponent</a></td></tr></table><div class="description">The Ext.chart package provides the capability to visualize data with flash based charting. 2Each chart binds directly to an Ext.data.Store enabling automatic updates of the chart. 3To change the look and feel of a chart, see the <a href="output/Ext.chart.Chart.html#Ext.chart.Chart-chartStyle" ext:member="chartStyle" ext:cls="Ext.chart.Chart">chartStyle</a> and <a href="output/Ext.chart.Chart.html#Ext.chart.Chart-extraStyle" ext:member="extraStyle" ext:cls="Ext.chart.Chart">extraStyle</a> config options.</div><div class="hr"></div><a id="Ext.chart.Chart-configs"></a><h2>Config Options</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Config Options</th><th class="msource-header">Defined By</th></tr><tr class="config-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-allowDomMove"></a><b><a href="source/Component.html#cfg-Ext.Component-allowDomMove">allowDomMove</a></b> : Boolean<div class="mdesc">Whether the component can move the Dom node when rendering (defaults to true).</div></td><td class="msource"><a href="output/Ext.Component.html#allowDomMove" ext:member="#allowDomMove" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.BoxComponent-anchor"></a><b><a href="source/BoxComponent.html#cfg-Ext.BoxComponent-anchor">anchor</a></b> : String<div class="mdesc"><div class="short">Note: this config is only used when this Component is rendered 4by a Container which has been configured to use an Anc...</div><div class="long"><p><b>Note</b>: this config is only used when this Component is rendered 5by a Container which has been configured to use an <b><a href="output/Ext.layout.AnchorLayout.html" ext:cls="Ext.layout.AnchorLayout">AnchorLayout</a> (or subclass thereof).</b> 6based layout manager, for example:<div class="mdetail-params"><ul> 7<li><a href="output/Ext.form.FormPanel.html" ext:cls="Ext.form.FormPanel">Ext.form.FormPanel</a></li> 8<li>specifying <code>layout: <em>'anchor'</em> <i>// or <em>'form'</em>, or <em>'absolute'</em></i></code></li> 9</ul></div></p> 10<p>See <a href="output/Ext.layout.AnchorLayout.html" ext:cls="Ext.layout.AnchorLayout">Ext.layout.AnchorLayout</a>.<a href="output/Ext.layout.AnchorLayout.html#Ext.layout.AnchorLayout-anchor" ext:member="anchor" ext:cls="Ext.layout.AnchorLayout">anchor</a> also.</p></div></div></td><td class="msource"><a href="output/Ext.BoxComponent.html#anchor" ext:member="#anchor" ext:cls="Ext.BoxComponent">BoxComponent</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-applyTo"></a><b><a href="source/Component.html#cfg-Ext.Component-applyTo">applyTo</a></b> : Mixed<div class="mdesc"><div class="short">Specify the id of the element, a DOM element or an existing Element corresponding to a DIV 11that is already present in...</div><div class="long"><p>Specify the id of the element, a DOM element or an existing Element corresponding to a DIV 12that is already present in the document that specifies some structural markup for this 13component.</p><div><ul> 14<li><b>Description</b> : <ul> 15<div class="sub-desc">When <tt>applyTo</tt> is used, constituent parts of the component can also be specified 16by id or CSS class name within the main element, and the component being created may attempt 17to create its subcomponents from that markup if applicable.</div> 18</ul></li> 19<li><b>Notes</b> : <ul> 20<div class="sub-desc">When using this config, a call to render() is not required.</div> 21<div class="sub-desc">If applyTo is specified, any value passed for <a href="output/Ext.Component.html#Ext.Component-renderTo" ext:member="renderTo" ext:cls="Ext.Component">renderTo</a> will be ignored and the target 22element's parent node will automatically be used as the component's container.</div> 23</ul></li> 24</ul></div></div></div></td><td class="msource"><a href="output/Ext.Component.html#applyTo" ext:member="#applyTo" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-autoEl"></a><b><a href="source/Component.html#cfg-Ext.Component-autoEl">autoEl</a></b> : Mixed<div class="mdesc"><div class="short">A tag name or DomHelper spec used to create the Element which will 25encapsulate this Component. 26You do not normally ne...</div><div class="long"><p>A tag name or <a href="output/Ext.DomHelper.html" ext:cls="Ext.DomHelper">DomHelper</a> spec used to create the <a href="output/Ext.Component.html#Ext.Component-getEl" ext:member="getEl" ext:cls="Ext.Component">Element</a> which will 27encapsulate this Component.</p> 28<p>You do not normally need to specify this. For the base classes <a href="output/Ext.Component.html" ext:cls="Ext.Component">Ext.Component</a>, <a href="output/Ext.BoxComponent.html" ext:cls="Ext.BoxComponent">Ext.BoxComponent</a>, 29and <a href="output/Ext.Container.html" ext:cls="Ext.Container">Ext.Container</a>, this defaults to <b><tt>'div'</tt></b>. The more complex Ext classes use a more complex 30DOM structure created by their own onRender methods.</p> 31<p>This is intended to allow the developer to create application-specific utility Components encapsulated by 32different DOM elements. Example usage:</p><pre><code>{ 33 xtype: <em>'box'</em>, 34 autoEl: { 35 tag: <em>'img'</em>, 36 src: <em>'http:<i>//www.example.com/example.jpg'</em></i> 37 } 38}, { 39 xtype: <em>'box'</em>, 40 autoEl: { 41 tag: <em>'blockquote'</em>, 42 html: <em>'autoEl is cool!'</em> 43 } 44}, { 45 xtype: <em>'container'</em>, 46 autoEl: <em>'ul'</em>, 47 cls: <em>'ux-unordered-list'</em>, 48 items: { 49 xtype: <em>'box'</em>, 50 autoEl: <em>'li'</em>, 51 html: <em>'First list item'</em> 52 } 53}</code></pre></div></div></td><td class="msource"><a href="output/Ext.Component.html#autoEl" ext:member="#autoEl" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.BoxComponent-autoHeight"></a><b><a href="source/BoxComponent.html#cfg-Ext.BoxComponent-autoHeight">autoHeight</a></b> : Boolean<div class="mdesc"><div class="short">True to use height:'auto', false to use fixed height (or allow it to be managed by its parent 54Container's layout mana...</div><div class="long"><p>True to use height:'auto', false to use fixed height (or allow it to be managed by its parent 55Container's <a href="output/Ext.Container.html#Ext.Container-layout" ext:member="layout" ext:cls="Ext.Container">layout manager</a>. Defaults to false.</p> 56<p><b>Note</b>: Although many components inherit this config option, not all will 57function as expected with a height of 'auto'. Setting autoHeight:true means that the 58browser will manage height based on the element's contents, and that Ext will not manage it at all.</p> 59<p>If the <i>browser</i> is managing the height, be aware that resizes performed by the browser in response 60to changes within the structure of the Component cannot be detected. Therefore changes to the height might 61result in elements needing to be synchronized with the new height. Example:</p><pre><code><b>var</b> w = <b>new</b> Ext.Window({ 62 title: <em>'Window'</em>, 63 width: 600, 64 autoHeight: true, 65 items: { 66 title: <em>'Collapse Me'</em>, 67 height: 400, 68 collapsible: true, 69 border: false, 70 listeners: { 71 beforecollapse: <b>function</b>() { 72 w.el.shadow.hide(); 73 }, 74 beforeexpand: <b>function</b>() { 75 w.el.shadow.hide(); 76 }, 77 collapse: <b>function</b>() { 78 w.syncShadow(); 79 }, 80 expand: <b>function</b>() { 81 w.syncShadow(); 82 } 83 } 84 } 85}).show();</code></pre></div></div></td><td class="msource"><a href="output/Ext.BoxComponent.html#autoHeight" ext:member="#autoHeight" ext:cls="Ext.BoxComponent">BoxComponent</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.BoxComponent-autoScroll"></a><b><a href="source/BoxComponent.html#cfg-Ext.BoxComponent-autoScroll">autoScroll</a></b> : Boolean<div class="mdesc"><div class="short">true to use overflow:'auto' on the components layout element and show scroll bars automatically when 86necessary, false...</div><div class="long"><code>true</code> to use overflow:'auto' on the components layout element and show scroll bars automatically when 87necessary, <code>false</code> to clip any overflowing content (defaults to <code>false</code>).</div></div></td><td class="msource"><a href="output/Ext.BoxComponent.html#autoScroll" ext:member="#autoScroll" ext:cls="Ext.BoxComponent">BoxComponent</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-autoShow"></a><b><a href="source/Component.html#cfg-Ext.Component-autoShow">autoShow</a></b> : Boolean<div class="mdesc"><div class="short">True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove 88them on render...</div><div class="long">True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove 89them on render (defaults to false).</div></div></td><td class="msource"><a href="output/Ext.Component.html#autoShow" ext:member="#autoShow" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.BoxComponent-autoWidth"></a><b><a href="source/BoxComponent.html#cfg-Ext.BoxComponent-autoWidth">autoWidth</a></b> : Boolean<div class="mdesc"><div class="short">True to use width:'auto', false to use fixed width (or allow it to be managed by its parent 90Container's layout manage...</div><div class="long"><p>True to use width:'auto', false to use fixed width (or allow it to be managed by its parent 91Container's <a href="output/Ext.Container.html#Ext.Container-layout" ext:member="layout" ext:cls="Ext.Container">layout manager</a>. Defaults to false.</p> 92<p><b>Note</b>: Although many components inherit this config option, not all will 93function as expected with a width of 'auto'. Setting autoWidth:true means that the 94browser will manage width based on the element's contents, and that Ext will not manage it at all.</p> 95<p>If the <i>browser</i> is managing the width, be aware that resizes performed by the browser in response 96to changes within the structure of the Component cannot be detected. Therefore changes to the width might 97result in elements needing to be synchronized with the new width. For example, where the target element is:</p><pre><code><div id=<em>'grid-container'</em> style=<em>'margin-left:25%;width:50%'</em>></div></code></pre> 98A Panel rendered into that target element must listen for browser window resize in order to relay its 99child items when the browser changes its width:<pre><code><b>var</b> myPanel = <b>new</b> Ext.Panel({ 100 renderTo: <em>'grid-container'</em>, 101 monitorResize: true, <i>// relay on browser resize</i> 102 title: <em>'Panel'</em>, 103 height: 400, 104 autoWidth: true, 105 layout: <em>'hbox'</em>, 106 layoutConfig: { 107 align: <em>'stretch'</em> 108 }, 109 defaults: { 110 flex: 1 111 }, 112 items: [{ 113 title: <em>'Box 1'</em>, 114 }, { 115 title: <em>'Box 2'</em> 116 }, { 117 title: <em>'Box 3'</em> 118 }], 119});</code></pre></div></div></td><td class="msource"><a href="output/Ext.BoxComponent.html#autoWidth" ext:member="#autoWidth" ext:cls="Ext.BoxComponent">BoxComponent</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.BoxComponent-boxMaxHeight"></a><b><a href="source/BoxComponent.html#cfg-Ext.BoxComponent-boxMaxHeight">boxMaxHeight</a></b> : Number<div class="mdesc"><div class="short">The maximum value in pixels which this BoxComponent will set its height to. 120Warning: This will override any size mana...</div><div class="long"><p>The maximum value in pixels which this BoxComponent will set its height to.</p> 121<p><b>Warning:</b> This will override any size management applied by layout managers.</p></div></div></td><td class="msource"><a href="output/Ext.BoxComponent.html#boxMaxHeight" ext:member="#boxMaxHeight" ext:cls="Ext.BoxComponent">BoxComponent</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.BoxComponent-boxMaxWidth"></a><b><a href="source/BoxComponent.html#cfg-Ext.BoxComponent-boxMaxWidth">boxMaxWidth</a></b> : Number<div class="mdesc"><div class="short">The maximum value in pixels which this BoxComponent will set its width to. 122Warning: This will override any size manag...</div><div class="long"><p>The maximum value in pixels which this BoxComponent will set its width to.</p> 123<p><b>Warning:</b> This will override any size management applied by layout managers.</p></div></div></td><td class="msource"><a href="output/Ext.BoxComponent.html#boxMaxWidth" ext:member="#boxMaxWidth" ext:cls="Ext.BoxComponent">BoxComponent</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.BoxComponent-boxMinHeight"></a><b><a href="source/BoxComponent.html#cfg-Ext.BoxComponent-boxMinHeight">boxMinHeight</a></b> : Number<div class="mdesc"><div class="short">The minimum value in pixels which this BoxComponent will set its height to. 124Warning: This will override any size mana...</div><div class="long"><p>The minimum value in pixels which this BoxComponent will set its height to.</p> 125<p><b>Warning:</b> This will override any size management applied by layout managers.</p></div></div></td><td class="msource"><a href="output/Ext.BoxComponent.html#boxMinHeight" ext:member="#boxMinHeight" ext:cls="Ext.BoxComponent">BoxComponent</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.BoxComponent-boxMinWidth"></a><b><a href="source/BoxComponent.html#cfg-Ext.BoxComponent-boxMinWidth">boxMinWidth</a></b> : Number<div class="mdesc"><div class="short">The minimum value in pixels which this BoxComponent will set its width to. 126Warning: This will override any size manag...</div><div class="long"><p>The minimum value in pixels which this BoxComponent will set its width to.</p> 127<p><b>Warning:</b> This will override any size management applied by layout managers.</p></div></div></td><td class="msource"><a href="output/Ext.BoxComponent.html#boxMinWidth" ext:member="#boxMinWidth" ext:cls="Ext.BoxComponent">BoxComponent</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-bubbleEvents"></a><b><a href="source/Component.html#cfg-Ext.Component-bubbleEvents">bubbleEvents</a></b> : Array<div class="mdesc"><div class="short">An array of events that, when fired, should be bubbled to any parent container. 128See Ext.util.Observable.enableBubble....</div><div class="long"><p>An array of events that, when fired, should be bubbled to any parent container. 129See <a href="output/Ext.util.Observable.html#Ext.util.Observable-enableBubble" ext:member="enableBubble" ext:cls="Ext.util.Observable">Ext.util.Observable.enableBubble</a>. 130Defaults to <tt>[]</tt>.</div></div></td><td class="msource"><a href="output/Ext.Component.html#bubbleEvents" ext:member="#bubbleEvents" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.chart.Chart-chartStyle"></a><b><a href="source/Chart.html#cfg-Ext.chart.Chart-chartStyle">chartStyle</a></b> : Object<div class="mdesc"><div class="short">Sets styles for this chart. This contains default styling, so modifying this property will override 131the built in styl...</div><div class="long">Sets styles for this chart. This contains default styling, so modifying this property will <b>override</b> 132the built in styles of the chart. Use <a href="output/Ext.chart.Chart.html#Ext.chart.Chart-extraStyle" ext:member="extraStyle" ext:cls="Ext.chart.Chart">extraStyle</a> to add customizations to the default styling.</div></div></td><td class="msource">Chart</td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-clearCls"></a><b><a href="source/Component.html#cfg-Ext.Component-clearCls">clearCls</a></b> : String<div class="mdesc"><div class="short">The CSS class used to to apply to the special clearing div rendered 133directly after each form field wrapper to provide...</div><div class="long"><p>The CSS class used to to apply to the special clearing div rendered 134directly after each form field wrapper to provide field clearing (defaults to 135<tt>'x-form-clear-left'</tt>).</p> 136<br><p><b>Note</b>: this config is only used when this Component is rendered by a Container 137which has been configured to use the <b><a href="output/Ext.layout.FormLayout.html" ext:cls="Ext.layout.FormLayout">FormLayout</a></b> layout 138manager (e.g. <a href="output/Ext.form.FormPanel.html" ext:cls="Ext.form.FormPanel">Ext.form.FormPanel</a> or specifying <tt>layout:'form'</tt>) and either a 139<tt><a href="output/Ext.Component.html#Ext.Component-fieldLabel" ext:member="fieldLabel" ext:cls="Ext.Component">fieldLabel</a></tt> is specified or <tt>isFormField=true</tt> is specified.</p><br> 140<p>See <a href="output/Ext.layout.FormLayout.html" ext:cls="Ext.layout.FormLayout">Ext.layout.FormLayout</a>.<a href="output/Ext.layout.FormLayout.html#Ext.layout.FormLayout-fieldTpl" ext:member="fieldTpl" ext:cls="Ext.layout.FormLayout">fieldTpl</a> also.</p></div></div></td><td class="msource"><a href="output/Ext.Component.html#clearCls" ext:member="#clearCls" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-cls"></a><b><a href="source/Component.html#cfg-Ext.Component-cls">cls</a></b> : String<div class="mdesc"><div class="short">An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be 141useful for ...</div><div class="long">An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be 142useful for adding customized styles to the component or any of its children using standard CSS rules.</div></div></td><td class="msource"><a href="output/Ext.Component.html#cls" ext:member="#cls" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-contentEl"></a><b><a href="source/Component.html#cfg-Ext.Component-contentEl">contentEl</a></b> : String<div class="mdesc"><div class="short">Optional. Specify an existing HTML element, or the id of an existing HTML element to use as the content 143for this comp...</div><div class="long"><p>Optional. Specify an existing HTML element, or the <code>id</code> of an existing HTML element to use as the content 144for this component.</p> 145<ul> 146<li><b>Description</b> : 147<div class="sub-desc">This config option is used to take an existing HTML element and place it in the layout element 148of a new component (it simply moves the specified DOM element <i>after the Component is rendered</i> to use as the content.</div></li> 149<li><b>Notes</b> : 150<div class="sub-desc">The specified HTML element is appended to the layout element of the component <i>after any configured 151<a href="output/Ext.Component.html#Ext.Component-html" ext:member="html" ext:cls="Ext.Component">HTML</a> has been inserted</i>, and so the document will not contain this element at the time the <a href="output/Ext.Component.html#Ext.Component-render" ext:member="render" ext:cls="Ext.Component">render</a> event is fired.</div> 152<div class="sub-desc">The specified HTML element used will not participate in any <code><b><a href="output/Ext.Container.html#Ext.Container-layout" ext:member="layout" ext:cls="Ext.Container">layout</a></b></code> 153scheme that the Component may use. It is just HTML. Layouts operate on child <code><b><a href="output/Ext.Container.html#Ext.Container-items" ext:member="items" ext:cls="Ext.Container">items</a></b></code>.</div> 154<div class="sub-desc">Add either the <code>x-hidden</code> or the <code>x-hide-display</code> CSS class to 155prevent a brief flicker of the content before it is rendered to the panel.</div></li> 156</ul></div></div></td><td class="msource"><a href="output/Ext.Component.html#contentEl" ext:member="#contentEl" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-ctCls"></a><b><a href="source/Component.html#cfg-Ext.Component-ctCls">ctCls</a></b> : String<div class="mdesc"><div class="short">An optional extra CSS class that will be added to this component's container. This can be useful for 157adding customize...</div><div class="long"><p>An optional extra CSS class that will be added to this component's container. This can be useful for 158adding customized styles to the container or any of its children using standard CSS rules. See 159<a href="output/Ext.layout.ContainerLayout.html" ext:cls="Ext.layout.ContainerLayout">Ext.layout.ContainerLayout</a>.<a href="output/Ext.layout.ContainerLayout.html#Ext.layout.ContainerLayout-extraCls" ext:member="extraCls" ext:cls="Ext.layout.ContainerLayout">extraCls</a> also.</p> 160<p><b>Note</b>: <tt>ctCls</tt> defaults to <tt>''</tt> except for the following class 161which assigns a value by default: 162<div class="mdetail-params"><ul> 163<li><a href="output/Ext.layout.Box.html" ext:cls="Ext.layout.Box">Box Layout</a> : <tt>'x-box-layout-ct'</tt></li> 164</ul></div> 165To configure the above Class with an extra CSS class append to the default. For example, 166for BoxLayout (Hbox and Vbox):<pre><code>ctCls: <em>'x-box-layout-ct custom-class'</em></code></pre> 167</p></div></div></td><td class="msource"><a href="output/Ext.Component.html#ctCls" ext:member="#ctCls" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-data"></a><b><a href="source/Component.html#cfg-Ext.Component-data">data</a></b> : Mixed<div class="mdesc">The initial set of data to apply to the <code><a href="output/Ext.Component.html#Ext.Component-tpl" ext:member="tpl" ext:cls="Ext.Component">tpl</a></code> to 168update the content area of the Component.</div></td><td class="msource"><a href="output/Ext.Component.html#data" ext:member="#data" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.chart.Chart-disableCaching"></a><b><a href="source/Chart.html#cfg-Ext.chart.Chart-disableCaching">disableCaching</a></b> : Boolean<div class="mdesc">True to add a "cache buster" to the end of the chart url. Defaults to true for Opera and IE.</div></td><td class="msource">Chart</td></tr><tr class="config-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-disabled"></a><b><a href="source/Component.html#cfg-Ext.Component-disabled">disabled</a></b> : Boolean<div class="mdesc">Render this component disabled (default is false).</div></td><td class="msource"><a href="output/Ext.Component.html#disabled" ext:member="#disabled" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-disabledClass"></a><b><a href="source/Component.html#cfg-Ext.Component-disabledClass">disabledClass</a></b> : String<div class="mdesc">CSS class added to the component when it is disabled (defaults to 'x-item-disabled').</div></td><td class="msource"><a href="output/Ext.Component.html#disabledClass" ext:member="#disabledClass" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.FlashComponent-expressInstall"></a><b><a href="source/FlashComponent.html#cfg-Ext.FlashComponent-expressInstall">expressInstall</a></b> : Boolean<div class="mdesc"><div class="short">True to prompt the user to install flash if not installed. Note that this uses 169Ext.FlashComponent.EXPRESS_INSTALL_URL...</div><div class="long">True to prompt the user to install flash if not installed. Note that this uses 170Ext.FlashComponent.EXPRESS_INSTALL_URL, which should be set to the local resource. Defaults to <tt>false</tt>.</div></div></td><td class="msource"><a href="output/Ext.FlashComponent.html#expressInstall" ext:member="#expressInstall" ext:cls="Ext.FlashComponent">FlashComponent</a></td></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.chart.Chart-extraStyle"></a><b><a href="source/Chart.html#cfg-Ext.chart.Chart-extraStyle">extraStyle</a></b> : Object<div class="mdesc"><div class="short">Contains extra styles that will be added or overwritten to the default chartStyle. Defaults to null. 171For a detailed l...</div><div class="long">Contains extra styles that will be added or overwritten to the default chartStyle. Defaults to <tt>null</tt>. 172For a detailed list of the options available, visit the YUI Charts site 173at <a href="http://developer.yahoo.com/yui/charts/#basicstyles">http://developer.yahoo.com/yui/charts/#basicstyles</a><br/> 174Some of the options availabe:<br /> 175<ul style="padding:5px;padding-left:16px;list-style-type:inherit;"> 176<li><b>padding</b> - The space around the edge of the chart's contents. Padding does not increase the size of the chart.</li> 177<li><b>animationEnabled</b> - A Boolean value that specifies whether marker animations are enabled or not. Enabled by default.</li> 178<li><b>font</b> - An Object defining the font style to be used in the chart. Defaults to <tt>{ name: 'Tahoma', color: 0x444444, size: 11 }</tt><br/> 179<ul style="padding:5px;padding-left:26px;list-style-type:circle;"> 180<li><b>name</b> - font name</li> 181<li><b>color</b> - font color (hex code, ie: "#ff0000", "ff0000" or 0xff0000)</li> 182<li><b>size</b> - font size in points (numeric portion only, ie: 11)</li> 183<li><b>bold</b> - boolean</li> 184<li><b>italic</b> - boolean</li> 185<li><b>underline</b> - boolean</li> 186</ul> 187</li> 188<li><b>border</b> - An object defining the border style around the chart. The chart itself will decrease in dimensions to accomodate the border.<br/> 189<ul style="padding:5px;padding-left:26px;list-style-type:circle;"> 190<li><b>color</b> - border color (hex code, ie: "#ff0000", "ff0000" or 0xff0000)</li> 191<li><b>size</b> - border size in pixels (numeric portion only, ie: 1)</li> 192</ul> 193</li> 194<li><b>background</b> - An object defining the background style of the chart.<br/> 195<ul style="padding:5px;padding-left:26px;list-style-type:circle;"> 196<li><b>color</b> - border color (hex code, ie: "#ff0000", "ff0000" or 0xff0000)</li> 197<li><b>image</b> - an image URL. May be relative to the current document or absolute.</li> 198</ul> 199</li> 200<li><b>legend</b> - An object defining the legend style<br/> 201<ul style="padding:5px;padding-left:26px;list-style-type:circle;"> 202<li><b>display</b> - location of the legend. Possible values are "none", "left", "right", "top", and "bottom".</li> 203<li><b>spacing</b> - an image URL. May be relative to the current document or absolute.</li> 204<li><b>padding, border, background, font</b> - same options as described above.</li> 205</ul></li> 206<li><b>dataTip</b> - An object defining the style of the data tip (tooltip).<br/> 207<ul style="padding:5px;padding-left:26px;list-style-type:circle;"> 208<li><b>padding, border, background, font</b> - same options as described above.</li> 209</ul></li> 210<li><b>xAxis and yAxis</b> - An object defining the style of the style of either axis.<br/> 211<ul style="padding:5px;padding-left:26px;list-style-type:circle;"> 212<li><b>color</b> - same option as described above.</li> 213<li><b>size</b> - same option as described above.</li> 214<li><b>showLabels</b> - boolean</li> 215<li><b>labelRotation</b> - a value in degrees from -90 through 90. Default is zero.</li> 216</ul></li> 217<li><b>majorGridLines and minorGridLines</b> - An object defining the style of the style of the grid lines.<br/> 218<ul style="padding:5px;padding-left:26px;list-style-type:circle;"> 219<li><b>color, size</b> - same options as described above.</li> 220</ul></li></li> 221<li><b>zeroGridLine</b> - An object defining the style of the style of the zero grid line.<br/> 222<ul style="padding:5px;padding-left:26px;list-style-type:circle;"> 223<li><b>color, size</b> - same options as described above.</li> 224</ul></li></li> 225<li><b>majorTicks and minorTicks</b> - An object defining the style of the style of ticks in the chart.<br/> 226<ul style="padding:5px;padding-left:26px;list-style-type:circle;"> 227<li><b>color, size</b> - same options as described above.</li> 228<li><b>length</b> - the length of each tick in pixels extending from the axis.</li> 229<li><b>display</b> - how the ticks are drawn. Possible values are "none", "inside", "outside", and "cross".</li> 230</ul></li></li> 231</ul></div></div></td><td class="msource">Chart</td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-fieldLabel"></a><b><a href="source/Component.html#cfg-Ext.Component-fieldLabel">fieldLabel</a></b> : String<div class="mdesc"><div class="short">The label text to display next to this Component (defaults to ''). 232Note: this config is only used when this Component...</div><div class="long"><p>The label text to display next to this Component (defaults to '').</p> 233<br><p><b>Note</b>: this config is only used when this Component is rendered by a Container which 234has been configured to use the <b><a href="output/Ext.layout.FormLayout.html" ext:cls="Ext.layout.FormLayout">FormLayout</a></b> layout manager (e.g. 235<a href="output/Ext.form.FormPanel.html" ext:cls="Ext.form.FormPanel">Ext.form.FormPanel</a> or specifying <tt>layout:'form'</tt>).</p><br> 236<p>Also see <tt><a href="output/Ext.Component.html#Ext.Component-hideLabel" ext:member="hideLabel" ext:cls="Ext.Component">hideLabel</a></tt> and 237<a href="output/Ext.layout.FormLayout.html" ext:cls="Ext.layout.FormLayout">Ext.layout.FormLayout</a>.<a href="output/Ext.layout.FormLayout.html#Ext.layout.FormLayout-fieldTpl" ext:member="fieldTpl" ext:cls="Ext.layout.FormLayout">fieldTpl</a>.</p> 238Example use:<pre><code><b>new</b> Ext.FormPanel({ 239 height: 100, 240 renderTo: Ext.getBody(), 241 items: [{ 242 xtype: <em>'textfield'</em>, 243 fieldLabel: <em>'Name'</em> 244 }] 245});</code></pre></div></div></td><td class="msource"><a href="output/Ext.Component.html#fieldLabel" ext:member="#fieldLabel" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.FlashComponent-flashParams"></a><b><a href="source/FlashComponent.html#cfg-Ext.FlashComponent-flashParams">flashParams</a></b> : Object<div class="mdesc"><div class="short">A set of key value pairs to be passed to the flash object as parameters. Possible parameters can be found here: 246http:...</div><div class="long">A set of key value pairs to be passed to the flash object as parameters. Possible parameters can be found here: 247http://kb2.adobe.com/cps/127/tn_12701.html Defaults to <tt>undefined</tt>.</div></div></td><td class="msource"><a href="output/Ext.FlashComponent.html#flashParams" ext:member="#flashParams" ext:cls="Ext.FlashComponent">FlashComponent</a></td></tr><tr class="config-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.FlashComponent-flashVars"></a><b><a href="source/FlashComponent.html#cfg-Ext.FlashComponent-flashVars">flashVars</a></b> : Object<div class="mdesc">A set of key value pairs to be passed to the flash object as flash variables. Defaults to <tt>undefined</tt>.</div></td><td class="msource"><a href="output/Ext.FlashComponent.html#flashVars" ext:member="#flashVars" ext:cls="Ext.FlashComponent">FlashComponent</a></td></tr><tr class="config-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.FlashComponent-flashVersion"></a><b><a href="source/FlashComponent.html#cfg-Ext.FlashComponent-flashVersion">flashVersion</a></b> : String<div class="mdesc">Indicates the version the flash content was published for. Defaults to <tt>'9.0.115'</tt>.</div></td><td class="msource"><a href="output/Ext.FlashComponent.html#flashVersion" ext:member="#flashVersion" ext:cls="Ext.FlashComponent">FlashComponent</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.BoxComponent-flex"></a><b><a href="source/BoxComponent.html#cfg-Ext.BoxComponent-flex">flex</a></b> : Number<div class="mdesc"><div class="short">Note: this config is only used when this Component is rendered 248by a Container which has been configured to use a BoxL...</div><div class="long"><p><b>Note</b>: this config is only used when this Component is rendered 249by a Container which has been configured to use a <b><a href="output/Ext.layout.BoxLayout.html" ext:cls="Ext.layout.BoxLayout">BoxLayout</a>.</b> 250Each child Component with a <code>flex</code> property will be flexed either vertically (by a VBoxLayout) 251or horizontally (by an HBoxLayout) according to the item's <b>relative</b> <code>flex</code> value 252compared to the sum of all Components with <code>flex</flex> value specified. Any child items that have 253either a <code>flex = 0</code> or <code>flex = undefined</code> will not be 'flexed' (the initial size will not be changed).</div></div></td><td class="msource"><a href="output/Ext.BoxComponent.html#flex" ext:member="#flex" ext:cls="Ext.BoxComponent">BoxComponent</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.BoxComponent-height"></a><b><a href="source/BoxComponent.html#cfg-Ext.BoxComponent-height">height</a></b> : Number<div class="mdesc"><div class="short">The height of this component in pixels (defaults to auto). 254Note to express this dimension as a percentage or offset s...</div><div class="long">The height of this component in pixels (defaults to auto). 255<b>Note</b> to express this dimension as a percentage or offset see <a href="output/Ext.Component.html#Ext.Component-anchor" ext:member="anchor" ext:cls="Ext.Component">Ext.Component.anchor</a>.</div></div></td><td class="msource"><a href="output/Ext.BoxComponent.html#height" ext:member="#height" ext:cls="Ext.BoxComponent">BoxComponent</a></td></tr><tr class="config-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-hidden"></a><b><a href="source/Component.html#cfg-Ext.Component-hidden">hidden</a></b> : Boolean<div class="mdesc">Render this component hidden (default is false). If <tt>true</tt>, the 256<a href="output/Ext.Component.html#Ext.Component-hide" ext:member="hide" ext:cls="Ext.Component">hide</a> method will be called internally.</div></td><td class="msource"><a href="output/Ext.Component.html#hidden" ext:member="#hidden" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-hideLabel"></a><b><a href="source/Component.html#cfg-Ext.Component-hideLabel">hideLabel</a></b> : Boolean<div class="mdesc"><div class="short">true to completely hide the label element 257(label and separator). Defaults to false. 258By default, even if you do not sp...</div><div class="long"><p><tt>true</tt> to completely hide the label element 259(<a href="output/Ext.Component.html#Ext.Component-fieldLabel" ext:member="fieldLabel" ext:cls="Ext.Component">label</a> and <a href="output/Ext.Component.html#Ext.Component-labelSeparator" ext:member="labelSeparator" ext:cls="Ext.Component">separator</a>). Defaults to <tt>false</tt>. 260By default, even if you do not specify a <tt><a href="output/Ext.Component.html#Ext.Component-fieldLabel" ext:member="fieldLabel" ext:cls="Ext.Component">fieldLabel</a></tt> the space will still be 261reserved so that the field will line up with other fields that do have labels. 262Setting this to <tt>true</tt> will cause the field to not reserve that space.</p> 263<br><p><b>Note</b>: see the note for <tt><a href="output/Ext.Component.html#Ext.Component-clearCls" ext:member="clearCls" ext:cls="Ext.Component">clearCls</a></tt>.</p><br> 264Example use:<pre><code><b>new</b> Ext.FormPanel({ 265 height: 100, 266 renderTo: Ext.getBody(), 267 items: [{ 268 xtype: <em>'textfield'</em> 269 hideLabel: true 270 }] 271});</code></pre></div></div></td><td class="msource"><a href="output/Ext.Component.html#hideLabel" ext:member="#hideLabel" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-hideMode"></a><b><a href="source/Component.html#cfg-Ext.Component-hideMode">hideMode</a></b> : String<div class="mdesc"><div class="short">How this component should be hidden. Supported values are 'visibility' 272(css visibility), 'offsets' (negative offset p...</div><div class="long"><p>How this component should be hidden. Supported values are <tt>'visibility'</tt> 273(css visibility), <tt>'offsets'</tt> (negative offset position) and <tt>'display'</tt> 274(css display).</p> 275<br><p><b>Note</b>: the default of <tt>'display'</tt> is generally preferred 276since items are automatically laid out when they are first shown (no sizing 277is done while hidden).</p></div></div></td><td class="msource"><a href="output/Ext.Component.html#hideMode" ext:member="#hideMode" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-hideParent"></a><b><a href="source/Component.html#cfg-Ext.Component-hideParent">hideParent</a></b> : Boolean<div class="mdesc"><div class="short">True to hide and show the component's container when hide/show is called on the component, false to hide 278and show the...</div><div class="long">True to hide and show the component's container when hide/show is called on the component, false to hide 279and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide 280button on a window by setting hide:true on the button when adding it to its parent container.</div></div></td><td class="msource"><a href="output/Ext.Component.html#hideParent" ext:member="#hideParent" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-html"></a><b><a href="source/Component.html#cfg-Ext.Component-html">html</a></b> : String/Object<div class="mdesc"><div class="short">An HTML fragment, or a DomHelper specification to use as the layout element 281content (defaults to ''). The HTML conten...</div><div class="long">An HTML fragment, or a <a href="output/Ext.DomHelper.html" ext:cls="Ext.DomHelper">DomHelper</a> specification to use as the layout element 282content (defaults to ''). The HTML content is added after the component is rendered, 283so the document will not contain this HTML at the time the <a href="output/Ext.Component.html#Ext.Component-render" ext:member="render" ext:cls="Ext.Component">render</a> event is fired. 284This content is inserted into the body <i>before</i> any configured <a href="output/Ext.Component.html#Ext.Component-contentEl" ext:member="contentEl" ext:cls="Ext.Component">contentEl</a> is appended.</div></div></td><td class="msource"><a href="output/Ext.Component.html#html" ext:member="#html" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-id"></a><b><a href="source/Component.html#cfg-Ext.Component-id">id</a></b> : String<div class="mdesc"><div class="short">The unique id of this component (defaults to an auto-assigned id). 285You should assign an id if you need to be able to ...</div><div class="long"><p>The <b>unique</b> id of this component (defaults to an <a href="output/Ext.Component.html#Ext.Component-getId" ext:member="getId" ext:cls="Ext.Component">auto-assigned id</a>). 286You should assign an id if you need to be able to access the component later and you do 287not have an object reference available (e.g., using <a href="output/Ext.html" ext:cls="Ext">Ext</a>.<a href="output/Ext.html#Ext-getCmp" ext:member="getCmp" ext:cls="Ext">getCmp</a>).</p> 288<p>Note that this id will also be used as the element id for the containing HTML element 289that is rendered to the page for this component. This allows you to write id-based CSS 290rules to style the specific instance of this component uniquely, and also to select 291sub-elements using this component's id as the parent.</p> 292<p><b>Note</b>: to avoid complications imposed by a unique <tt>id</tt> also see 293<code><a href="output/Ext.Component.html#Ext.Component-itemId" ext:member="itemId" ext:cls="Ext.Component">itemId</a></code> and <code><a href="output/Ext.Component.html#Ext.Component-ref" ext:member="ref" ext:cls="Ext.Component">ref</a></code>.</p> 294<p><b>Note</b>: to access the container of an item see <code><a href="output/Ext.Component.html#Ext.Component-ownerCt" ext:member="ownerCt" ext:cls="Ext.Component">ownerCt</a></code>.</p></div></div></td><td class="msource"><a href="output/Ext.Component.html#id" ext:member="#id" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-itemCls"></a><b><a href="source/Component.html#cfg-Ext.Component-itemCls">itemCls</a></b> : String<div class="mdesc"><div class="short">Note: this config is only used when this Component is rendered by a Container which 295has been configured to use the Fo...</div><div class="long"><p><b>Note</b>: this config is only used when this Component is rendered by a Container which 296has been configured to use the <b><a href="output/Ext.layout.FormLayout.html" ext:cls="Ext.layout.FormLayout">FormLayout</a></b> layout manager (e.g. 297<a href="output/Ext.form.FormPanel.html" ext:cls="Ext.form.FormPanel">Ext.form.FormPanel</a> or specifying <tt>layout:'form'</tt>).</p><br> 298<p>An additional CSS class to apply to the div wrapping the form item 299element of this field. If supplied, <tt>itemCls</tt> at the <b>field</b> level will override 300the default <tt>itemCls</tt> supplied at the <b>container</b> level. The value specified for 301<tt>itemCls</tt> will be added to the default class (<tt>'x-form-item'</tt>).</p> 302<p>Since it is applied to the item wrapper (see 303<a href="output/Ext.layout.FormLayout.html" ext:cls="Ext.layout.FormLayout">Ext.layout.FormLayout</a>.<a href="output/Ext.layout.FormLayout.html#Ext.layout.FormLayout-fieldTpl" ext:member="fieldTpl" ext:cls="Ext.layout.FormLayout">fieldTpl</a>), it allows 304you to write standard CSS rules that can apply to the field, the label (if specified), or 305any other element within the markup for the field.</p> 306<br><p><b>Note</b>: see the note for <tt><a href="output/Ext.Component.html#Ext.Component-fieldLabel" ext:member="fieldLabel" ext:cls="Ext.Component">fieldLabel</a></tt>.</p><br> 307Example use:<pre><code><i>// Apply a style to the field's <b>label</b>:</i> 308<style> 309 .required .x-form-item-<b>label</b> {font-weight:bold;color:red;} 310</style> 311 312<b>new</b> Ext.FormPanel({ 313 height: 100, 314 renderTo: Ext.getBody(), 315 items: [{ 316 xtype: <em>'textfield'</em>, 317 fieldLabel: <em>'Name'</em>, 318 itemCls: <em>'required'</em> <i>//this <b>label</b> will be styled</i> 319 },{ 320 xtype: <em>'textfield'</em>, 321 fieldLabel: <em>'Favorite Color'</em> 322 }] 323});</code></pre></div></div></td><td class="msource"><a href="output/Ext.Component.html#itemCls" ext:member="#itemCls" ext:cls="Ext.Component">Component</a></td></tr><tr class="config-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Component-itemId"></a><b><a href="source/Component.html#cfg-Ext.Component-itemId">itemId</a></b> : String<div class="mdesc"><div class="short">An itemId can be used as an alternative way to get a reference to a component 324when no object reference is available. ...</div><div class="long"><p>An <tt>itemId</tt> can be used as an alternative way to get a reference to a component 325when no object reference is available. Instead of using an <code><a href="output/Ext.Component.html#Ext.Component-id" ext:member="id" ext:cls="Ext.Component">id</a></code> with 326<a href="output/Ext.html" ext:cls="Ext">Ext</a>.<a href="output/Ext.html#Ext-getCmp" ext:member="getCmp" ext:cls="Ext">getCmp</a>, use <code>itemId</code> with 327<a href="output/Ext.Container.html" ext:cls="Ext.Container">Ext.Container</a>.<a href="output/Ext.Container.html#Ext.Container-getComponent" ext:member="getComponent" ext:cls="Ext.Container">getComponent</a> which will retrieve 328<code>itemId</code>'s or <tt><a href="output/Ext.Component.html#Ext.Component-id" ext:member="id" ext:cls="Ext.Component">id</a></tt>'s. Since <code>itemId</code>'s are an index to the 329container's internal MixedCollection, the <code>itemId</code> is scoped locally to the container -- 330avoiding potential conflicts with <a href="output/Ext.ComponentMgr.html" ext:cls="Ext.ComponentMgr">Ext.ComponentMgr</a> which requires a <b>unique</b> 331<code><a href="output/Ext.Component.html#Ext.Component-id" ext:member="id" ext:cls="Ext.Component">id</a></code>.</p> 332<pre><code><b>var</b> c = <b>new</b> Ext.Panel({ <i>//</i> 333 <a href="output/Ext.BoxComponent.html#Ext.BoxComponent-height" ext:member="height" ext:cls="Ext.BoxComponent">height</a>: 300, 334 <a href="output/Ext.Component.html#Ext.Component-renderTo" ext:member="renderTo" ext:cls="Ext.Component">renderTo</a>: document.body, 335 <a href="output/Ext.Container.html#Ext.Container-layout" ext:member="layout" ext:cls="Ext.Container">layout</a>: <em>'auto'</em>, 336 <a href="output/Ext.Container.html#Ext.Container-items" ext:member="items" ext:cls="Ext.Container">items</a>: [ 337 { 338 itemId: <em>'p1'</em>, 339 <a href="output/Ext.Panel.html#Ext.Panel-title" ext:member="title" ext:cls="Ext.Panel">tit…
Large files files are truncated, but you can click here to view the full file