Client Side Removing of a Series Item

2 posts, 0 answers
  1. Rouf
    Rouf avatar
    4 posts
    Member since:
    Mar 2014

    Posted 02 Jun Link to this post

    How do I remove a particular series item from client side using javascript.

    I am adding the series items from the code behind.

    Dim planSeries As ColumnSeries

     planSeries = .PlotArea.Series(0)
     planSeries .Items.Add(New SeriesItem(Session("PlanTitle")))
                    

    As shown in the attached screenshot, RadCombobox is populated with the names of all the series items. On ClientClick of a Radbuttion, I want the selected series item to be removed from the chart. 

     

    Any help in this regard is highly appreciated. 

     

     

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 06 Jun Link to this post

    Hi Rouf,

    You can hide a series item by getting first the Kendo Widget instance, modify the chart's options by setting the series item's visible property to false and redraw the chart—http://www.telerik.com/forums/programmatically-hide-series

    Regards,
    Ianko
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top