Skip to content

ChartRenderer@sheetwrite/core

On this page

Draws charts into host elements that the grid's object layer owns.

Members 2

mount host is an empty element that core owns, positions and clips.
mount(host: HTMLElement, chart: ChartRef, size: { width: number; height: number }): MountedChart;
dispose
dispose(): void;

Declaration

View full TypeScript declaration
export interface ChartRenderer {
mount(
host: HTMLElement,
chart: ChartRef,
size: {
width: number;
height: number;
},
dispose(): void;
}

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 ChartRenderer

Documentation