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

XRChart.DataAdapter Property

Gets or sets the data adapter used to populate the chart control’s data source.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core

Declaration

[DefaultValue(null)]
[SRCategory(ReportStringId.CatData)]
public object DataAdapter { get; set; }

Property Value

Type Default Description
Object *null*

A Object which represents the chart’s data adapter.

Remarks

Use the DataAdapter property to specify a data adapter that will populate the chart control’s data source, assigned via the XRChart.DataSource property.

The main purpose of this property is to populate the chart control’s data source when generating a report document (e.g. when previewing a report at design time).

See Also