Class XlsxCharts
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
A sheet's charts, in the order its drawing holds them (Phase 211).
public sealed class XlsxCharts : IReadOnlyList<XlsxChart>, IReadOnlyCollection<XlsxChart>, IEnumerable<XlsxChart>, IEnumerable
- Inheritance
-
XlsxCharts
- Implements
- Inherited Members
Properties
- Count
Gets how many charts the sheet has.
- this[int]
Gets a chart by its place.
Methods
- Add(XlsxChartType, XlsxCellRange, string, XlsxChartOptions?)
Makes a chart of a range of the sheet, as Excel makes one from a selection (Phase 211): the series from the range by Excel's rule (down its columns when it has more rows than columns; a first row of text the series' names, a first column of text their categories, both when the top-left cell is empty; a scatter's first column its x values), placed with its top-left corner at a cell. Its caches hold the cells' values now, so a viewer that does not calculate shows it.
- Find(string)
Finds a chart by its name, without regard to case; null when the sheet has none of that name.
- GetEnumerator()
The charts in order.