A newer version of this page is available. Switch to the current version.

ChartObject Interface

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

Namespace: DevExpress.Spreadsheet.Charts

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


public interface ChartObject :

The following members accept/return ChartObject objects:


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.

See Also