Back to Devexpress

Chart Interface

officefileapi-devexpress-dot-spreadsheet-dot-charts-512ab0e7.md

latest3.1 KB
Original Source

Chart Interface

An embedded chart on a worksheet.

Namespace : DevExpress.Spreadsheet.Charts

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public interface Chart :
    Shape,
    FloatingObject,
    ShapeFormatBase,
    ChartObject,
    ShapeFormat
vb
Public Interface Chart
    Inherits Shape,
             FloatingObject,
             ShapeFormatBase,
             ChartObject,
             ShapeFormat

The following members return Chart objects:

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.

See Also

Chart Members

Spreadsheet Chart Overview

How to: Create and Modify a Chart

DevExpress.Spreadsheet.Charts Namespace