View Full Version : charts - yAxis - labelRenderer

22 Aug 2010, 12:32 AM

Before I post this as a bug, I want to be sure that I'm not doing anything wrong:

The problem is the yAxis, labelRenderer: it is setting the comma-decimal separator correct, but it won't render the euro-sign. Instaid it's just showing the text €. I use the same code as I do in a grid (where this works).

, initComponent: function () {
Ext.apply(this, {
title: 'ExtJS.com Visits Trend, 2007/2008 (No styling)',
items: [{
xtype: 'columnchart',
store: this.Store,
xField: 'month',
yAxis: new Ext.chart.NumericAxis({
displayName: 'month',
labelRenderer: Ext.util.Format.numberRenderer('€ 0.000,00/i')
series: [{
yField: 'aa',
displayName: 'aa'
yField: 'bb',
displayName: 'bb'
}); // eo apply