OptionalanchorHow the chart moves and resizes with the cells under it.
OptionalauthorWho authored this change. Recorded on the commit (ICommit.getAuthor).
OptionalautoSelect the movables the operation leaves the user working on, once it completes.
OptionalautoSelect what the operation acted on when it is undone or redone: an undo lands on the selection it began with, a redo where it left the user.
OptionalboundsThe chart's frame in pixels. A size with no position is placed in the middle of the visible window, or at the selection where there is none.
OptionaldescriptionA human description.
OptionalexpectedOptimistic concurrency guard. If set, the operation only begins if the store's current commit id matches; otherwise a TransactionConflictError is thrown.
OptionalmetaStored with the commit (ICommit.getMeta) — for what a view of the history wants to know beyond the description, such as the command that made the change.
OptionalnameThe chart's name.
OptionalreadDeclares the operation read-only: any state update within it throws.
Writes are tracked automatically — a batch that performs no updates never creates a commit (no new commit id, no events, no undo entry) whether or not this is set. The flag is purely an assertion for callers that want the guarantee enforced. Nested transactions inherit it; they cannot opt back out.
OptionalseriesWhether each series is a row or a column of the cells.
OptionaltypeThe chart's type.
Options for adding a chart:
sheet.getCharts().add(source, options).