Skip to content

ChartChangeEvent@sheetwrite/core

On this page

Charts whose ChartView may differ after one store commit. Emitted at most once per commit, only when charts is not empty; each chart appears once. A chart that no longer exists resolves to null.

Members 2

epoch Store epoch after the commit.
readonly epoch: number | undefined;

Store epoch after the commit. `undefined` when the store sent its change event without an epoch, which a custom `Store` can do.

charts Charts to resolve again, in commit order of the edits that touched them.
readonly charts: readonly ChartRef[];

Declaration

View full TypeScript declaration
export interface ChartChangeEvent {
readonly epoch: number | undefined;
readonly charts: readonly ChartRef[];
}

Referenced by

Workspace packages depending on @sheetwrite/core

  • @sheetwrite/benchdependency
  • @sheetwrite/chartsdependency
  • @sheetwrite/docs-startdependency
  • @sheetwrite/reactdependency
  • @sheetwrite/sveltedependency
  • @sheetwrite/vuedependency
  • @sheetwrite/xlsxdependency

Public exports naming ChartChangeEvent

Documentation