Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User dorgan's Avatar
    Join Date
    Dec 2007
    Location
    Cocoa, FL
    Posts
    286
    Vote Rating
    -1
    dorgan is an unknown quantity at this point

      0  

    Default [FIXED] [3.??] Line Chart/Collapsible Panel Error

    [FIXED] [3.??] Line Chart/Collapsible Panel Error


    Having a line chart inside of a panel collapsing, then expanding the panel produces the following error:

    this.swf.setDataProvider is not a function
    Ext.DomHelper=function(){var w=null,l=/^...(Ext.History,new Ext.util.Observable());

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,055
    Vote Rating
    659
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Which browser? Doesn't happen on FF3/IE8.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User dorgan's Avatar
    Join Date
    Dec 2007
    Location
    Cocoa, FL
    Posts
    286
    Vote Rating
    -1
    dorgan is an unknown quantity at this point

      0  

    Default


    Firefox 3.08

    If you collapse, then expand then expand the panel you get that error.

  4. #4
    Ext User
    Join Date
    Aug 2008
    Posts
    43
    Vote Rating
    0
    jfvwi is on a distinguished road

      0  

    Default Wanted to add a 'Me Too'

    Wanted to add a 'Me Too'


    Works fine on Mac in Safari 3.0/4.0, Firefox... Windows - breaks in IE7 and Firefox with that error in Firebug and the chart is blank.

    Update: it's actually inconsistent - out of just reloading the page 10 times 8 times it won't load the Flash chart - typical IE nonsense...

  5. #5
    Ext JS Premium Member
    Join Date
    Sep 2007
    Location
    Pennsyvania, USA
    Posts
    232
    Vote Rating
    0
    fzammetti is on a distinguished road

      0  

    Default


    I'm seeing this issue as well... extremely inconsistent... extremely annoying
    Frank W. Zammetti
    Author of "Practical Palm Pre webOS Projects"
    and "Practical Ext JS Projects with Gears"
    and "Practical Dojo Projects"
    and "Practical DWR 2 Projects"
    and "Practical JavaScript, DOM Scripting and Ajax Projects"
    and "Practical Ajax Projects with Java Technology"
    (For info: apress.com/book/search?searchterm=zammetti&act=search)
    All you could possibly want is here: zammetti.com

  6. #6
    Ext User jroca's Avatar
    Join Date
    May 2008
    Posts
    9
    Vote Rating
    0
    jroca is on a distinguished road

      0  

    Default Line Chart/Collapsible Panel Error

    Line Chart/Collapsible Panel Error


    does any one found a solution? i delete the cache and historical from ie 7 and show the chart, please help exist something like on load delete historical without client permission?

  7. #7
    Ext JS Premium Member
    Join Date
    Sep 2007
    Location
    Pennsyvania, USA
    Posts
    232
    Vote Rating
    0
    fzammetti is on a distinguished road

      0  

    Default


    I never did find a solution, and since there was no activity on this thread I assume no one else has either (or maybe no one else is seeing this). I in fact had to put a disclaimer at the beginning of the chapter in my book with the code where this happens saying that the reader should probably not try the code in IE... I hate to have to do that, and it's the only code that isn't cross-browser in the book, but I had to meet my deadlines and I thought this was the best answer... hopefully at some point there's a better answer and I can post an errata.

    FYI, I see this in IE8, and it's every single time. I've tried making sure the Panel is initially visible and everything else I can think of. In fact, I rewrote the code so that it is recreating the Chart every single time, which at least in FF made it work all the time (previously it was sporadically not working in FF). That's about as much progress as I was able to make on it.
    Frank W. Zammetti
    Author of "Practical Palm Pre webOS Projects"
    and "Practical Ext JS Projects with Gears"
    and "Practical Dojo Projects"
    and "Practical DWR 2 Projects"
    and "Practical JavaScript, DOM Scripting and Ajax Projects"
    and "Practical Ajax Projects with Java Technology"
    (For info: apress.com/book/search?searchterm=zammetti&act=search)
    All you could possibly want is here: zammetti.com

  8. #8
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,055
    Vote Rating
    659
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    There are several issues with charts we need to look at before the 3.x release.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  9. #9
    Ext User jroca's Avatar
    Join Date
    May 2008
    Posts
    9
    Vote Rating
    0
    jroca is on a distinguished road

      0  

    Default Line Chart/Collapsible Panel Error

    Line Chart/Collapsible Panel Error


    i found the solution, on the chart settings
    url: '../charts.swf?nocache=' + Math.floor(Math.random()*10000),

    In this way IE doesn't cache the file and always load the data.

  10. #10
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    6
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    There have been updates committed to svn that are chart related. I do not see an issue when checking the code below against svn rev 4559.

    Changing the status of this thread to FIXED.