This is a migrated thread and some comments may be shown as answers.

PointMarkerStyle Load Trigger

1 Answer 37 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Nick Wood
Top achievements
Rank 1
Nick Wood asked on 28 Jun 2012, 05:48 AM
Hi There

I am using the point marker style from the dashboard source to test this feature but was wondering how you can load data dynamically when the tooltip in the pointmarker controltemplate loads?

Currently the example code binds directly to the DataItem, but I want to use data from the DataItem to drill down to more detailed information calling a ria services load query on demand.

Can you offer me any assistance?

Regards

Nick

1 Answer, 1 is accepted

Sort by
0
Bartholomeo Rocca
Top achievements
Rank 1
answered on 02 Jul 2012, 03:53 PM
Hello Nick,

It seems you are referring to some custom tooltip implementation that is part of the Telerik dashboard demo application -- generally if you are using the built-in tooltip behavior of RadChart (set SeriesDefinition.ShowItemToolTips property to true), you can also handle the ChartArea.ItemToolTipOpening event and customize the tooltip contents in the event handler as demonstrated in this online example here. Note, however, I am not sure whether the RIA service call would do any good in this scenario as in Silverlight it would be asynchronous call and not one blocking the UI.


Greetings,
Bart.
Tags
Chart
Asked by
Nick Wood
Top achievements
Rank 1
Answers by
Bartholomeo Rocca
Top achievements
Rank 1
Share this question
or