You want a BarChart. This won't compile (at least without warnings), but
it will get you pointed in the right direction:
var data:Array = [
{ name: "Bob", start: 1955, end: 1970},
{ name: "Sally", start: 1930, end: 1968}
]
<BarChart dataProvider="{data}">
<verticalAxis>
<CategoryAxis dataProvider="{data}"
categoryField="{name}" />
</verticalAxis>
<series>
<BarSeries yField="end" minField="start" />
</series>
</BarChart>
Ely.
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of yaagcur
Sent: Friday, November 11, 2005 8:25 AM
To: [email protected]
Subject: [flexcoders] Chart types (Flex 2)
Importance: High
I am looking to present graphically data on a list of baseball players
longevity at a club e.g all New York Yankees players who were at the
club at a particular date say 1960 would show those who had careers from
1955-1961 and 1960-1970 etc.
I want to have the y axis listing the player names and the x axis
showing years. The graph would show each players length of career as a
band
How would I best go about this in Flex 2. I have played around with the
hi-lo chart to some degree of success but that has the axes in the
opposite way to my requirements
Is there some standard chart I could use? The livedocs article on custom
charts has yet to be written
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/