Drill Down Chart With WCF Service

2 posts, 0 answers
  1. Drew
    Drew avatar
    13 posts
    Member since:
    Nov 2010

    Posted 10 Nov 2010 Link to this post

    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?
  2. Evgeni "Zammy" Petrov
    Admin
    Evgeni "Zammy" Petrov avatar
    168 posts

    Posted 12 Nov 2010 Link to this post

    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
Back to Top