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

XRChart Class

A Chart control.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v17.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public class XRChart :
    XRControl,
    IChartContainer,
    ISupportBarsInteraction,
    IServiceProvider,
    ICommandAwareControl<ChartCommandId>,
    IChartRenderProvider,
    IChartDataProvider,
    IChartEventsProvider,
    IChartInteractionProvider,
    ISupportInitialize,
    ICoreReference,
    IDataContainer,
    IDataContainerBase,
    IDataContainerBase2

Remarks

The XRChart control duplicates all the general functionality of the ChartControl, and is intended to graphically represent various data in XtraReports.

For examples of how to use the XRChart control, see Binding a Chart’s Series to Data and Binding a Chart to Data Using Series Templates.

The XRPivotGrid control stands as a familiar data source to the XRChart control, meaning that you can simply assign the Pivot Grid instance to a chart’s XRChart.DataSource property, for all data and layout settings to be defined automatically. To learn more on this, see Pivot Charting (Integration with a Pivot Grid Control).

To learn more, see Providing Data to Charts.

Implements

See Also