Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / src / chart / series / Cartesian.js
1 /*
2
3 This file is part of Ext JS 4
4
5 Copyright (c) 2011 Sencha Inc
6
7 Contact:  http://www.sencha.com/contact
8
9 GNU General Public License Usage
10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file.  Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
11
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
13
14 */
15 /**
16  * @class Ext.chart.series.Cartesian
17  * @extends Ext.chart.series.Series
18  *
19  * Common base class for series implementations which plot values using x/y coordinates.
20  *
21  */
22 Ext.define('Ext.chart.series.Cartesian', {
23
24     /* Begin Definitions */
25
26     extend: 'Ext.chart.series.Series',
27
28     alternateClassName: ['Ext.chart.CartesianSeries', 'Ext.chart.CartesianChart'],
29
30     /* End Definitions */
31
32     /**
33      * The field used to access the x axis value from the items from the data
34      * source.
35      *
36      * @cfg xField
37      * @type String
38      */
39     xField: null,
40
41     /**
42      * The field used to access the y-axis value from the items from the data
43      * source.
44      *
45      * @cfg yField
46      * @type String
47      */
48     yField: null,
49
50     /**
51      * Indicates which axis the series will bind to
52      *
53      * @property axis
54      * @type String
55      */
56     axis: 'left'
57 });
58