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

Drill Down Chart With WCF Service

1 Answer 67 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Drew
Top achievements
Rank 1
Drew asked on 10 Nov 2010, 07:15 AM
Hi,

I have created a LineSeries chart that uses a Drill Down tool tip to display further information about the selected line.

All information that is charted, is pulled from a WCF/SQL Service. The initial chart I have created runs fine, however when trying to create the drill down chart, the chart is rendered before the WCF service returns the latest results.

Is there a way to either wait for the WCF to return its results, or force the tool tip to open during the GetCompleted() method?

1 Answer, 1 is accepted

Sort by
0
Evgeni "Zammy" Petrov
Telerik team
answered on 12 Nov 2010, 04:23 PM
Hello Drew,

So you are creating a RadChart  when tooltip is displayed?
Why don't you just put  the data later (when it becomes available) in ItemsSource  of the drilled-down chart? The chart will re-render with the new data. 
An additional limitation to this scenario, which needs to be mentioned, is that Silverlight only supports asynchronous communication with the service. Additionally, there is no api to show the tooltip for the chart progranatically.
Let me know if I am leaving something out.

Regards,
Evgeni "Zammy" Petrov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Drew
Top achievements
Rank 1
Answers by
Evgeni "Zammy" Petrov
Telerik team
Share this question
or