@sheetwrite/coreinterface
Persisted chart definition; IDs are unique within the owning sheet.
Members 7
id
id: string;kind
title Text above the chart; undefined shows no title.
title?: string;axes Axis titles; undefined shows no axis titles.
axes?: { xTitle?: string; yTitle?: string };legend Legend position; undefined lets the renderer use its default position.
legend?: "none" | "top" | "right" | "bottom" | "left";anchor
series
Declaration
View full TypeScript declaration
export interface ChartDefinition { id: string; title?: string; axes?: { xTitle?: string; yTitle?: string; }; legend?: "none" | "top" | "right" | "bottom" | "left";}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 ChartDefinition
ChartView@sheetwrite/chartsChartView@sheetwrite/coreDocumentOp@sheetwrite/coreGrid@sheetwrite/coreSheet@sheetwrite/coreSheetSnapshot@sheetwrite/coreGrid@sheetwrite/reactGrid@sheetwrite/svelteGrid@sheetwrite/vue