View Full Version : Ext.chart.Chart has a serious bug

14 Jan 2011, 1:08 AM
I used the Ext.chart.Chart recently, and the "this.swf.setDataprovider is not a function" is bothering me. Now I explain my situation and hope that anyone could help me , any help will be appreciated.
I just want to use a combobox as an option to control the different chart to be shown. I used the binding store to loadData when I choosed one option from the combobox. But I encountered the bug "this.swf.setDataprovider is not a function". I have looked for methods from the official forum. One of these methods was that we should override the chart's refresh function. So I followed this method to do, this bug "this.swf.setDataprovider is not a function" disappeared, but the chart is also disappeared at the same time. I have spent much time to solve this bug, but I failed. Now, I'm asking help for you guys. You any help will be appreciated.

14 Jan 2011, 3:56 AM
Duplicate of this report (http://www.sencha.com/forum/showthread.php?78788-OPEN-197-3.0.0-svn-5208-this.swf.setDataprovider-is-not-a-function).

Please try the VisibilityMode plugin (as described here (http://www.sencha.com/forum/showthread.php?78788-OPEN-197-3.0.0-svn-5208-this.swf.setDataprovider-is-not-a-function&p=406116#post406116)).