--- In [email protected], "seona.bellamy" <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
> 
> I'm new to the list, and pretty new to Flex as well. I've been
> learning as I go while working on a project, so I'm not sure if I'm
> doing everything the most elegant way possible, but I'm hoping to
> refine it as I go. :)
> 
> Anyway, I've hit a problem that I just can't seem to find my way 
around.
> 
> I have a line chart, which can have up to 8 lines in it. I've got a
> function set up so that when the user logs in it goes and gets the
> data relevant to them, and populates the arrayCollection that's 
being
> used as the graph's data provider.
> 
> If I have less than 8 sets of data returned, however, is there a way
> to hide the extra line series? They don't show up as lines on the
> graph, but their colours do show up in the legend and it just looks 
silly.
> 
> I've played around with a few different things and Googled
> extensively, but I can't figure out how to make this work.
> 
> Any suggestions would be greatly appreciated.

You might find this helpful:

http://flexdiary.blogspot.com/2008/08/charting-example.html

Reply via email to