IChartDataPointCollectionGetOrCreateDataPointByIdx Method

If collection already contains data point with index index then returns this data point. If collection doesn't contains data point with index index==N (when number of data points in this collection is less or equal then N) then adds deficient data points and returns last (which has requested index). For example, collection indexes are {0, 1, 2}, and requested index is 5. Then method adds deficient data points: {0, 1, 2, 3, 4, 5}. And returns data point with index 5.

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: (21.11)
IChartDataPoint GetOrCreateDataPointByIdx(
	uint index


Type: SystemUInt32

Return Value

Type: IChartDataPoint
Returns data point with requested index.
See Also