3 Replies Latest reply on Apr 21, 2008 12:21 PM by davidmedifit

    stacked Bar chart/Line chart hybrid- Charting

    Bayani Portier Level 1
      Hi all,

      I have a requirement to have a stacked bar graph, with a line graph on the same chart. Has anyone here done this before? Apparently there is a known problem with combining line graphs with stacked charts. The following error gets displayed.

      ReferenceError: Error #1056: Cannot create property offset on mx.charts.series.LineSeries.
      at mx.charts::ColumnChart/applySeriesSet()[C:\Work\flex\dmv_automation\projects\datavisualis ation\src\mx\charts\ColumnChart.as:467]
      at mx.charts.chartClasses::CartesianChart/ http://www.adobe.com/2006/flex/mx/internal::updateSeries()[C:\Work\flex\dmv_automation\pro jects\datavisualisation\src\mx\charts\chartClasses\CartesianChart.as:1454
      at mx.charts.chartClasses::ChartBase/commitProperties()[C:\Work\flex\dmv_automation\projects \datavisualisation\src\mx\charts\chartClasses\ChartBase.as:1755]
      at mx.charts.chartClasses::CartesianChart/commitProperties()[C:\Work\flex\dmv_automation\pro jects\datavisualisation\src\mx\charts\chartClasses\CartesianChart.as:1149]
      at mx.core::UIComponent/validateProperties()[E:\dev\3.0.x\frameworks\projects\framework\src\ mx\core\UIComponent.as:5670]
      at mx.managers::LayoutManager/validateProperties()[E:\dev\3.0.x\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:519]
      at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:639]
      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]

      Any insight would be greatly appreciated.