Mega Code Archive
Creating a custom Legend control
import mx.collections.ArrayCollection;
[Bindable]
public var SMITH:ArrayCollection = new ArrayCollection([
{date: "22-Aug-05", close: 41.87},
{date: "23-Aug-05", close: 45.74},
{date: "24-Aug-05", close: 42.77},
{date: "25-Aug-05", close: 48.06},
]);
[Bindable]
public var DECKER:ArrayCollection = new ArrayCollection([
{date: "22-Aug-05", close: 157.59},
{date: "23-Aug-05", close: 160.3},
{date: "24-Aug-05", close: 150.71},
{date: "25-Aug-05", close: 156.88},
]);