amCharts support forum

You are not logged in.

Announcement

FORUM CLOSED! This forum is closed. We moved to a new place at Zendesk. Update your bookmarks.

Flex Components: amCharts Bundle Flex Components


#1 2012-07-12 10:38:47

marksmerchek
Member

Enhancement: Provide legend item object in valueFunction

Currently the valueFunction to format legends only passes the value.  It would be useful to be able to know which legend item was selected, so custom formatting can be done.

Here is my example:

I have 3 legend items, "All", "Test" and "Annotations", I would don't want any values to show for the "Annotations" legend item, but format for the others.

Is there a way of doing this now that I have not uncovered?

Offline

 

#2 2012-07-13 05:07:05

martynasma
Administrator

Re: Enhancement: Provide legend item object in valueFunction

No, I'm afraid. The function is being passed value.

We will consider passing the object as well. Thank you for your suggestion!

Offline

 

© amCharts | Forum engine: PunBB