Skip to main content
A newer version of this page is available. .

Chart Interface

An embedded chart on a worksheet.

Namespace: DevExpress.Spreadsheet.Charts

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

Declaration

public interface Chart :
    Shape,
    FloatingObject,
    ChartObject,
    ShapeFormat

Remarks

The Chart object is a member of the ChartCollection collection, containing all the embedded charts on a worksheet. Use ChartCollection.GetCharts method to get charts by their names, use the ChartCollection.GetChartById method to obtain a chart by its ID or use indexed access to the elements of the ChartCollection.

To create a chart and add it to the collection of charts on a worksheet, use the ChartCollection.Add method.

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

Note

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