officefileapi-devexpress-dot-spreadsheet-dot-worksheet-9fa5767f.md
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
ChartCollection Charts { get; }
ReadOnly Property Charts As ChartCollection
| Type | Description |
|---|---|
| ChartCollection |
A ChartCollection object that contains all the charts in a worksheet.
|
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
{
foreach (var chart in worksheet.Charts)
{
See Also