PDA

View Full Version : getFunctionRef is undefined for Ext.chart.Chart



ZachG
25 May 2011, 3:05 PM
Looking in 4.0.1 commercial ext-all-debug.js on line 41194 it's calling me.getFunctionRef. That's the only reference to getFunctionRef in the entire file.

It's defined in 3.3.0 as follows: http://extjs-public.googlecode.com/svn/tags/extjs-3.3.0/release/docs/source/Chart.html

getFunctionRef : function(val){
if(Ext.isFunction(val)){
return {
fn: val,
scope: this
};
}else{
return {
fn: val.fn,
scope: val.scope || this
};
}
},

Please fix kthanks

ZachG
26 May 2011, 6:15 AM
For that matter, setTipRenderer is also undefined.

ZachG
31 May 2011, 6:21 AM
Would you all prefer that I post some sample code? I didn't think it would be necessary since getFunctionRef can't possibly be defined if the only reference to it is when it's used, but to get this fixed I can post sample code.