Class ChartSeriesCollection
Series collection
Inherited Members
Namespace: Telerik.Reporting.Charting
Assembly: Telerik.Reporting.dll
Syntax
public class ChartSeriesCollection : ChartingStateManagedCollection<ChartSeries>, IDeserializableCollection, IList<ChartSeries>, ICollection<ChartSeries>, IEnumerable<ChartSeries>, IChartingStateManager, IList, ICollection, IEnumerable
Constructors
ChartSeriesCollection()
Creates a new instance of the ChartSeriesCollection class.
Declaration
public ChartSeriesCollection()
ChartSeriesCollection(Chart)
Creates a new instance of the ChartSeriesCollection class.
Declaration
public ChartSeriesCollection(Chart parent)
Parameters
Chart
parent
Parent for collection |
Properties
Item[Int32]
Gets or sets a ChartSeries at the specific position in ChartSeries collection.
Declaration
public override ChartSeries this[int index] { get; set; }
Parameters
System.Int32
index
Position in the collection |
Property Value
ChartSeries
ChartSeries at the specific position |
Overrides
Parent
Methods
Add(ChartSeries)
Add ChartSeries at the collection
Declaration
public override void Add(ChartSeries chartSeries)
Parameters
ChartSeries
chartSeries
ChartSeries to add |
Overrides
ClearDataBoundState()
Removes data binding links from series
Declaration
public void ClearDataBoundState()
ClearItems()
Clears items in all series
Declaration
public void ClearItems()
GetByName(String)
Find series by name
Declaration
public ChartSeries GetByName(string name)
Parameters
System.String
name
ChartSeries name |
Returns
ChartSeries
ChartSeries |
GetFilteredSeriesByYAxis(ChartYAxisType)
Gets all series related to the given Y ChartAxis
Declaration
public ChartSeriesCollection GetFilteredSeriesByYAxis(ChartYAxisType yAxisType)
Parameters
ChartYAxisType
yAxisType
YAxisType(Primary, Secondary) |
Returns
ChartSeriesCollection
All series related to the given Y ChartAxis |
GetMaxItemsCount()
Returns the number of items in the longest data series.
Declaration
public int GetMaxItemsCount()
Returns
System.Int32
Number of items in the longest data series |
GetMaxYValue()
Gets the maximal item value of all series.
Declaration
public double GetMaxYValue()
Returns
System.Double
Maximal item value of all series |
GetMinYValue()
Gets the minimal item value of all series.
Declaration
public double GetMinYValue()
Returns
System.Double
Minimal item value of all series |
GetSeries(Int32)
Returns a reference to the ChartsSereis object at the specified index.
Declaration
public ChartSeries GetSeries(int index)
Parameters
System.Int32
index
Index of series |
Returns
ChartSeries
Series with specified index |
Insert(Int32, ChartSeries)
Insert ChartSeries in collection at the specific position
Declaration
public override void Insert(int index, ChartSeries item)
Parameters
System.Int32
index
Position |
ChartSeries
item
ChartSeries |
Overrides
InsertSeries(Int32, ChartSeries)
Insert ChartSeries in collection at the specific position
Declaration
public void InsertSeries(int index, ChartSeries item)
Parameters
System.Int32
index
Position |
ChartSeries
item
ChartSeries |
LoadViewState(Object)
Load ViewState
Declaration
protected override void LoadViewState(object state)
Parameters
System.Object
state
ViewState with data |
Overrides
OnInsertComplete(Int32, Object)
Final code for series insertion
Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
System.Int32
index
Index where series should be insert |
System.Object
value
Value to insert |
Overrides
RemoveSeries()
Removes the all data series from the series collection.
Declaration
public void RemoveSeries()