PDA

View Full Version : [CLOSED][3.??] Charts Bugs



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

evant
22 Dec 2009, 2:38 PM
Does this only happen in IE? If so, it's likely the code that attempts to delete the tip from the window. If so, this is being worked on. Marking as closed.

Isuraeru
22 Dec 2009, 2:51 PM
esto solo ocurre en IE en firefox no marca el error pero la idea del post es que me den una respuesta pra corregirlo en IE no simplemente decirme que no funciona en IE, el post sigue abierto

ExtMore
22 Dec 2009, 3:23 PM
esto solo ocurre en IE en firefox no marca el error pero la idea del post es que me den una respuesta pra corregirlo en IE no simplemente decirme que no funciona en IE, el post sigue abierto

Say what?! (or should I say: QUE?!) :-/

evant
22 Dec 2009, 3:27 PM
From Babelfish:



this only happens in IE in firefox does not mark the error but the idea of post is that they give an answer me to correct it in IE not simply to say to me that it does not work in IE, post follows open


@OP

Remove the line delete window[tip]

meroy
22 Dec 2009, 5:36 PM
I don't mean to add to this recently "closed" thread. The override by @hendricd is also helpful.

http://www.extjs.com/forum/showthread.php?p=410695#post410695

evant
22 Dec 2009, 5:45 PM
I'm in the process of upgrading the charts to the latest YUI version, which will include a fix for this.

Should go in SVN shortly.