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

Client Side Removing of a Series Item

1 Answer 87 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Rouf
Top achievements
Rank 1
Rouf asked on 02 Jun 2016, 08:06 AM

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. 

 

 

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 06 Jun 2016, 02:18 PM
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.
Tags
Chart (HTML5)
Asked by
Rouf
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or