/** * Public entry for the excelts chart module. * * Two complementary usage styles are supported: * * 1. **Functional, zero-side-effect** — tree-shakeable access to * chart builders, renderers, presets and parsers: * ```ts * import { buildChartModel, renderChartSvg } from "@cj-tech-master/excelts/chart"; * const model = buildChartModel(options); * const svg = renderChartSvg(model); * ``` * Bundlers drop everything the consumer does not reference. * * 2. **Support installation** — enables `worksheet.addChart()`, * `workbook.xlsx.writeFile()` chart-cache population, and chart * reconstruction during XLSX load: * ```ts * import { installChartSupport } from "@cj-tech-master/excelts/chart"; * installChartSupport(); // once, at startup * worksheet.addChart(options, "A1:D20"); // now works * ``` * * Chart support is **never installed implicitly** — consumers pay for * what they ask for. The package's root `sideEffects: false` contract * stays intact, so bundles that only use the functional API include * exactly the code paths reachable from the exports they reference. * * `installChartSupport` lives in a separate module (`./install.ts`) so * its host-registry wiring and the full chart builder/renderer pipeline * don't get pulled in by consumers who only import one or two * functional helpers. */ export { installChartSupport, uninstallChartSupport } from "./install.js"; export { Chart, buildChartModel } from "./chart.js"; export { buildComboChartModel } from "./chart-builder.js"; export { fillChartCaches, fillChartExCaches, fillNumRef, fillStrRef } from "./cache-populator.js"; export { parseChartColors, buildChartColors, parseChartStyle, buildChartStyle } from "./chart-sidecar.js"; export { buildChartExModel } from "./chart-ex-builder.js"; export { parseChartEx } from "./chart-ex-parser.js"; export { canRenderChartExAsVectorPdf, drawChartExPdf, renderChartEx, renderChartExPng, renderChartExSvg, VECTOR_PDF_CHART_EX_LAYOUT_IDS } from "./chart-ex-renderer.js"; export { applyChartExPreset, applyChartPreset, CHART_EX_PRESETS, CHART_PRESETS, EXCEL_CHART_EX_PRESETS, EXCEL_CHART_PRESETS } from "./chart-presets.js"; export { chartExOptionsFromRows, chartExOptionsFromTable, chartOptionsFromRows, chartOptionsFromTable, seriesFromColumns } from "./chart-api.js"; export type { AddChartExFromRowsOptions, AddChartExFromTableOptions, AddChartFromRowsOptions, AddChartFromTableOptions, SeriesFromColumnsOptions } from "./chart-api.js"; export type { ExcelChartExPreset, ExcelChartPreset } from "./chart-presets.js"; export { applyAxisTransform, buildChartScene, buildEffectFilter, drawChartPdf, renderChartPng, renderChartSvg } from "./chart-renderer.js"; export type { ChartPdfDrawingSurface, ChartPdfPathOp, ChartRenderOptions, ChartScene, ChartSceneLegend, ChartSceneLine, ChartScenePieSlice, ChartSceneSeries, ChartSceneText, PdfChartRenderOptions, PdfColor, RegionMapDataOptions, RegionMapMatchRule } from "./chart-renderer.js"; export { resolveTopologyObject } from "./topojson.js"; export type { ResolvedRing, TopoGeometry, TopoGeometryCollection, TopologyLike } from "./topojson.js"; export type { ChartExModel, ChartExSpace, ChartExData, ChartExDataEntry, ChartExStringDimension, ChartExNumericDimension, ChartExDimensionType, ChartExChart, ChartExPlotArea, ChartExSeries, ChartExSeriesType, ChartExDataLabels, ChartExLayoutProperties, ChartExAxis, AddChartExOptions, AddChartExHistogramOptions, AddChartExWaterfallOptions, AddChartExBoxWhiskerOptions, AddChartExSeriesOptions, ChartExType } from "./chart-ex-types.js"; export type { ChartExEntry } from "./chart.js"; export type { ChartEntry, ChartAnchorModel } from "./chart.js"; export type { ChartModel, ChartType, ChartData, PlotArea, ChartTypeGroup, ChartAxis, ChartTitle, ChartLegend, AddChartOptions, AddBarChartOptions, AddBarChartSeriesOptions, AddPieChartOptions, AddPieChartSeriesOptions, AddScatterChartOptions, AddScatterChartSeriesOptions, AddSurfaceChartOptions, AddSurfaceChartSeriesOptions, AddChartSeriesOptions, AddChartRange, AddComboChartOptions, ComboChartGroupOptions, ChartStyleModel, ChartColorsModel, ChartColorsEntry, ShapeProperties, ChartTextProperties, ChartColor, ChartFill, ChartLine, PivotChartSource, SeriesBase, AddChartMarkerOptions, AddDataLabelsOptions, AddTrendlineOptions, AddErrorBarsOptions, AddDataPointOptions, AddAxisOptions, AddShapeFillOptions, AddTitleOptions, AddLegendOptions, AddPlotAreaOptions, AddTrendlineLabelOptions, AddDataLabelEntryOptions, BarChartGroup, LineChartGroup, PieChartGroup, DoughnutChartGroup, AreaChartGroup, ScatterChartGroup, BubbleChartGroup, RadarChartGroup, SurfaceChartGroup, StockChartGroup, OfPieChartGroup, BarSeries, LineSeries, PieSeries, AreaSeries, ScatterSeries, BubbleSeries, RadarSeries, SurfaceSeries, CategoryAxis, ValueAxis, DateAxis, SeriesAxis, DataLabels, DataLabelEntry, DataPoint, DataTable, Trendline, TrendlineLabel, ErrorBars, ChartMarker, ChartRichText, ChartBodyProperties, ChartParagraphProperties, ChartBullet, ChartLineSpacing, UnderlineStyle, StrikeStyle, CapStyle, ParagraphAlignment, EffectList, Shadow, Scene3D, ShapeProperties3D, Bevel, NumberReference, StringReference, NumberDataSource, AxisDataSource, View3D, BarGrouping, LineGrouping, ChartLayout, ChartParagraph, ChartTextRun, DisplayUnits, ManualLayout, LegendEntry, DataLabelPosition, LegendPosition, TrendlineType, ErrorBarType, ErrorBarDirection, ErrorBarValueType, BandFormat, UpDownBars, PictureOptions, PictureFormat, NumberLiteral, StringLiteral, MultiLevelStringReference, MultiLevelStringCache, NumberCache, StringCache, ScatterStyle, RadarStyle, StockSeries, BarDirection, BarShape, OfPieType, SplitType, AxisCrosses, AxisPosition, AxisOrientation, TickMark, TickLabelPosition, TimeUnit, LabelAlignment, DisplayBlanksAs, PrintSettings, PivotFormat, DataLabelsRange, AxisBase, PresetGeometry, CustomGeometry, CustomGeometryPath, CustomGeometryCommand, ShapeTransform, ChartBlipFill, ChartColorVariation, AddChartPictureFillImage, ChartPictureFillImageData, PivotChartOptions, ChartUnknownElement, ChartStyleElement, ChartRange } from "./types.js"; export { parseSpPr, parseTxPr, getSpPrFillColor, getSpPrLine, getSpPrGradient, getSpPrPattern, getTxPrFontSize, getTxPrColor, buildSpPr, buildTxPr, setSpPrFill, setSpPrLine } from "./shape-properties.js";