Skip to content

ChartSeriesView@sheetwrite/core

On this page

Resolved plain data; the renderer does not read cells. Arrays follow source cells in row-major order.

Members 8

name
name: string;
values Numeric cells; text, booleans, errors and empty cells are null (a gap).
values: Array<number | null>;
categories
categories: Array<string | number | boolean | null>;
numberFormats Excel format code per value, as the grid paints it: cell style, then column style, then column format.
numberFormats: Array<string | null>;
categoryFormats Format code per category; date categories are serial numbers and need it to show as dates.
categoryFormats: Array<string | null>;
numberLocale BCP 47 locale of the first value column, for separators; null keeps the default.
numberLocale: string | null;
truncated A source had more than MAXCHARTPOINTS cells and its tail was dropped.
truncated: boolean;

A source had more than `MAX_CHART_POINTS` cells and its tail was dropped.

referenceError A source was deleted; that source reads as empty.
referenceError: boolean;

Declaration

View full TypeScript declaration
export interface ChartSeriesView {
name: string;
values: Array<number | null>;
categories: Array<string | number | boolean | null>;
numberFormats: Array<string | null>;
categoryFormats: Array<string | null>;
numberLocale: string | null;
truncated: boolean;
referenceError: boolean;
}

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 ChartSeriesView

Documentation