0 Replies Latest reply on Jan 4, 2008 10:47 AM by lollerskatebuttes

    horizontalAxisRender(s) problems

    lollerskatebuttes Level 1
      In a ColumnChart like so:




      <mx:ColumnChart width="200" height="300" id="overViewGraph" type="stacked" dataProvider="{overviewGraphData}" showDataTips="true">
      <mx:horizontalAxis>
      <mx:CategoryAxis categoryField="name" />
      </mx:horizontalAxis>
      <mx:horizontalAxisRenderer>
      <mx:AxisRenderer tickPlacement="none" >
      </mx:AxisRenderer>
      </mx:horizontalAxisRenderer>
      [ ...rest of chart stuff]



      I get a warning from FlexBuilder that "Property horizontalAxisRenderer has been depreciated. Please use CartesianChart.horizontalAxisRendereds."

      So, I change my MMXL tag (and the matching closing tag) from mx:horizontalAxisRenderer to mx:horizontalAxisRenderers to remove the warning, which it does. However, my app no longer works. The initial loading bar gets to about 30%, and there it sits for all eternity. Removing the "s" and getting the depreciated warning back makes the app run fine. How do I use the "correct" syntax? All the examples in the docs show the syntax exactly how I am using it...