OnSeriesClick Client side returned property

1 posts, 0 answers
  1. Frank
    Frank avatar
    22 posts
    Member since:
    Jun 2017

    Posted 04 Jan 2018 Link to this post

    Can anyone please help me to tell me on a series click, HOW can I get the name of the series that I'm clicking?  I read the support but it takes me to the Kendo support document.  I see Kendo document has these varaible that I can get on java script:


    e.series Object
    The series options.

    e.seriesIndex Number
    The series index.

    e.text String
    The name of the series.


    So the one I'm interested is the "name"  I need to be able to go "do different things" depend on what area of the pie chart user presses.  I tried to do the client side code but it always return "nothing" or "unknown".


                function NameGet(args) {
                    alert(args..text);  -- or I do args.series.name 



    so what is the appropriate e.xxx to get the name of the series?  Under the <teleri:PieSeries>  I have NameField="Description"  So I'm trying to get the NameField from the client side when they click on the pie chart.


    Thank you!



Back to Top