The following example shows how you can alternate background row colors in a LineSeries chart in Flex by setting the horizontalAlternateFill style in the GridLines object, as seen in the following snippet:
<mx:LineChart showDataTips="true" dataProvider="{dp}">
<mx:backgroundElements>
<mx:GridLines>
<mx:horizontalAlternateFill>
<mx:SolidColor color="haloSilver" alpha="0.25" />
</mx:horizontalAlternateFill>
</mx:GridLines>
</mx:backgroundElements>
</mx:LineChart>
Full code after the jump.
Continue reading ‘Alternating background row colors in a Flex LineSeries chart’



