Hi,
I've got the following chart, including a stack column chart and two line charts:
PHP Code:
var chart Ext4.create('widget.chart', {
        
xtype'chart',
        
animatetrue,
        
shadowtrue,
        
storestore,
        
insetPadding10,
        
legend: {
            
position'top'
        
},
        
axes: [{
            
type'Numeric',
            
position'left',
            
fields: ['quotaFull''quotaIncremental'],
            
title'Data',
            
gridtrue,
            
label: {
                
renderer: function(item) {
                    var 
= (item*0) ? item*1/1024 0;
                    return 
Ext4.util.Format.number(v'0') + ' GB';
                }
            }
        }, {
            
type'Category',
            
position'bottom',
            
fields: ['date'],
            
title'Date',
            
gridtrue
            
}
        }],
        
series: [{
            
type'column',
            
axis'left',
            
xField'date',
            
yField: ['quotaFull''quotaIncremental'],
            
title: ['Quota full''Quota incremental'],
            
stackedtrue
        
},{
            
type'line',
            
axis'left',
            
smoothtrue,
            
xField'date',
            
yField'quotaFull',
            
title'Quota full',
            
tips: {
                
trackMousetrue,
                
width85,
                
height28,
                
renderer: function(storeItemitem) {
                    var 
= (item.value[1]*0) ? item.value[1]*1/1024 0;
                    
this.setTitle(Ext4.util.Format.number(v'0.00') + ' GB');
                }
            }
        },{
            
type'line',
            
axis'left',
            
smoothtrue,
            
xField'date',
            
yField'quotaIncremental',
            
title'Quota incremental',
            
tips: {
                
trackMousetrue,
                
width85,
                
height28,
                
renderer: function(storeItemitem) {
                    var 
= (item.value[1]*0) ? item.value[1]*1/1024 0;
                    
this.setTitle(Ext4.util.Format.number(v'0.00') + ' GB');
                }
            }
        }]
    }); 
Now if I remove a field of the stacked column chart from display (clicking on the legend) the unit of the y axes changes, but this unit change has no effect to the line chart series.

What am I doing wrong?

Also I'd like to know if I'm able to define the unit of the axes to a specific value?
How to define the inteval of numeric axes?


Thanks eztam!