Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / src / chart / series / Cartesian.js
1 /**
2  * @class Ext.chart.series.Cartesian
3  * @extends Ext.chart.series.Series
4  *
5  * Common base class for series implementations which plot values using x/y coordinates.
6  *
7  * @constructor
8  */
9 Ext.define('Ext.chart.series.Cartesian', {
10
11     /* Begin Definitions */
12
13     extend: 'Ext.chart.series.Series',
14
15     alternateClassName: ['Ext.chart.CartesianSeries', 'Ext.chart.CartesianChart'],
16
17     /* End Definitions */
18
19     /**
20      * The field used to access the x axis value from the items from the data
21      * source.
22      *
23      * @cfg xField
24      * @type String
25      */
26     xField: null,
27
28     /**
29      * The field used to access the y-axis value from the items from the data
30      * source.
31      *
32      * @cfg yField
33      * @type String
34      */
35     yField: null,
36
37     /**
38      * Indicates which axis the series will bind to
39      *
40      * @property axis
41      * @type String
42      */
43     axis: 'left'
44 });