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

How to Get selected bar value in DrillDown Chart

3 Answers 45 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 14 Apr 2008, 12:23 PM
Hi
        I have created RadChart, I want to develope DrillDown functionality on it , But i don't know how to get Perticaular Selected bar value?
        Please give your repply............

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 15 Apr 2008, 03:31 PM
Hello Rahul,

Please, check this online example. The second parameter of the Click event handler is ChartClickEventArgs. It contains a reference to the chart series item, here is the code:

if (args.SeriesItem != null)

So, you will only need to get args.SeriesItem.YValue.

I hope this helps.

Greetings,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Rahul Khinvasara
Top achievements
Rank 1
answered on 16 Apr 2008, 06:32 AM
Hi
       I want to get selected Bar X - Value not Y-Value. 
       I tried  "args.SeriesItem.XValue" this but it's not wrok.
       Please give your repply.......

0
Giuseppe
Telerik team
answered on 18 Apr 2008, 03:37 PM
Hi Rahul Khinvasara,

We are unsure why are you facing problems with the args.SeriesItemXValue property -- it works as expected as long as you specify a valid DataXColumn property value for the respective series -- if you do not specify such value, you will not be able to retrieve a valid XValue property value as well.


Regards,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
Rahul Khinvasara
Top achievements
Rank 1
Answers by
Ves
Telerik team
Rahul Khinvasara
Top achievements
Rank 1
Giuseppe
Telerik team
Share this question
or