XRChart Class
A Chart control.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v20.1.dll
NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core
Declaration
public class XRChart :
XRControl,
IChartContainer,
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 Add a Chart (Set Up Series Manually) and Add a Chart (Use a Series Template).
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 Use Charts in Reports.