.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ChartObject Interface

Contains basic properties and methods for embedded charts and chart sheets.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll


public interface ChartObject :


The ChartObject interface defines common options related to embedded charts (a Chart interface is inherited from ChartObject) and chart sheets (use the ChartSheet.Chart property to access a chart located on a chart sheet). For example, it allows you to select chart data (ChartObject.SelectData, ChartObject.Series), change the chart type (ChartObject.ChangeType), modify the chart layout (ChartObject.PlotArea, ChartObject.PrimaryAxes, ChartObject.SecondaryAxes, ChartObject.Legend, ChartObject.Title) and adjust the chart appearance (ChartObject.Style, ChartObject.Views, ChartObject.View3D). Using the ChartObject.MoveToNewChartSheet method, you can transfer an embedded chart to a chart sheet, or move it back to a worksheet by calling ChartObject.MoveToWorksheet.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ChartObject interface.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also