Skip to main content

ChartObject Interface

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

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public interface ChartObject :
    ShapeFormat,
    ShapeFormatBase

The following members return ChartObject objects:

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