Loading documentation…
Loading documentation…
supported
Supported public entry point. Import this entry point as @sheetwrite/charts.
Source entry: packages/charts/src/index.ts
createChartRendererCreates the SVG chart renderer for one store.
createChartViewCacheCreates the per-store chart view cache a chart renderer reads from.
registerChartsBackendRegister the chart view cache as the core chart view provider, so openChartViews(store) returns live chart views, and the SVG chart renderer, so grids created after this call draw their charts.
renderChartSvgDraws a chart view as a standalone SVG element of size CSS pixels.
ChartAnchorPosition in worksheet coordinates; dimensions and offsets use CSS pixels.
ChartChangeEventCharts whose ChartView may differ after one store commit.
ChartDefinitionPersisted chart definition; IDs are unique within the owning sheet.
ChartRefStable identity of one chart: the sheet that owns it and its ID on that sheet.
ChartRendererDraws charts into host elements that the grid's object layer owns.
ChartSeriesSources are read in row-major order.
ChartSeriesViewResolved plain data; the renderer does not read cells.
ChartSizeBox size in CSS pixels.
ChartSvgOptionsOptions for renderChartSvg.
ChartViewOne immutable-by-convention rendering input, refreshed on chart-change events.
MountedChartDraws one chart into a box that core places and sizes.