findSeries method
Returns a reference to a Series object for the specified data series in the chart.
Syntax
Series = document.Chart.findSeries(seriesID)
Applies to
Chart object.
Parameters
- seriesID
- integer. The one-based series index.
Return value
Series. The reference to the created Series object.
Usage
If seriesID is less than 0, findSeries() returns null. If it is greater than the highest series index, a Series object with no data is returned. You can then set the Data property for the Series object to populate it with data.
See also
NumDataSeries property