I forget whether it's called "visible" or something else, but there is a
property for this. I have successfully bound this to a boolean model
variable and controlled it with a checkbox. In my case there *is* data.

On Mon, Oct 20, 2008 at 8:28 PM, 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.
>
> Cheers,
>
> Seona.
>
>  
>

Reply via email to