Whether this wrapper still refers to a live engine object.
The classic plot kind (see ChartKind); -1 if the chart is gone.
Number of series.
Number of categories.
Whether the source row/column mapping is transposed.
Reference equality is the identity test — prefer a === b. This is retained only for
the rare cross-realm case where two wrappers describe the same handle by value. Reads the
raw index so comparing a stale wrapper never throws.
A readable identity for logs and diagnostics, never [object Object].
One value of a series.
A series' own plot kind (combo charts); -1 if none.
A series' packed 0xRRGGBB colour; -1 if none.
A series' trendline kind (see TrendlineKind); -1 if the series has none.
Append a category label.
Add a series (name + 0xRRGGBB colour); returns its series index.
Append a Y value to a series.
Set the category (x) and value (y) axis titles (a blank string leaves that side untitled).
Toggle value-axis major gridlines.
Add a regression trendline to a series (type is a TrendlineKind).
Remove a series' trendline.
Open the Edit-Data session on this chart; returns whether it opened (needs a viewport).
Add an empty series to the open Edit-Data session.
Remove a series from the open Edit-Data session.
Add an empty category to the open Edit-Data session.
Remove a category from the open Edit-Data session.
Swap the row/column source mapping in the open Edit-Data session.
Write a datasheet cell in the open session (row 0 = series headers, col 0 = categories).
Re-pick the chart's backing range from an A1 string (e.g. "A1:C6") in the open session.
Close the Edit-Data session.
A chart on a sheet, addressed by
(sheet, index). Reads are direct model reads; authoring builds categories + series; the Chart.beginEdit session drives the Edit-Data modal (which needs a live renderer — a viewport attached). Mutators chain and repaint.