Mega Code Archive
Defines colors for each of the series by setting the value of the fill style property in the custom class selectors
import mx.graphics.SolidColor;
import mx.collections.ArrayCollection;
[Bindable]
public var expenses:ArrayCollection = new ArrayCollection([
{Month:"Jan", Profit:2000, Expenses:1500},
{Month:"Feb", Profit:1000, Expenses:200},
{Month:"Mar", Profit:1500, Expenses:500}
]);
.myRedColumnSeries { fill:#FF0033; } .myGreenColumnSeries {
fill:#33FF00; }