views:

341

answers:

2

I'd like to put a label to each LineSeries on my Flex LineChart so it will be shown next to the line (along it). Any relatively easy way to archieve that?

A: 

How is your question different from this example: LineChart and AreaChart controls example (scroll to the bottom)?

Saheed
It is different as I want labels displayed on the series, not as a separate legend. This is important for me as my chart has about 30 to 50 series, and differentiating them by color makes no sense.
Michael Pliskin
A: 

I think you'll find that what you are asking will clutter your chart.

Perhaps instead, you add a mouseover event handler to each legend item and when the event fires, highlight the series in one way or another.

When I did this, I simply faded all series except for the one selected.

Gabriel McAdams
Well that's a requirement unfortunately. The layout and look'n'feel of this specific chart is defined by corporate standards that my customer cannot and not willing to control. The mouseover things is implemented already, but it is not enough for instance because I need to print that chart nicely.
Michael Pliskin