Flex: programmatically showing data tips on a chart – the easy way

looks like i have taken the scenic road.

a while ago i have posted about how to “programmatically showing data tips on a chart“.

there is an easier way, well… it’s much-much easier.

dataTipItems is a property for Series. it is an array on non-interactive data tips.
populate it with chart items, then set the chart’s showAllDataTips to true.
that easy.

(i enjoy riding the scenic road)

Demo is here (right click for source)
Source is here

Advertisements

8 Responses to Flex: programmatically showing data tips on a chart – the easy way

  1. Pingback: Web 2.0 Announcer

  2. CEL says:

    Thanks, I really found this VERY helpful!

  3. Eric says:

    Hi,

    Thanks for the post, i found however that it doesnt work with datatiprenderers. Only the cercile in the middle of the chartitem appears not the datatip. Any clues?

    /Eric

  4. Andy says:

    This is a great technique. I am seeing a difference between datatips shown by setting showDataTips=”true” and datatips shown by using your method. The datatips shown when I implement your method seem to get clipped by the charts’ parent container whereas when showDataTips=”true” the datatips are not clipped. Have you experiences this and do you know how I can fix this?

  5. Pingback: chart interactivity and forcing tooltips » free icons download

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: