xtrareports-devexpress-dot-xtrareports-dot-ui-d5c61a67.md
A Chart control.
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
public class XRChart :
XRControl,
IChartContainer,
IChartRenderProvider,
IChartDataProvider,
IChartEventsProvider,
IChartInteractionProvider,
ISupportInitialize,
ICoreReference,
IDataContainer,
IDataSourceAssignable,
IDataContainerBase,
IEffectiveDataContainer
Public Class XRChart
Inherits XRControl
Implements IChartContainer,
IChartRenderProvider,
IChartDataProvider,
IChartEventsProvider,
IChartInteractionProvider,
ISupportInitialize,
ICoreReference,
IDataContainer,
IDataSourceAssignable,
IDataContainerBase,
IEffectiveDataContainer
The XRChart control is intended to represent Reporting data in a graphical form. The control’s features are based on the ChartControl control.
For examples of how to set up series in an XRChart control, see the following topics:
The XRPivotGrid control is a familiar data source to the XRChart control. You can assign a 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).
For more information on how to use charts in a Reporting application, see Use Charts in Reports.
If your .NET app uses charts with 3D series and runs on a Linux server distribution or Docker Linux Container, use the following terminal command to install additional libraries:
sudo apt install libosmesa6 libglu1-mesa
If you use Linux with a window system (for example, X Window System), install one of the following libraries:
EGL (Embedded-System Graphics Library)
GLX (OpenGL extension to the X Window System)
Object MarshalByRefObject Component XRControl XRChart
See Also
Add a Chart (Set Up Series Manually)