- onDestroy : function(){
- Ext.chart.CartesianChart.superclass.onDestroy.call(this);
- Ext.each(this.labelFn, function(fn){
- this.removeFnProxy(fn);
- }, this);
- }
-});
-Ext.reg('cartesianchart', Ext.chart.CartesianChart);
-
-<div id="cls-Ext.chart.LineChart"></div>/**
- * @class Ext.chart.LineChart
- * @extends Ext.chart.CartesianChart
- * @constructor
- * @xtype linechart
- */
-Ext.chart.LineChart = Ext.extend(Ext.chart.CartesianChart, {
- type: 'line'
-});
-Ext.reg('linechart', Ext.chart.LineChart);
-
-<div id="cls-Ext.chart.ColumnChart"></div>/**
- * @class Ext.chart.ColumnChart
- * @extends Ext.chart.CartesianChart
- * @constructor
- * @xtype columnchart
- */
-Ext.chart.ColumnChart = Ext.extend(Ext.chart.CartesianChart, {
- type: 'column'
-});
-Ext.reg('columnchart', Ext.chart.ColumnChart);
-
-<div id="cls-Ext.chart.StackedColumnChart"></div>/**
- * @class Ext.chart.StackedColumnChart
- * @extends Ext.chart.CartesianChart
- * @constructor
- * @xtype stackedcolumnchart
- */
-Ext.chart.StackedColumnChart = Ext.extend(Ext.chart.CartesianChart, {
- type: 'stackcolumn'
-});
-Ext.reg('stackedcolumnchart', Ext.chart.StackedColumnChart);
-
-<div id="cls-Ext.chart.BarChart"></div>/**
- * @class Ext.chart.BarChart
- * @extends Ext.chart.CartesianChart
- * @constructor
- * @xtype barchart
- */
-Ext.chart.BarChart = Ext.extend(Ext.chart.CartesianChart, {
- type: 'bar'
-});
-Ext.reg('barchart', Ext.chart.BarChart);
-
-<div id="cls-Ext.chart.StackedBarChart"></div>/**
- * @class Ext.chart.StackedBarChart
- * @extends Ext.chart.CartesianChart
- * @constructor
- * @xtype stackedbarchart
- */
-Ext.chart.StackedBarChart = Ext.extend(Ext.chart.CartesianChart, {
- type: 'stackbar'
-});
-Ext.reg('stackedbarchart', Ext.chart.StackedBarChart);
-
-
-
-<div id="cls-Ext.chart.Axis"></div>/**
- * @class Ext.chart.Axis
- * Defines a CartesianChart's vertical or horizontal axis.
- * @constructor
- */
-Ext.chart.Axis = function(config){
- Ext.apply(this, config);
-};
-
-Ext.chart.Axis.prototype =
-{
- <div id="prop-Ext.chart.Axis-type"></div>/**
- * The type of axis.
- *
- * @property type
- * @type String
- */
- type: null,
-
- <div id="prop-Ext.chart.Axis-orientation"></div>/**
- * The direction in which the axis is drawn. May be "horizontal" or "vertical".
- *
- * @property orientation
- * @type String
- */
- orientation: "horizontal",
-
- <div id="prop-Ext.chart.Axis-reverse"></div>/**
- * If true, the items on the axis will be drawn in opposite direction.
- *
- * @property reverse
- * @type Boolean
- */
- reverse: false,
-
- <div id="prop-Ext.chart.Axis-labelFunction"></div>/**
- * A string reference to the globally-accessible function that may be called to
- * determine each of the label values for this axis.
- *
- * @property labelFunction
- * @type String
- */
- labelFunction: null,
-
- <div id="prop-Ext.chart.Axis-hideOverlappingLabels"></div>/**
- * If true, labels that overlap previously drawn labels on the axis will be hidden.
- *
- * @property hideOverlappingLabels
- * @type Boolean
- */
- hideOverlappingLabels: true,
-
- <div id="prop-Ext.chart.Axis-labelSpacing"></div>/**
- * The space, in pixels, between labels on an axis.
- *
- * @property labelSpacing
- * @type Number
- */
- labelSpacing: 2
-};
-
-<div id="cls-Ext.chart.NumericAxis"></div>/**
- * @class Ext.chart.NumericAxis
- * @extends Ext.chart.Axis
- * A type of axis whose units are measured in numeric values.
- * @constructor
- */
-Ext.chart.NumericAxis = Ext.extend(Ext.chart.Axis, {
- type: "numeric",
-
- <div id="prop-Ext.chart.NumericAxis-minimum"></div>/**
- * The minimum value drawn by the axis. If not set explicitly, the axis
- * minimum will be calculated automatically.
- *
- * @property minimum
- * @type Number
- */
- minimum: NaN,
-
- <div id="prop-Ext.chart.NumericAxis-maximum"></div>/**
- * The maximum value drawn by the axis. If not set explicitly, the axis
- * maximum will be calculated automatically.
- *
- * @property maximum
- * @type Number
- */
- maximum: NaN,
-
- <div id="prop-Ext.chart.NumericAxis-majorUnit"></div>/**
- * The spacing between major intervals on this axis.
- *
- * @property majorUnit
- * @type Number
- */
- majorUnit: NaN,
-
- <div id="prop-Ext.chart.NumericAxis-minorUnit"></div>/**
- * The spacing between minor intervals on this axis.
- *
- * @property minorUnit
- * @type Number
- */
- minorUnit: NaN,
-
- <div id="prop-Ext.chart.NumericAxis-snapToUnits"></div>/**
- * If true, the labels, ticks, gridlines, and other objects will snap to the
- * nearest major or minor unit. If false, their position will be based on
- * the minimum value.
- *
- * @property snapToUnits
- * @type Boolean
- */
- snapToUnits: true,
-
- <div id="prop-Ext.chart.NumericAxis-alwaysShowZero"></div>/**
- * If true, and the bounds are calculated automatically, either the minimum
- * or maximum will be set to zero.
- *
- * @property alwaysShowZero
- * @type Boolean
- */
- alwaysShowZero: true,
-
- <div id="prop-Ext.chart.NumericAxis-scale"></div>/**
- * The scaling algorithm to use on this axis. May be "linear" or
- * "logarithmic".
- *
- * @property scale
- * @type String
- */
- scale: "linear",
-
- <div id="prop-Ext.chart.NumericAxis-roundMajorUnit"></div>/**
- * Indicates whether to round the major unit.
- *
- * @property roundMajorUnit
- * @type Boolean
- */
- roundMajorUnit: true,
-
- <div id="prop-Ext.chart.NumericAxis-calculateByLabelSize"></div>/**
- * Indicates whether to factor in the size of the labels when calculating a
- * major unit.
- *
- * @property calculateByLabelSize
- * @type Boolean
- */
- calculateByLabelSize: true,
-
- <div id="prop-Ext.chart.NumericAxis-position"></div>/**
- * Indicates the position of the axis relative to the chart
- *
- * @property position
- * @type String
- */
- position: 'left',
-
- <div id="prop-Ext.chart.NumericAxis-adjustMaximumByMajorUnit"></div>/**
- * Indicates whether to extend maximum beyond data's maximum to the nearest
- * majorUnit.
- *
- * @property adjustMaximumByMajorUnit
- * @type Boolean
- */
- adjustMaximumByMajorUnit: true,
-
- <div id="prop-Ext.chart.NumericAxis-adjustMinimumByMajorUnit"></div>/**
- * Indicates whether to extend the minimum beyond data's minimum to the
- * nearest majorUnit.
- *
- * @property adjustMinimumByMajorUnit
- * @type Boolean
- */
- adjustMinimumByMajorUnit: true
-
-});
-
-<div id="cls-Ext.chart.TimeAxis"></div>/**
- * @class Ext.chart.TimeAxis
- * @extends Ext.chart.Axis
- * A type of axis whose units are measured in time-based values.
- * @constructor
- */
-Ext.chart.TimeAxis = Ext.extend(Ext.chart.Axis, {
- type: "time",
-
- <div id="prop-Ext.chart.TimeAxis-minimum"></div>/**
- * The minimum value drawn by the axis. If not set explicitly, the axis
- * minimum will be calculated automatically.
- *
- * @property minimum
- * @type Date
- */
- minimum: null,
-
- <div id="prop-Ext.chart.TimeAxis-maximum"></div>/**
- * The maximum value drawn by the axis. If not set explicitly, the axis
- * maximum will be calculated automatically.
- *
- * @property maximum
- * @type Number
- */
- maximum: null,
-
- <div id="prop-Ext.chart.TimeAxis-majorUnit"></div>/**
- * The spacing between major intervals on this axis.
- *
- * @property majorUnit
- * @type Number
- */
- majorUnit: NaN,
-
- <div id="prop-Ext.chart.TimeAxis-majorTimeUnit"></div>/**
- * The time unit used by the majorUnit.
- *
- * @property majorTimeUnit
- * @type String
- */
- majorTimeUnit: null,
-
- <div id="prop-Ext.chart.TimeAxis-majorUnit"></div>/**
- * The spacing between minor intervals on this axis.
- *
- * @property majorUnit
- * @type Number
- */
- minorUnit: NaN,
-
- <div id="prop-Ext.chart.TimeAxis-majorTimeUnit"></div>/**
- * The time unit used by the minorUnit.
- *
- * @property majorTimeUnit
- * @type String
- */
- minorTimeUnit: null,
-
- <div id="prop-Ext.chart.TimeAxis-snapToUnits"></div>/**
- * If true, the labels, ticks, gridlines, and other objects will snap to the
- * nearest major or minor unit. If false, their position will be based on
- * the minimum value.
- *
- * @property snapToUnits
- * @type Boolean
- */
- snapToUnits: true,
-
- <div id="prop-Ext.chart.TimeAxis-stackingEnabled"></div>/**
- * Series that are stackable will only stack when this value is set to true.
- *
- * @property stackingEnabled
- * @type Boolean
- */
- stackingEnabled: false,
-
- <div id="prop-Ext.chart.TimeAxis-calculateByLabelSize"></div>/**
- * Indicates whether to factor in the size of the labels when calculating a
- * major unit.
- *
- * @property calculateByLabelSize
- * @type Boolean
- */
- calculateByLabelSize: true
-
-});
-
-<div id="cls-Ext.chart.CategoryAxis"></div>/**
- * @class Ext.chart.CategoryAxis
- * @extends Ext.chart.Axis
- * A type of axis that displays items in categories.
- * @constructor
- */
-Ext.chart.CategoryAxis = Ext.extend(Ext.chart.Axis, {
- type: "category",
-
- <div id="prop-Ext.chart.CategoryAxis-categoryNames"></div>/**
- * A list of category names to display along this axis.
- *
- * @property categoryNames
- * @type Array
- */
- categoryNames: null,
-
- <div id="prop-Ext.chart.CategoryAxis-calculateCategoryCount"></div>/**
- * Indicates whether or not to calculate the number of categories (ticks and
- * labels) when there is not enough room to display all labels on the axis.
- * If set to true, the axis will determine the number of categories to plot.
- * If not, all categories will be plotted.
- *
- * @property calculateCategoryCount
- * @type Boolean
- */
- calculateCategoryCount: false
-
-});
-
-<div id="cls-Ext.chart.Series"></div>/**
- * @class Ext.chart.Series
- * Series class for the charts widget.
- * @constructor
- */
-Ext.chart.Series = function(config) { Ext.apply(this, config); };
-
-Ext.chart.Series.prototype =
-{
- <div id="prop-Ext.chart.Series-type"></div>/**
- * The type of series.
- *
- * @property type
- * @type String
- */
- type: null,
-
- <div id="prop-Ext.chart.Series-displayName"></div>/**
- * The human-readable name of the series.
- *
- * @property displayName
- * @type String
- */
- displayName: null
-};
-
-<div id="cls-Ext.chart.CartesianSeries"></div>/**
- * @class Ext.chart.CartesianSeries
- * @extends Ext.chart.Series
- * CartesianSeries class for the charts widget.
- * @constructor
- */
-Ext.chart.CartesianSeries = Ext.extend(Ext.chart.Series, {
- <div id="prop-Ext.chart.CartesianSeries-xField"></div>/**
- * The field used to access the x-axis value from the items from the data
- * source.
- *
- * @property xField
- * @type String
- */
- xField: null,
-
- <div id="prop-Ext.chart.CartesianSeries-yField"></div>/**
- * The field used to access the y-axis value from the items from the data
- * source.
- *
- * @property yField
- * @type String
- */
- yField: null,
-
- <div id="prop-Ext.chart.CartesianSeries-showInLegend"></div>/**
- * False to not show this series in the legend. Defaults to <tt>true</tt>.
- *
- * @property showInLegend
- * @type Boolean
- */
- showInLegend: true,
-
- <div id="prop-Ext.chart.CartesianSeries-axis"></div>/**
- * Indicates which axis the series will bind to
- *
- * @property axis
- * @type String
- */
- axis: 'primary'
-});