ReadonlyisFor runtime type checking.
ReadonlyisFor runtime type checking.
Add Listeners.
Optionaloptions: IListener.OptionsSimilar to delete but cleans resources and can't be undone.
Deletes the anchored item.
OptionalgetThe cells the first range's sparklines draw.
See getDataRanges for all of them.
The cells each range's sparklines draw, paired by position with IAnchored.getRanges:
the cells they read together (A2:E4 for F2:F4 reading a row each), as Excel's Edit
Sparklines dialog shows them.
null entries. Data whose cells are deleted is an invalid range; ask
ICellRange.isInvalid.OptionalgetThe name of the anchor or null if it has none.
The properties every sparkline of the group draws with. Absent properties are their defaults.
The first range the group covers.
See IAnchored.getRanges for all of them.
Returns the ranges this object is anchored to, in authored order.
Optionaloptions: ICellRange.GetRangeOptionsnull. An item whose last range was removed by a row/column delete returns an
invalid ranges — ask ICellRanges.isInvalid, the same contract as
ITable.getDataRange.getRange() for it, but data validations, conditional formats and protected ranges are
authored as several, and any single range can become several when a delete splits it.The sparkline in cell, or null when the group has none there.
The sparkline at index in getSparklines, or null past the end.
One sparkline per cell, in the order of the group's ranges.
The kind of chart the group draws.
Returns if the model has been closed
Returns if the model has been deleted
If the anchor is unable to be modified.
Gives the group's cells new data, as Excel's ModifySourceData does.
The cells to draw, paired with the group's cells as setRanges pairs them.
Optionaloptions: ITransaction.OperationOptionsMoves the group's sparklines to new cells, and optionally gives them new data, as Excel's Edit
Sparklines dialog does (ModifyLocation, Modify).
The cells to draw in: one or more areas, each a cell, a row or a column of cells.
Optionaldata: ICellRanges.Address | null
The cells to draw. Left out, the group's own data (getDataRanges) is paired
with the new cells. Give both to change both at once: growing F2:F4 reading A2:E4 to F2:F5
reading A2:E5 pairs as one change and as neither change alone.
Optionaloptions: ITransaction.OperationOptionsThe location's cells are taken in order, and the data pairs with them in one of three ways:
F2:F3,G5 with A2:E4 reads a row each.F2:F4,H6 with A2:E4,A6:E6.F2:F4 with A2:E2,A9:E9,A4:E4.The group keeps its properties. A cell has one sparkline, so the new cells leave any other group they were in. Refused, and the group left as it was, when the data does not pair with the cells; refused on a protected sheet unless formatting cells is allowed.
The group as JSON: its properties and the data of each of its ranges, in order.
Changes the properties every sparkline of the group draws with.
The properties to change; a property left out is left as it is, and null
returns one to its default.
Optionaloptions: ITransaction.OperationOptions
A group of sparklines drawn with the same properties: Excel's sparkline group.
Remarks
A sparkline is a small chart drawn in a cell, over the cell's own value. A group shares one type, one set of colors and markers, and one axis rule (
'group'scales its sparklines together). It is anchored to its sparklines' cells, and moves and shrinks with them as rows and columns are inserted and deleted; each sparkline's data follows its own cells the way a formula does.