Skip to main content

ChartCalculatedField.DataSource Property

SECURITY NOTE

Deserializing layout settings from untrusted resources may create security issues. Serializable System.Object properties that contain custom type values are not (de)serialized automatically. Review the following help topic for information on how to (de)serialize custom type values: Safe Deserialization.

Gets or sets the calculated field’s data source.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Data)]
public object DataSource { get; set; }

Property Value

Type Description
Object

The calculated field’s data source.

Remarks

The data source should be the same as the corresponding series’ data source. Series can obtain data from the chart’s data source or can be bound to a separate data source (see the Series.DataSource property). If the ChartCalculatedField.DataSource property is not specified, the calculated field obtains the same data as the series uses.

See Also