DataSourceType

BaseChartValue.DataSourceType 属性

指定 AsCell、AsCells、AsLiteralString 或 AsLiteralDouble 属性在子类中是否有效。换句话说,它指定了 Data 属性的值类型。可读写 DataSourceType

public DataSourceType DataSourceType { get; set; }

备注

对于 ChartDataPointCollection 中的点,此属性为只读。在这种情况下,要改变此属性的值,您可以使用其中一个 ChartDataPointCollection.DataSourceTypeFor<…> 属性。

另见