eterps
eterps

Reputation: 14208

How can I programmatically display a dataTip in a Flex 3 chart (without hovering with the mouse)?

I would like to show a dataTip on a flex chart by setting the selectedIndex property of the AreaSeries. For instance, if selectedIndex = 2, then a dataTip appears over the third item in the series. Is this possible in Flex 3.5? Thanks.

Upvotes: 1

Views: 681

Answers (1)

JeffryHouser
JeffryHouser

Reputation: 39408

It won't be trivial, but you can listen to the 'change' event which should fire whenever the selectedIndex changes.

Then use the PopUpManager to create your tooltip. You'll have to write your own code to figure out where to position the tooltip.

Upvotes: 1

Related Questions