PDA

View Full Version : Infinite width in the bar chart



fabio.policeno
16 Feb 2012, 9:19 AM
Hello,

I am developing a bar chart and I'm having problems with size of the bars (picture). The Valore are correct as you can see. Any suggestions?



....
me.chartBar = {
xtype : 'chart',
itemId : 'bar',
height : me.heightChart,
width : me.width,
store : me.store,
animate: true,
axes : [{
type : 'Numeric',
title : me.labelYLine,
position: 'bottom',
fields : [me.fieldValue],
grid : true,
label : {
renderer: me.rendererFieldValue || me.rendererDefault
}
},{
type : 'Category',
title : me.labelXLine,
position: 'left',
fields : [me.fieldDescription],
label : {
renderer: me.rendererFieldDescription || me.rendererDefault
}
}],
series: [{
type : 'bar',
yField : me.fieldValue,
xField : me.fieldDescription,
highlight: true,
tips : {
width : me.widthTip,
renderer: me.rendererPie(me.fieldValue, me.fieldDescription, me.rendererFieldValue, me.rendererFieldDescription, me.limitCharLabelTip)
}
}]
};
...


31781

Thank's!

mitchellsimoens
16 Feb 2012, 9:57 AM
Nothing stands out that would cause it.

fabio.policeno
16 Feb 2012, 10:18 AM
I remove renderers, and nothing! :(