0 Replies Latest reply on Mar 24, 2010 8:03 AM by sudarshan1413

    column chart dataprovider null object refrerence #1009

    sudarshan1413

      hi

      i have one column chart whose data provider initially is set to httpservice's lastresult . i have created one function to load chart with new data on one button click. when i click that button the chart should be loaded with new data so i have written in click function of button.... chart.dataprovider=gettdata.lastresult.people.person;..... but when i run the code and click the button i gives the error

      TypeError: Error #1009: Cannot access a property or method of a null object reference...... but when i again click dismiss button of error and click the button to get new data the chart gets loaded with new data........

      i am using flexlib's mdIWINDOW as parent of column chart... please help