在图表控件中加入下面这段即可:
<!--添加背景网格-->
<mx:backgroundElements>
<mx:GridLines direction="both">
<mx:horizontalStroke>
<mx:Stroke weight="1"/>
</mx:horizontalStroke>
<mx:horizontalFill>
<mx:SolidColor color="#FFFFFF" alpha=".5"/>
</mx:horizontalFill>
<mx:verticalStroke>
<mx:Stroke weight="1"/>
</mx:verticalStroke>
<mx:verticalFill>
<mx:SolidColor color="#FFFFFF" alpha=".5"/>
</mx:verticalFill>
</mx:GridLines>
</mx:backgroundElements>
效果图:
---------------------------------------------------------------------------------------------------------------------------------------------------