Back to Devexpress

XRChart Class

xtrareports-devexpress-dot-xtrareports-dot-ui-d5c61a67.md

latest4.3 KB
Original Source

XRChart Class

A Chart control.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public class XRChart :
    XRControl,
    IChartContainer,
    IChartRenderProvider,
    IChartDataProvider,
    IChartEventsProvider,
    IChartInteractionProvider,
    ISupportInitialize,
    ICoreReference,
    IDataContainer,
    IDataSourceAssignable,
    IDataContainerBase,
    IEffectiveDataContainer
vb
Public Class XRChart
    Inherits XRControl
    Implements IChartContainer,
               IChartRenderProvider,
               IChartDataProvider,
               IChartEventsProvider,
               IChartInteractionProvider,
               ISupportInitialize,
               ICoreReference,
               IDataContainer,
               IDataSourceAssignable,
               IDataContainerBase,
               IEffectiveDataContainer

Remarks

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.

Use 3D Chart Series on Linux

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:

batchfile
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)


Implements

IScriptable

Inheritance

Object MarshalByRefObject Component XRControl XRChart

See Also

XRChart Members

Use Charts in Reports

Add a Chart (Set Up Series Manually)

Add a Chart (Use a Series Template)

Chart Control

DevExpress.XtraReports.UI Namespace