Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRChart Class

A Chart control.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public class XRChart :
    XRControl,
    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:

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)

    sudo apt install libegl1
    
  • GLX (OpenGL extension to the X Window System)

    sudo apt install libx11-dev
    

#Implements

See Also