1 Reply Latest reply on May 4, 2007 8:25 AM by Oddsy

    Disable all GridLines in a CartesianCHart

    romanczar Level 1
      I can't manage to disable/hide all GridLines in a CartesianChart. Cna somebody please help me out?

        • 1. Re: Disable all GridLines in a CartesianCHart
          Oddsy Level 1
          I think both of the following code snippets should work (give or take a few typos):

          <mx:CartesianChart id="myChart" backgroundElements="{new Array()}" />


          <mx:CartesianChart id="myChart">
          <mx:Array />

          Those are doing exactly the same thing, just using a different notation. Basically, default gridlines are a background element so setting the backgroundElements property to an empty array removes them. Don't just copy and paste that, check it's got no typos.