Telerik.Charting.ChartSeriesCollection
Series collection
Inheritance Hierarchy
- System.Object
- Telerik.Charting.ChartingStateManagedCollection
1 : IChartingStateManager, ICollection, ICollection
1, IEnumerable, IEnumerable1, IList, IList
1 - Telerik.Charting.ChartSeriesCollection
Properties
BarSeriesCount Int32
Returns the number of bar series which are drawn next to each other. StackedBars, StackedBars100 are counted as 1 bar series.
Count Int32
Gets items count in collection
First T
Link to first item in collection
IsReadOnly Boolean
Gets true if collection is read-only
IsScalable Boolean
Defines whether all series in collection are scalable
IsUnScalable Boolean
Defines whether all series in collection are unscalable
IsXDepended Boolean
Property is true if all series in collection is X depended
Item ChartSeries
Gets or sets a ChartSeries at the specific position in ChartSeries collection.
Item T
Gets the collection item at given index
Last T
Link to last item in collection
List IList
1`
Items list
Parent Chart
Parent element (chart)
Methods
Add
Add ChartSeries at the collection
Parameters
chartSeries Telerik.Charting.ChartSeries
ChartSeries to add
Returns
System.Void
Add
Adds new item in collection
Parameters
item `0
Item to add
Returns
System.Void
AddRange
Adds items range in collection
Parameters
itemsToAdd `0
Items array to add
Returns
System.Void
CheckForErrors
Check if collection contains proper data
Returns
System.String
Text of error
Clear
Clears collection
Returns
System.Void
ClearAutoGeneratedItemsLabelText
Clear auto generated items label text for each item in the collection
Returns
System.Void
ClearColors
Clears all series's style main and secondary colors
Returns
System.Void
ClearDataBoundState
Removes data binding links from series
Returns
System.Void
ClearItems
Clears items in all series
Returns
System.Void
Contains
Checks does collection contain the given item
Parameters
item `0
Item to check
Returns
System.Boolean
True if item is a collection member
CopyTo
Copies the entire System.Collections.Generic.List
Parameters
array `0
The one-dimensional System.Array that is the destination of the elements
arrayIndex System.Int32
The zero-based index in array at which copying begins
Returns
System.Void
DefineItemsLabelText
Define items label text for each item for the all series in the collection
Returns
System.Void
GetByName
Find series by name
Parameters
name System.String
ChartSeries name
Returns
Telerik.Charting.ChartSeries
ChartSeries
GetClonedXUsedSeriesCollection
Clone X-dpended series collection
Returns
Telerik.Charting.ChartSeriesCollection
Clone X-dpended series collection
GetEnumerator
Returns an enumerator that iterates through the System.Collections.Generic.List>T<.
Returns
System.Collections.Generic.IEnumerator
1` A System.Collections.Generic.List>T<.Enumerator for the System.Collections.Generic.List>T<.
GetFilteredSeriesByYAxis
Gets all series related to the given Y ChartAxis
Parameters
yAxisType Telerik.Charting.ChartYAxisType
YAxisType(Primary, Secondary)
Returns
Telerik.Charting.ChartSeriesCollection
All series related to the given Y ChartAxis
GetMaxItemsCount
Gets maximum series items count of specified type
Parameters
seriesType Telerik.Charting.ChartSeriesType
Type of series
Returns
System.Int32
Maximum series items count of specified type
GetMaxItemsCount
Returns the number of items in the longest data series.
Returns
System.Int32
Number of items in the longest data series
GetMaxStacked100Value
Gets maximum Stacked 100 series item value
Returns
System.Double
Maximum Stacked 100 series item value
GetMaxStackedValue
Gets the max value of the stacked series of a specified type.
Parameters
seriesType Telerik.Charting.ChartSeriesType
Series Type
Returns
System.Double
Max value of the stacked series of a specified type
GetMaxYValue
Compares two doubles and return maximum value
Parameters
value1 System.Double
First value to compare
value2 System.Double
Second value to compare
checkNaN System.Boolean
Should NAN values be compared as 0 or not
Returns
System.Double
Greater value
GetMaxYValue
Gets the maximal item value of all series.
Returns
System.Double
Maximal item value of all series
GetMinStacked100Value
Gets minimum Stacked 100 series item value
Parameters
seriesType Telerik.Charting.ChartSeriesType
Series Type
Returns
System.Double
Minimum Stacked 100 series item value
GetMinStackedValue
Gets the min value of the stacked series of a specifies type.
Parameters
seriesType Telerik.Charting.ChartSeriesType
Series Type
Returns
System.Double
Min value of the stacked series of a specifies type.
GetMinYValue
Compares two doubles and return minimum value
Parameters
value1 System.Double
First value to compare
value2 System.Double
Second value to compare
checkNaN System.Boolean
Should NAN values be compared as 0 or not
Returns
System.Double
Less value
GetMinYValue
Gets the minimal item value of all series.
Returns
System.Double
Minimal item value of all series
GetSeries
Returns a reference to the ChartsSereis object at the specified index.
Parameters
index System.Int32
Index of series
Returns
Telerik.Charting.ChartSeries
Series with specified index
GetSeriesCollection
Collection of series of specified type
Parameters
chartSeriesType Telerik.Charting.ChartSeriesType
Type of series to select
Returns
Telerik.Charting.ChartSeriesCollection
Collection of series of specified type
GetSeriesCollection
Collection of series of specified types
Parameters
chartSeriesTypes Telerik.Charting.ChartSeriesType
Types of series to select
Returns
Telerik.Charting.ChartSeriesCollection
Collection of series of specified types
GetSeriesCollectionCount
Count of specified type series
Parameters
chartSeriesType Telerik.Charting.ChartSeriesType
Type of series
startIndex System.Int32
Start index to search
Returns
System.Int32
Count of specified type series
GetSeriesCount
Gets series count of specified type
Parameters
seriesType Telerik.Charting.ChartSeriesType
Series type
Returns
System.Int32
Series count of specified type
GetSumForStacked
Gets series items sum
Parameters
itemsPosition System.Int32
Item index for calculating summary
Returns
System.Double
Series items sum
GetSumsForStacked
Return a sum value of items values
Parameters
seriesType Telerik.Charting.ChartSeriesType
Series
Returns
System.Collections.Generic.Dictionary
2` Dictionary of value and sum
GetValueLimits
Gets value limits
Returns
Telerik.Charting.ChartValueLimits
Value limits
GetXUsedSeriesCollection
Collection of series that use and have XValues
Returns
Telerik.Charting.ChartSeriesCollection
Collection of series that use and have XValues
GetYUsedSeriesCollection
Collection of series that use YAxis
Returns
Telerik.Charting.ChartSeriesCollection
Collection of series that use YAxis
HaveXValue
Checks if any series item has X value
Returns
System.Boolean
Checks if any series item has X value
IndexOf
Item index in collection
Parameters
item `0
Item to get index of
Returns
System.Int32
Index
Insert
Insert ChartSeries in collection at the specific position
Parameters
index System.Int32
Position
item Telerik.Charting.ChartSeries
ChartSeries
Returns
System.Void
Insert
Inserts item at the given index
Parameters
index System.Int32
Index
item `0
Item to insert
Returns
System.Void
InsertSeries
Insert ChartSeries in collection at the specific position
Parameters
index System.Int32
Position
item Telerik.Charting.ChartSeries
ChartSeries
Returns
System.Void
IsSeriesEmpty
Returns True if all series have no items
Returns
System.Boolean
True if all series have no items
LoadViewState
Load ViewState
Parameters
state System.Object
ViewState with data
Returns
System.Void
LoadViewState
Loads collection from view state
Parameters
state System.Object
View state to load from
Returns
System.Void
OnClear
Before collection clearing event
Returns
System.Void
OnClearComplete
Collection after clean event
Returns
System.Void
OnInsert
Item before insert event
Parameters
index System.Int32
Index to insert at
value System.Object
Value to insert
Returns
System.Void
OnInsertComplete
Final code for series insertion
Parameters
index System.Int32
Index where series should be insert
value System.Object
Value to insert
Returns
System.Void
OnInsertComplete
Item after insert event
Parameters
index System.Int32
Index to insert at
value System.Object
Value to insert
Returns
System.Void
OnlyBezierSeries
Checks if collection contains only Bezier series
Returns
System.Boolean
Whether collection contains only Bezier series
OnlyPieSeries
Returns true if collection contains only pie series
Returns
System.Boolean
OnRemove
Item before remove event
Parameters
index System.Int32
Index to insert at
value System.Object
Value to insert
Returns
System.Void
OnRemoveComplete
Item after remove event
Parameters
index System.Int32
Index to insert at
value System.Object
Value to insert
Returns
System.Void
PopulateFromXml
Populates collection from XML element
Parameters
rootElement System.Xml.XmlElement
XmlElement to import from
Returns
System.Void
PrepareForScale
Prepare series after AutoScale, add fake X values
Returns
System.Void
Remove
Removes item from collection
Parameters
item `0
Item to remove
Returns
System.Boolean
True in case of success
RemoveAt
Removes item from collection at given index
Parameters
index System.Int32
Index to remove at
Returns
System.Void
RemoveSeries
Removes the all data series from the series collection.
Returns
System.Void
RestoreAfterScale
Restore series after AutoScale, remove fake X values
Returns
System.Void
SaveViewState
Saves collection to a view state
Returns
System.Object
Saved state bag object
SetDirty
Sets is item in the dirty state
Returns
System.Void
SetItemDirty
Marks collection item dirty
Parameters
item `0
Item to mark
Returns
System.Void
Stacked
Returns True if series is a stacked type
Parameters
chartSeries Telerik.Charting.ChartSeries
Returns
System.Boolean
Is series a stacked type
Stacked100
Returns True if series is a stacked100 type
Parameters
chartSeries Telerik.Charting.ChartSeries
Returns
System.Boolean
Is series a stacked100 type