ChartDataPointCollection

ChartDataPointCollection class

表示系列数据点的集合。

public class ChartDataPointCollection : DomObject<ChartSeries>, IChartDataPointCollection

Properties

NameDescription
Count { get; }获取实际包含在集合中的元素数量。只读 Int32。
DataSourceTypeForBubbleSizes { get; set; }指定 AsCell、AsLiteralString 或 AsLiteralDouble 属性在数据点 BubbleSize 属性对象中是否有效。换句话说,它指定 ChartDataPoint.BubbleSize.Data 属性的值类型。可读/可写 DataSourceType
DataSourceTypeForErrorBarsCustomValues { get; }指定 ChartDataPoint.ErrorBarsCustomValues 属性列表中的值类型。只读 IDataSourceTypeForErrorBarsCustomValues
DataSourceTypeForValues { get; set; }指定 AsCell、AsLiteralString 或 AsLiteralDouble 属性在数据点 Value 属性对象中是否有效。换句话说,它指定 ChartDataPoint.Value.Data 属性的值类型。可读/可写 DataSourceType
DataSourceTypeForXValues { get; set; }指定 AsCell、AsLiteralString 或 AsLiteralDouble 属性在数据点 XValue 属性对象中是否有效。换句话说,它指定 ChartDataPoint.XValue.Data 属性的值类型。可读/可写 DataSourceType
DataSourceTypeForYValues { get; set; }指定 AsCell、AsLiteralString 或 AsLiteralDouble 属性在数据点 YValue 属性对象中是否有效。换句话说,它指定 ChartDataPoint.YValue.Data 属性的值类型。可读/可写 DataSourceType
IsSynchronized { get; }返回一个值,指示对集合的访问是否经过同步(线程安全)。只读 Boolean。
Item { get; }通过索引返回系列数据点(在此集合中的序列号)。 (2 个索引器)
SyncRoot { get; }返回一个同步根。只读 Object。

Methods

NameDescription
AddDataPointForAreaSeries(double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Area 子类型之一的系列(另见 IsChartTypeArea 方法)。
AddDataPointForAreaSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Area 子类型之一的系列(另见 IsChartTypeArea 方法)。
AddDataPointForBarSeries(double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Column 或 Bar 子类型之一的系列(另见 IsChartTypeColumnIsChartTypeBar 方法)。
AddDataPointForBarSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Column 或 Bar 子类型之一的系列(另见 IsChartTypeColumnIsChartTypeBar 方法)。
AddDataPointForBoxAndWhiskerSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chart type 为 BoxAndWhisker 的系列。
AddDataPointForBubbleSeries(double, double, double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForBubbleSeries(double, double, IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForBubbleSeries(double, IChartDataCell, double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForBubbleSeries(double, IChartDataCell, IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForBubbleSeries(IChartDataCell, double, double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForBubbleSeries(IChartDataCell, double, IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForBubbleSeries(IChartDataCell, IChartDataCell, double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForBubbleSeries(IChartDataCell, IChartDataCell, IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForBubbleSeries(string, double, double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForBubbleSeries(string, double, IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForBubbleSeries(string, IChartDataCell, double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForBubbleSeries(string, IChartDataCell, IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Bubble 子类型之一的系列(另见 IsChartTypeBubble 方法)。
AddDataPointForDoughnutSeries(double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Doughnut 子类型之一的系列(另见 IsChartTypeDoughnut 方法)。
AddDataPointForDoughnutSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Doughnut 子类型之一的系列(另见 IsChartTypeDoughnut 方法)。
AddDataPointForFunnelSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chart type 为 Funnel 的系列。
AddDataPointForHistogramSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chart type 为 Histogram 的系列。
AddDataPointForLineSeries(double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Line 子类型之一的系列(另见 IsChartTypeLine 方法)。
AddDataPointForLineSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Line 子类型之一的系列(另见 IsChartTypeLine 方法)。
AddDataPointForMapSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chart type 为 Map 的系列。
AddDataPointForPieSeries(double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Pie 子类型之一的系列(另见 IsChartTypePie 方法)。
AddDataPointForPieSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Pie 子类型之一的系列(另见 IsChartTypePie 方法)。
AddDataPointForRadarSeries(double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Radar 子类型之一的系列(另见 IsChartTypeRadar 方法)。
AddDataPointForRadarSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Radar 子类型之一的系列(另见 IsChartTypeRadar 方法)。
AddDataPointForScatterSeries(double, double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Scatter 子类型之一的系列(另见 IsChartTypeScatter 方法)。
AddDataPointForScatterSeries(double, IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Scatter 子类型之一的系列(另见 IsChartTypeScatter 方法)。
AddDataPointForScatterSeries(IChartDataCell, double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Scatter 子类型之一的系列(另见 IsChartTypeScatter 方法)。
AddDataPointForScatterSeries(IChartDataCell, IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Scatter 子类型之一的系列(另见 IsChartTypeScatter 方法)。
AddDataPointForScatterSeries(string, double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Scatter 子类型之一的系列(另见 IsChartTypeScatter 方法)。
AddDataPointForScatterSeries(string, IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Scatter 子类型之一的系列(另见 IsChartTypeScatter 方法)。
AddDataPointForStockSeries(double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Stock 子类型之一的系列(另见 IsChartTypeStock 方法)。
AddDataPointForStockSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Stock 子类型之一的系列(另见 IsChartTypeStock 方法)。
AddDataPointForSunburstSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chart type 为 Sunburst 的系列。
AddDataPointForSurfaceSeries(double)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Surface 子类型之一的系列(另见 IsChartTypeSurface 方法)。
AddDataPointForSurfaceSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chartType 为 Surface 子类型之一的系列(另见 IsChartTypeSurface 方法)。
AddDataPointForTreemapSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chart type 为 Treemap 的系列。
AddDataPointForWaterfallSeries(IChartDataCell)创建一个新的数据点并将其添加到集合的末尾。适用于 chart type 为 Waterfall 的系列。
Clear()从集合中移除所有元素。
CopyTo(Array, int)复制到指定数组。
GetEnumerator()返回一个枚举器,用于迭代集合。
GetOrCreateDataPointByIdx(uint)如果集合中已经包含索引为 index 的数据点,则返回该数据点。如果集合中不包含索引为 index==N 的数据点(当此集合中的数据点数量小于或等于 N 时),则添加缺失数据点并返回最后一个(具有请求索引的数据点)。例如,集合索引为 {0, 1, 2},请求索引为 5。然后方法添加缺失数据点:{0, 1, 2, 3, 4, 5}。并返回索引为 5 的数据点。
Remove(IChartDataPoint)移除指定值。
RemoveAt(int)移除给定索引处的元素。

See Also