How to Get selected bar value in DrillDown Chart

Thread is closed for posting
4 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 14 Apr 2008 Link to this post

    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............
  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 15 Apr 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 16 Apr 2008 Link to this post

    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.......

  5. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 18 Apr 2008 Link to this post

    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
Back to Top