kolombet/axiis

Feature Request: exposed fill properties, best practice to add a custom legend for line series group

Opened this issue · 1 comments



1. I'm building a legend for the chart lineSeriesGroup
2. I'd like the ability to get the gradientFill instances inan array, so I
can use those properties to fill my rectangles for my legend
3. Also, it would be nice, If it's possbile to share mouseEvents from the
series->legend, so when on a mouseOver happens on either the legend, or the
chart, the respective legend is also, highlighted and in sync.


If line series group uses halo by default, why do the colors look different
on the chart, they don't look like halo, or maybe they are mixed with
another color? It's really difficult, for me to get the fill to match the
chart exactly for my legend. 

I'll be happy to share this code, would this be something useful to the
project? It's not very complicated, just an repeater of filled rectangles.



Original issue reported on code.google.com by patrickl...@gmail.com on 13 Apr 2010 at 6:05

Attachments:

I see that fills is exposed on the lineGroup, however if I try to iterate 
through the
fills and apply them to my legend, the color is always gray.

    private function getColor(iteration:int, obj:Object):Number
        {
            return areaPalette.colors[iteration];
        }

The above gives me all black fills, not sure if I am using the api wrong, but 
if I
copy out the halo theme, and then iterate over the that array with my repeater, 
I get
the fills, I just can't seem to get the fills working correctly.  

I am probably doing this wrong.

Original comment by patrickl...@gmail.com on 14 Apr 2010 at 3:58