IChartDataPointCollection

IChartDataPointCollection 接口

表示系列数据点的集合。

public interface IChartDataPointCollection : IGenericCollection<IChartDataPoint>  

属性

名称描述
DataSourceTypeForBubbleSizes { get; set; }指定 AsCell、AsLiteralString 或 AsLiteralDouble 属性在数据点的 BubbleSize 属性对象中是否有效。换句话说,它指定 ChartDataPointEx.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 属性对象中是否有效。换句话说,它指定 ChartDataPointEx.XValue.Data 属性的值类型。可读可写 DataSourceType
DataSourceTypeForYValues { get; set; }指定 AsCell、AsLiteralString 或 AsLiteralDouble 属性在数据点的 YValue 属性对象中是否有效。换句话说,它指定 ChartDataPointEx.YValue.Data 属性的值类型。可读可写 DataSourceType
Item { get; }通过索引(在此集合中的序号)返回系列数据点。(2 个索引器)

方法

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

另请参阅