Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ChartObject Interface

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

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

public interface ChartObject :
    ShapeFormat,
    ShapeFormatBase

Remarks

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