Hi Jon. Unfortunately, there's nothing in charts that will
do what you want. What you're looking for is basically a pivot (well...if
you're looking for just one brand it's a filter, but if you're looking for one
series per brand it's more of a pivot), and charts don't support that out of the
box.
You have three options:
1) prefilter the data yourself, the manual
way
2) subclass lineSeries, add a 'filterField' and
'filterValue' property, and override the updateFilter function to filter on
those values.
3) write a pivot class that accepts parameters on what to
filter on, what to create multiple series on, what to aggregate on, and have it
spit out a set of series with custom dataproviders assigned.
I've got a skunkworks version of #3 I've been tooling
around with for a little while, but it's not ready for the outside world
yet. In the meantime, try #1 or #2.
Ely.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Miranda Sent: Wednesday, October 18, 2006 4:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Filters for multiple LineSeries in a LineChart - Calling ChartMan Ely! Heh, maybe he'll see this before MAX :) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- RE: [flexcoders] Filters for multiple LineSeries in a Lin... Ely Greenfield
- Re: [flexcoders] Filters for multiple LineSeries in ... Jonathan Miranda
- Re: [flexcoders] Filters for multiple LineSeries... Jonathan Miranda