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

Select an item in a chart with c#

1 Answer 79 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Michiel
Top achievements
Rank 1
Michiel asked on 12 Apr 2011, 03:20 PM

Hi,

I really love working with the telerik toolkit but I stumbled upon a problem. When I try to select a datapoint via c#, the code executes but nothing happens.

The code I use:

chartarea.SelectItem(index);

When I debug my application, I can see all the necessary data is in my chart but after executing this statement, the SelectedItems property hasn't changed and neither did the chart itself.

Are there any suggestions to do this anyway?

Kind regards,

Michiel

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 15 Apr 2011, 09:28 AM
Hello Michiel,

One possible reason for this behavior is that you need to activate the interactivity settings. For example:
<telerik:PieSeriesDefinition.InteractivitySettings>
    <telerik:InteractivitySettings SelectionMode="Multiple" SelectionScope="Item" />
</telerik:PieSeriesDefinition.InteractivitySettings>

Please review the following help topics:
http://www.telerik.com/help/wpf/radchart-features-interactivity.html
http://www.telerik.com/help/wpf/radchart-features-interactivity-effects.html

In case that these directions don't help you to solve the issue, could you please provide more information and code snippets about the implementation of RadChart.

Regards,
Polina
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
Michiel
Top achievements
Rank 1
Answers by
Missing User
Share this question
or