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

Set Chart Hoverd items

4 Answers 55 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Andrea
Top achievements
Rank 1
Andrea asked on 24 Nov 2011, 04:32 PM
Hi, I have a Pie Chart and a GridView bound with the same data.
I have achieved to select the Chart item when teh same item is selected in the Grid and viceversa.
I would also be able to set the Hover item in the Chart when the Grid hovered row is changed.

But there is not such a public  HoveredItem property in the chart.
Anyway I can do this?

4 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 29 Nov 2011, 09:23 AM
Hi Andrea,

There is no such property exposed on the chart, however, you may achieve programatically hovering certain items of the chart using the VisualStateManager in the manner demonstrated in the attached sample application.

All the best,
Nikolay
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Andrea
Top achievements
Rank 1
answered on 29 Nov 2011, 12:02 PM
thanks a lot
0
Andrea
Top achievements
Rank 1
answered on 29 Nov 2011, 02:22 PM
how would I achieve the opposite:
Mouse hover an item in the chart and highlight the grid item?
0
Petar Marchev
Telerik team
answered on 02 Dec 2011, 10:37 AM
Hi Andrea,

This also needs to be done programmatically. The approach is the same as in the previously attached project - use the VisualStateManager to change the states of certain items of the grid when the chart is being hovered and certain items of the chart when the grid is being hovered.

I am attaching a project that might help you with this.

All the best,
Petar Marchev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Chart
Asked by
Andrea
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Andrea
Top achievements
Rank 1
Petar Marchev
Telerik team
Share this question
or