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

deactivate the markup keys in Legend

2 Answers 40 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Rahul Khinvasara
Top achievements
Rank 1
Rahul Khinvasara asked on 21 Feb 2009, 01:30 PM
Hello,
I went through one problem.Actually I m using RadChart(Bar Chart), and I have bind series there through
code behind,How many Series are bind there,that number of markup keys are displayed in Legend.
I want that that  markup key will be disabled there,So that we can't perform there any click operation.
  can we deactivate the key so that the cursor doesn’t change when the user hovers over it.  ?

I hope I'll get my solutions soon.

Thanks

2 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 24 Feb 2009, 06:31 AM
Hi Rahul,

RadChart renders a regular image map and provides access to different ares through the ActiveRegion properties exposed for various elements of the chart. Specifically, for the legend you will need to make sure the legend items already exist and then modify them. If the legend items are auto-generated, the appropriate place to modify them is the BeforeLayout event handler. Note, that manipulating style might require some browser specific code. I have attached a small example.

Best regards,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rahul Khinvasara
Top achievements
Rank 1
answered on 24 Feb 2009, 10:20 AM
Hello,
I am thank full that you replied,your sent code worked..

Thanks a lot
Tags
Chart (Obsolete)
Asked by
Rahul Khinvasara
Top achievements
Rank 1
Answers by
Ves
Telerik team
Rahul Khinvasara
Top achievements
Rank 1
Share this question
or