Chart problems + question

4 posts, 0 answers
  1. Martin Roussel
    Martin Roussel avatar
    246 posts
    Member since:
    Jan 2010

    Posted 26 Aug 2010 Link to this post

    Hi, Im having some problems with a multi-serie line chart (3 trend lines in an historical chart) . The problems happens not everytime but most of the time. Im using RadControls_for_Silverlight_2009_3_1103_DEV btw.

    1-The color boxes in the legend become not visible (so I dont know what line is what). Sometime when I refresh the chart (same parameters) im able to see them, until i refresh again. I have other column-type charts in my application that dont do this.

    2-The trend line for one of the serie sometime becomes a weird triangle (dont represent realistic data at all...and this is not a line anymore). When I get this, I refresh (same parameters) and everything is back ok.

    Now one questions:

    1-When im doing a move-over with my series, i get the actual value (Y) of the serie. I would like to also have the serie name (in legend) with this value. I know this is the tooltip propertie but ive tried changing it multiples time/ways without being able to do it. Can you help?

    Thanks alot

  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 01 Sep 2010 Link to this post

    Hi Martin,

    You can use the interactivity settings of the control, as demonstrated in the following example:

    http://demos.telerik.com/silverlight/#Chart/FirstLook

    to receive more information on a particular item, from the series. The relevant code is included below:

    DataSeries barSeries = new DataSeries();
    barSeries.Definition.InteractivitySettings.HoverScope = InteractivityScope.Item;
    barSeries.Definition.InteractivitySettings.SelectionScope = InteractivityScope.Item;
    barSeries.Definition.ShowItemToolTips = true;

    Additionally, with respect to the other issues which you mentioned. Based on the supplied information, it is hard to pinpoint the cause of the issue. If the problem persists, you can open a formal support ticket, and send us a small working project, demonstrating your setup, and showing the unwanted discrepancies. We will review it locally, and advise you further.

    Best wishes,
    Yavor
    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
  3. Martin Roussel
    Martin Roussel avatar
    246 posts
    Member since:
    Jan 2010

    Posted 01 Sep 2010 Link to this post


    Thank you very much for the reply,

    Ill try to create a simple demo like you proposed. However, the is the code you gave me supposed to work in in the Telerik version I precised in my first post? I get:

    'InteractivitySettings' is not a member of 'Telerik.Windows.Controls.Charting.ISeriesDefinition'

    AND

    'InteractivityScope' is not declared


    TIA




  4. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 03 Sep 2010 Link to this post

    Hello Martin,

    To take advantage of this setting, I would suggest that you download the latest version of the controls from your account - I suspect that you are using an older version of the controls, if this exception is raised.

    Regards,
    Yavor
    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