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

Event handler and legend for pie graph

3 Answers 60 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Fu Wen
Top achievements
Rank 1
Fu Wen asked on 27 Nov 2009, 02:57 AM
Hi there

Can anyone tell me if it is possible to add enevt handler for each sector on the radChart control when seriesDefinition is set to PieSeriesDefinition? MoreOver, Can we remove the legend area ?

Many thanks

Bo

3 Answers, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 01 Dec 2009, 09:42 AM
Hello Fu Wen,

You can handle the RadChart.DefaultView.ChartArea.ItemClick event in order to achieve the desired functionality. As for the legend -- you can hide it through the RadChart.DefaultView.ChartLegend.Visibility property.

Hope this helps.


Best wishes,
Manuel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Fu Wen
Top achievements
Rank 1
answered on 01 Dec 2009, 07:30 PM
Hi Manuel

Thank heaps for your help.

Now I can hide the legend when RadChart.DefaultView.ChartLegend.Visibility property is set. However,I could not find the RadChart.DefaultView.ChartArea.ItemClick event . I am currently developing a WPF application using Q2 2009. Is it an issue of version or RadChart control for WPF does not support this event?

Many thanks

Fu
0
Giuseppe
Telerik team
answered on 02 Dec 2009, 07:53 AM
Hello Fu Wen,

This event was renamed for Q3 2009 for consistency reasons -- in Q2 2009 it is available as ChartArea.ChartItemClick event.

Hope this helps.


Best wishes,
Manuel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Chart
Asked by
Fu Wen
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Fu Wen
Top achievements
Rank 1
Share this question
or