This is a migrated thread and some comments may be shown as answers.
Chart problems + question
3 Answers 28 Views
This is a migrated thread and some comments may be shown as answers.
Martin Roussel
Top achievements
Rank 1
Martin Roussel asked on 26 Aug 2010, 08:03 PM
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

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 01 Sep 2010, 08:02 AM
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
0
Martin Roussel
Top achievements
Rank 1
answered on 01 Sep 2010, 12:06 PM

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




0
Yavor
Telerik team
answered on 03 Sep 2010, 01:32 PM
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
Tags
Chart
Asked by
Martin Roussel
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Martin Roussel
Top achievements
Rank 1
Share this question
or