1 <!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-chart.axis.Abstract'>/**
2 </span> * @class Ext.chart.axis.Abstract
5 Ext.define('Ext.chart.axis.Abstract', {
7 /* Begin Definitions */
9 requires: ['Ext.chart.Chart'],
13 constructor: function(config) {
14 config = config || {};
17 pos = config.position || 'left';
19 pos = pos.charAt(0).toUpperCase() + pos.substring(1);
20 //axisLabel(Top|Bottom|Right|Left)Style
21 config.label = Ext.apply(config['axisLabel' + pos + 'Style'] || {}, config.label || {});
22 config.axisTitleStyle = Ext.apply(config['axisTitle' + pos + 'Style'] || {}, config.labelTitle || {});
23 Ext.apply(me, config);
24 me.fields = [].concat(me.fields);
28 me.labelGroup = me.chart.surface.getGroup(me.axisId + "-labels");
40 return this.axisId || (this.axisId = Ext.id(null, 'ext-axis-'));
44 Called to process a view i.e to make aggregation and filtering over
45 a store creating a substore to be used to render the axis. Since many axes
46 may do different things on the data and we want the final result of all these
47 operations to be rendered we need to call processView on all axes before drawing
50 processView: Ext.emptyFn,
52 drawAxis: Ext.emptyFn,
53 addDisplayAndLabels: Ext.emptyFn
55 </pre></pre></body></html>