Spread.Sheets Documentation
remove Method
GC.Spread.Sheets.Charts Namespace > SeriesCollection type : remove Method
The index of the series.
Removes a specified series from series collection.
Syntax
var instance = new GC.Spread.Sheets.Charts.SeriesCollection();
var value; // Type: any
value = instance.remove(index);
function remove( 
   index : number
) : any;

Parameters

index
The index of the series.
Example
// This example shows how to remove a specified series.
var dataRange = "A1:D4";
var chart = activeSheet.charts.add('Chart1', GC.Spread.Sheets.Charts.ChartType.columnClustered, 250, 20, 600, 400, dataRange);
chart.series.remove(0);
See Also

Reference

SeriesCollection type