X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/src/chart/series/Cartesian.js diff --git a/src/chart/series/Cartesian.js b/src/chart/series/Cartesian.js new file mode 100644 index 00000000..f8743319 --- /dev/null +++ b/src/chart/series/Cartesian.js @@ -0,0 +1,44 @@ +/** + * @class Ext.chart.series.Cartesian + * @extends Ext.chart.series.Series + * + * Common base class for series implementations which plot values using x/y coordinates. + * + * @constructor + */ +Ext.define('Ext.chart.series.Cartesian', { + + /* Begin Definitions */ + + extend: 'Ext.chart.series.Series', + + alternateClassName: ['Ext.chart.CartesianSeries', 'Ext.chart.CartesianChart'], + + /* End Definitions */ + + /** + * The field used to access the x axis value from the items from the data + * source. + * + * @cfg xField + * @type String + */ + xField: null, + + /** + * The field used to access the y-axis value from the items from the data + * source. + * + * @cfg yField + * @type String + */ + yField: null, + + /** + * Indicates which axis the series will bind to + * + * @property axis + * @type String + */ + axis: 'left' +});