Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
deepsteve #1
Charting help
I am putting a simple auction site together for my company as a fundraiser for
the local hospital. I am trying to get an AreaChart going to show the bidding
history on an item. I want to create an AreaSeries for each person who has bid
on the item (we're a small enough company that there likely won't be more than
5-6 people bidding on an item). Here's an example of how the data looks... each
row represents a bid in the bid history:
{bid_id: 1, user: "bob", item: "car", amount: 2000}
{bid_id: 2, user: "adam", item: "car", amount: 2100}
{bid_id: 3, user: "bob", item: "car", amount: 2200}
{bid_id: 4, user: "adam", item: "car", amount: 2300}
{bid_id: 5, user: "bob", item: "car", amount: 2400}
{bid_id: 6, user: "adam", item: "car", amount: 2500}
{bid_id: 7, user: "bob", item: "car", amount: 2600}
What I'd like to end up with is two AreaSeries' with the following x/y
coordinates:
bob (orange): (1,2000), (3,2200), (5,2400), (7,2600)
adam (green): (2,2100), (4,2300), (6,2500)
It would neem that I need to filter each AreaSeries differently in order to
show only data associated with the correct user. I've been looking through a
bunch of documentation, but I can't figure out how to do this at all, much less
do it elegantly. I've attached a sample of my mxml, with each AreaSeries
showing *all* the data rather than data for one user.
Any help is greatly appreciated!
-Steve
--
<mx:AreaChart type="overlaid" id="areachart1"
dataProvider="{product.history.bid}" >
<mx:series>
<mx:AreaSeries xField="id" yField="amount" form="curve" />
<mx:AreaSeries xField="id" yField="amount" form="curve" />
</mx:series>
</mx:AreaChart>
deepsteve Guest
-
flex 2 charting
I have FB 2 and have starting using the charts, however it always shows the 'Flex Charting Trial' watermark. I understand i need to purchase the... -
Charting Not working at all
I am in the process of setting up my new server and I am testing my site, but I can't get the charting to work. I am on CFMX 6.1, and when I try... -
Charting - CircleRenderer?
I'm pretty new to Flex, but I am trying to figure out how to have each bubble in a bubble chart automatically render in a different color (similar... -
charting data
Hi All, Wondering if anyone can recommend a good 3rd party tool for charting gathered data, prefereably outputting to a gif/png web page.. ... -
Charting Xtras
Are there any Xtras for Director MX that allow you to create graphic charts (bar charts, pie charts, etc.) based on data input from the user? I've...



Reply With Quote

