ChartEx support

v0.81.0 expands rendering for Microsoft ChartEx chart families, including waterfall, histogram, Pareto, funnel, box-and-whisker, treemap and sunburst charts.

Classic charts remain built in and require no application changes.

Migration

ChartEx is now provided by the separate @silurus/ooxml/chart-ex module. Import chartEx and pass it to any DOCX, XLSX or PPTX viewer that needs these chart families.

Enable ChartEx

import { XlsxViewer } from '@silurus/ooxml/xlsx';
import { chartEx } from '@silurus/ooxml/chart-ex';

const viewer = new XlsxViewer(container, { chartEx });
await viewer.load(source);
Questions about the change? Start a GitHub discussion ↗︎