Skip to main content
A newer version of this page is available. .

ChartCalculatedField.DataSource Property

Gets or sets the calculated field’s data source.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.1.dll

NuGet Package: DevExpress.Charts

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