1 Reply Latest reply on Nov 14, 2008 7:13 AM by OlgaOE

    On change of chart data linear axis title producing error

      I have a Column chart and a Line chart shown in different sections.
      Each section has a next/privious link that when clicked refreshes the data and the chart is created with the new data.
      First time when the charts are rendered it is perfect with the linear axis title displayed.
      On click of next and previous link Im getting the following error:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.charts.chartClasses::ChartLabel/updateDisplayList()[C:\Work\flex\dmv_automation\projec ts\datavisualisation\src\mx\charts\chartClasses\ChartLabel.as:262]
      at mx.core::UIComponent/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framework\src \mx\core\UIComponent.as:6214]
      at mx.managers::LayoutManager/validateDisplayList()[E:\dev\3.0.x\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:602]
      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:675]
      at Function/ http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\sr c\mx\core\UIComponent.as:8460]
      at mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src \mx\core\UIComponent.as:8403]

      On removing the title from the column chart and having the title only on line chart works fine....
      Please anyone with a solution respont as soon as possible.