Hi,

Worked on my first Flex component for public "consumption" over the
weekend. It is a component that creates six different charts by
declaring just one object and dataProvider.

Sample usage:

[Bindable]
public var dataArrayCollection:ArrayCollection = new ArrayCollection;
public function creationCompleteHandler():void {
dataArrayCollection.addItem(new ArrayCollection([{"x":115, "y":120,
"z":125, label: "Series1.1"},{"x":215, "y":220, "z":225, label:
"Series1.2"},{"x":215, "y":220, "z":225, label: "Series1.3"}]));
dataArrayCollection.addItem(new ArrayCollection([{"x":415, "y":420,
"z":425, label: "Series2.1"},{"x":15, "y":520, "z":525, label:
"Series2.2"},{"x":615, "y":620, "z":625, label: "Series2.3"}]));
dataArrayCollection.addItem(new ArrayCollection([{"x":75, "y":75, "z":
75, label: "Series3.1"},{"x":45, "y":50, "z":235, label: "Series3.2"},
{"x":324, "y":654, "z":345, label: "Series3.3"}]));
multiChart.dataProvider = dataArrayCollection;
multiChart.refresh();
}

<visualizations:MultiChart id="multiChart" width="640" height="480"
backgroundColor="#ffffff" title="Default chart title"
legendHeight="40"/>

More information: http://srirangan.net/?p=47
Online demo: http://srirangan.net/FlexLibrary/MultiChartExample.html
Source: http://srirangan.net/FlexLibrary/release-20081228-MultiChart0.1.zip

Eager for your comments.

- Sri

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to