Back to Devexpress

XRChart.DataAdapter Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrchart-fde5ec3e.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(null)]
[SRCategory(ReportStringId.CatData)]
public object DataAdapter { get; set; }
vb
<SRCategory(ReportStringId.CatData)>
<DefaultValue(Nothing)>
Public Property DataAdapter As Object

Property Value

TypeDefaultDescription
Objectnull

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

DataSource

XRChart Class

XRChart Members

DevExpress.XtraReports.UI Namespace