Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
joo.classLoader.prepare("package ext.config",/* {*/


/**
 * The Ext.chart package provides the capability to visualize data with flash based charting. Each chart binds directly to an Ext.data.Store enabling automatic updates of the chart. To change the look and feel of a chart, see the <a href="output/Ext.chart.Chart.html#Ext.chart.Chart-chartStyle">chartStyle</a> and <a href="output/Ext.chart.Chart.html#Ext.chart.Chart-extraStyle">extraStyle</a> config options.
 *
 * <p>This class represents the xtype 'chart' and serves as a
 * typed config object for constructor of class Chart.</p>
 *
 * <p>Copyright &#169; 2011 Sencha Inc.</p>
 * @see ext.chart.Chart
 */
{ExtConfig:{target:"ext.chart.Chart", xtype:"chart"}},
"public class chart extends ext.config.flash",6,function($$private){var $1=ext.config;return[ 

  "public function chart",function chart(config/*:Object = null*/) {if(arguments.length<=0)config=null;

     $1.flash.call(this,config);
  },


  /**
   Sets styles for this chart. This contains default styling, so modifying this property will <b>override</b> the built in styles of the chart. Use <a href="output/Ext.chart.Chart.html#Ext.chart.Chart-extraStyle">extraStyle</a> to add customizations to the default styling.
   */
  "public native function get chartStyle"/*():Object*/,

  /**
   * @private
   */
  "public native function set chartStyle"/*(value:Object):void*/,

  /**
   True to add a "cache buster" to the end of the chart url. Defaults to true for Opera and IE.
   */
  "public native function get disableCaching"/*():Boolean*/,

  /**
   * @private
   */
  "public native function set disableCaching"/*(value:Boolean):void*/,

  /**
   Contains extra styles that will be added or overwritten to the default chartStyle. Defaults to <tt>null</tt>. For a detailed list of the options available, visit the YUI Charts site at <a href="http://developer.yahoo.com/yui/charts/#basicstyles">http://developer.yahoo.com/yui/charts/#basicstyles</a><br/>Some of the options available:<br/><ul style="padding:5px;padding-left:16px;list-style-type:inherit;"><li><b>padding</b> - The space around the edge of the chart's contents. Padding does not increase the size of the chart.</li><li><b>animationEnabled</b> - A Boolean value that specifies whether marker animations are enabled or not. Enabled by default.</li><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/><ul style="padding:5px;padding-left:26px;list-style-type:circle;"><li><b>name</b> - font name</li><li><b>color</b> - font color (hex code, ie: "#ff0000", "ff0000" or 0xff0000)</li><li><b>size</b> - font size in points (numeric portion only, ie: 11)</li><li><b>bold</b> - boolean</li><li><b>italic</b> - boolean</li><li><b>underline</b> - boolean</li></ul></li><li><b>border</b> - An object defining the border style around the chart. The chart itself will decrease in dimensions to accommodate the border.<br/><ul style="padding:5px;padding-left:26px;list-style-type:circle;"><li><b>color</b> - border color (hex code, ie: "#ff0000", "ff0000" or 0xff0000)</li><li><b>size</b> - border size in pixels (numeric portion only, ie: 1)</li></ul></li><li><b>background</b> - An object defining the background style of the chart.<br/><ul style="padding:5px;padding-left:26px;list-style-type:circle;"><li><b>color</b> - border color (hex code, ie: "#ff0000", "ff0000" or 0xff0000)</li><li><b>image</b> - an image URL. May be relative to the current document or absolute.</li></ul></li><li><b>legend</b> - An object defining the legend style<br/><ul style="padding:5px;padding-left:26px;list-style-type:circle;"><li><b>display</b> - location of the legend. Possible values are "none", "left", "right", "top", and "bottom".</li><li><b>spacing</b> - an image URL. May be relative to the current document or absolute.</li><li><b>padding, border, background, font</b> - same options as described above.</li></ul></li><li><b>dataTip</b> - An object defining the style of the data tip (tooltip).<br/><ul style="padding:5px;padding-left:26px;list-style-type:circle;"><li><b>padding, border, background, font</b> - same options as described above.</li></ul></li><li><b>xAxis and yAxis</b> - An object defining the style of the style of either axis.<br/><ul style="padding:5px;padding-left:26px;list-style-type:circle;"><li><b>color</b> - same option as described above.</li><li><b>size</b> - same option as described above.</li><li><b>showLabels</b> - boolean</li><li><b>labelRotation</b> - a value in degrees from -90 through 90. Default is zero.</li></ul></li><li><b>majorGridLines and minorGridLines</b> - An object defining the style of the style of the grid lines.<br/><ul style="padding:5px;padding-left:26px;list-style-type:circle;"><li><b>color, size</b> - same options as described above.</li></ul></li><li><b>zeroGridLine</b> - An object defining the style of the style of the zero grid line.<br/><ul style="padding:5px;padding-left:26px;list-style-type:circle;"><li><b>color, size</b> - same options as described above.</li></ul></li><li><b>majorTicks and minorTicks</b> - An object defining the style of the style of ticks in the chart.<br/><ul style="padding:5px;padding-left:26px;list-style-type:circle;"><li><b>color, size</b> - same options as described above.</li><li><b>length</b> - the length of each tick in pixels extending from the axis.</li><li><b>display</b> - how the ticks are drawn. Possible values are "none", "inside", "outside", and "cross".</li></ul></li></ul>
   */
  "public native function get extraStyle"/*():Object*/,

  /**
   * @private
   */
  "public native function set extraStyle"/*(value:Object):void*/,

  /**
   Contains styles to apply to the series after a refresh. Defaults to <tt>null</tt>.
   */
  "public native function get seriesStyles"/*():Object*/,

  /**
   * @private
   */
  "public native function set seriesStyles"/*(value:Object):void*/,

  /**
   The url to load the chart from. This defaults to Ext.chart.Chart.CHART_URL, which should be modified to point to the local charts resource.
   */
  "override public native function get url"/*():String*/,

  /**
   * @private
   */
  "override public native function set url"/*(value:String):void*/,


undefined];},[],["ext.config.flash"], "0.8.0", "2.0.1"
);
New to GrepCode? Check out our FAQ X