Isuraeru
22 Dec 2009, 12:48 PM
Hola buenas tardes, solo para reportar un bug que encontre al momento de manejar los charts, o tal vez yo tengo un error en mi codigo y no lo conosco, quien pueda ayudarme por favor conteste, les anexo el codigo de mi proyecto.
--- English ---
Hi good afternoon, only to report a bug I found the time to put charts, or maybe I have a mistake in my code and no lo conosco, who can help please answer, I annex the code of my project.
CapitaniaWin = new Ext.Window({layout: 'fit',
title: 'Reporte por Capitania',
modal:true,
closeAction:'hide',
width:1000,
height:500,
resizable: false,
layout:'border',
items:[{region:'north',
height:68,
items:[BusquedaCompleta]},
{region:'center',
items:[{
xtype: 'stackedcolumnchart',
store: CapitaniasStore,
height:400,
xField: 'fecha',
yField: 'cantidad',
yAxis: new Ext.chart.NumericAxis({
displayName: 'cantidad',
minorUnit: 1,
majorUnit:1
}),
tipRenderer : function(chart, record){
return Ext.util.Format.number(record.data.cantidad, '0,0') + ' zarpes el ' + record.data.fecha;
}
}]
},
{region:'west',
layout:'fit',
width:205,
items:
[ListaDatos]
}],
modal:true
});La intencion es mostrar una ventana con las graficas de acuerdo a algunos filtros, todo esto funciona bien pero al momento de cerrar la ventana me marca error de que este objeto no soporta esta propiedad o metodo y me refiere al ext-debug en la linea donde cierra las ventanas, cualquier ayuda o sugerencia es bien recibida
--- English ---
The intention is to display a graphics window with the filters according to some, all this works fine but when I close the error flag that the object does not support this property or method and referred me to ext-debug in the line where close the windows, any help or suggestion is welcome
--- English ---
Hi good afternoon, only to report a bug I found the time to put charts, or maybe I have a mistake in my code and no lo conosco, who can help please answer, I annex the code of my project.
CapitaniaWin = new Ext.Window({layout: 'fit',
title: 'Reporte por Capitania',
modal:true,
closeAction:'hide',
width:1000,
height:500,
resizable: false,
layout:'border',
items:[{region:'north',
height:68,
items:[BusquedaCompleta]},
{region:'center',
items:[{
xtype: 'stackedcolumnchart',
store: CapitaniasStore,
height:400,
xField: 'fecha',
yField: 'cantidad',
yAxis: new Ext.chart.NumericAxis({
displayName: 'cantidad',
minorUnit: 1,
majorUnit:1
}),
tipRenderer : function(chart, record){
return Ext.util.Format.number(record.data.cantidad, '0,0') + ' zarpes el ' + record.data.fecha;
}
}]
},
{region:'west',
layout:'fit',
width:205,
items:
[ListaDatos]
}],
modal:true
});La intencion es mostrar una ventana con las graficas de acuerdo a algunos filtros, todo esto funciona bien pero al momento de cerrar la ventana me marca error de que este objeto no soporta esta propiedad o metodo y me refiere al ext-debug en la linea donde cierra las ventanas, cualquier ayuda o sugerencia es bien recibida
--- English ---
The intention is to display a graphics window with the filters according to some, all this works fine but when I close the error flag that the object does not support this property or method and referred me to ext-debug in the line where close the windows, any help or suggestion is welcome