Back to Devexpress

Worksheet.Charts Property

officefileapi-devexpress-dot-spreadsheet-dot-worksheet-9fa5767f.md

latest2.4 KB
Original Source

Worksheet.Charts Property

Provides access to a collection of charts in a worksheet.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
ChartCollection Charts { get; }
vb
ReadOnly Property Charts As ChartCollection

Property Value

TypeDescription
ChartCollection

A ChartCollection object that contains all the charts in a worksheet.

|

Remarks

Use the ChartCollection.Add method, accessible using the Worksheet.Charts.Add notation, to create a new chart and add it to a worksheet.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Charts property.

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.

office-file-api-ai-implementation/CS/Controllers/AccessibilityController.cs#L72

csharp
{
    foreach (var chart in worksheet.Charts)
    {

See Also

How to: Create and Modify a Chart

Spreadsheet Chart Overview

Worksheet Interface

Worksheet Members

DevExpress.Spreadsheet Namespace