adp-gmt
7 Aug 2012, 5:20 AM
Hello,
I'm using EXTJS 4.1.1 and I have a problem with the font family in IE9 64bits.
Example:
Ext.require('Ext.chart.*');
Ext.onReady(function() {
var store = Ext.create('Ext.data.JsonStore', {
fields: ['name', 'data1'],
data: [
{ 'name': 'metric one', 'data1': 25},
{ 'name': 'metric two', 'data1': 14}
]
});
var mychart = Ext.create('Ext.chart.Chart', {
renderTo: Ext.getBody(),
width: 300,
height: 300,
store: store,
legend: true,
axes: [
{
type: 'Numeric',
position: 'left',
fields: 'data1',
title: 'Sample Values',
minimum:0
},
{
type: 'Category',
position: 'bottom',
fields: 'name',
title: 'Sample Metrics'
}
],
series: [{
type: 'column',
axis: 'left',
xField: 'name',
yField: 'data1',
label: {
field:'data1',
renderer: Ext.util.Format.numberRenderer('0')
}
}]
});
});
Result:
It works fine in IE9 32 bits
37786
but in IE9 64 bits,the font family is pretty strange
37787
Is it an EXTJS bug?
I'm using EXTJS 4.1.1 and I have a problem with the font family in IE9 64bits.
Example:
Ext.require('Ext.chart.*');
Ext.onReady(function() {
var store = Ext.create('Ext.data.JsonStore', {
fields: ['name', 'data1'],
data: [
{ 'name': 'metric one', 'data1': 25},
{ 'name': 'metric two', 'data1': 14}
]
});
var mychart = Ext.create('Ext.chart.Chart', {
renderTo: Ext.getBody(),
width: 300,
height: 300,
store: store,
legend: true,
axes: [
{
type: 'Numeric',
position: 'left',
fields: 'data1',
title: 'Sample Values',
minimum:0
},
{
type: 'Category',
position: 'bottom',
fields: 'name',
title: 'Sample Metrics'
}
],
series: [{
type: 'column',
axis: 'left',
xField: 'name',
yField: 'data1',
label: {
field:'data1',
renderer: Ext.util.Format.numberRenderer('0')
}
}]
});
});
Result:
It works fine in IE9 32 bits
37786
but in IE9 64 bits,the font family is pretty strange
37787
Is it an EXTJS bug?