@silurus/ooxml 0.80.3 → 0.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -77
- package/dist/assets/render-worker-C2ACcLes.js +11 -0
- package/dist/assets/render-worker-Cx5uR77k.js +10 -0
- package/dist/assets/render-worker-DtU8oQZ7.js +24 -0
- package/dist/{canvas-viewer-mechanics-D-r6wHY_.js → canvas-viewer-mechanics-CqxKRGCp.js} +1 -1
- package/dist/chart-ex.mjs +1017 -0
- package/dist/{document-pull-client-vxk-Aomu.js → document-pull-client-Ux4a_ax8.js} +4540 -4412
- package/dist/{docx-DN0PRx2f.js → docx-SEyQ4gS-.js} +79 -75
- package/dist/docx.mjs +5 -4
- package/dist/docx_parser_bg.wasm +0 -0
- package/dist/index.mjs +3 -3
- package/dist/{line-distribute-Bvtp0Gt6.js → line-distribute-BBGvvwLt.js} +17 -16
- package/dist/{line-metrics-DdEJYxjx.js → line-metrics-Baz31mML.js} +663 -7488
- package/dist/math.mjs +2 -2
- package/dist/node.mjs +248 -247
- package/dist/plot-area-frame-Dg1VIpUU.js +3669 -0
- package/dist/{pptx-B-Laftl1.js → pptx-5lQrMvMR.js} +236 -232
- package/dist/pptx.mjs +6 -5
- package/dist/pptx_parser_bg.wasm +0 -0
- package/dist/region-map.mjs +102 -97
- package/dist/{render-CoqMHcbF.js → render-DEHjijQD.js} +1 -1
- package/dist/{render-worker-host-CYPhmBtX.js → render-worker-host-B1nbV_k7.js} +1 -1
- package/dist/{render-worker-host-GlLR1rtF.js → render-worker-host-Bze5M6k5.js} +1 -1
- package/dist/{render-worker-host-IuQFpoJM.js → render-worker-host-Dg_74V64.js} +1 -1
- package/dist/renderer-DuopJE1K.js +5855 -0
- package/dist/{renderer-module-contract-BNGz8HvO.js → renderer-module-contract-0bO_5SC0.js} +4 -3
- package/dist/{resource-measurement-CgMubiAI.js → resource-measurement-DRLp4nFt.js} +12 -11
- package/dist/{session-DkPblDiq.js → session-CNVc3VJ4.js} +8 -8
- package/dist/{slide-pull-client-m2blvngt.js → slide-pull-client-CzutXnGc.js} +888 -1082
- package/dist/three-d-BYiWCNlz.js +1345 -0
- package/dist/three-d.mjs +1238 -798
- package/dist/types/chart-ex.d.ts +949 -0
- package/dist/types/docx.d.ts +325 -18
- package/dist/types/index.d.ts +325 -26
- package/dist/types/math.d.ts +1 -1
- package/dist/types/node.d.ts +303 -14
- package/dist/types/pptx.d.ts +314 -22
- package/dist/types/region-map.d.ts +318 -6
- package/dist/types/three-d.d.ts +318 -6
- package/dist/types/xlsx.d.ts +317 -18
- package/dist/{worksheet-pull-client-BntP6RiO.js → worksheet-pull-client-Cxj3Ej0s.js} +19 -19
- package/dist/{xlsx-DqMe7J2C.js → xlsx-Bl3TIEVu.js} +1313 -1279
- package/dist/xlsx.mjs +6 -5
- package/dist/xlsx_parser_bg.wasm +0 -0
- package/package.json +7 -1
- package/dist/assets/render-worker-CRaEOHkw.js +0 -9
- package/dist/assets/render-worker-DQGLj5Zv.js +0 -22
- package/dist/assets/render-worker-rnrSLmqL.js +0 -8
- package/dist/chart-number-format-qLhnk6hj.js +0 -475
- package/dist/three-d-C28kqDym.js +0 -1086
- /package/dist/{highlight-rect-BuX5rWP4.js → highlight-rect-BqcZMHUE.js} +0 -0
- /package/dist/{mathjax-DgAl7Yi5.js → mathjax-DJa-Q93p.js} +0 -0
- /package/dist/{transfer-CKZ79zFw.js → transfer-D0U6Uhn4.js} +0 -0
- /package/dist/{visible-index-BjesVGhg.js → visible-index-DbDuGMCE.js} +0 -0
|
@@ -0,0 +1,949 @@
|
|
|
1
|
+
//#region dist/.types-work/chart-Cf9PF1Kz.d.ts
|
|
2
|
+
interface Duotone {
|
|
3
|
+
clr1: string;
|
|
4
|
+
clr2: string;
|
|
5
|
+
}
|
|
6
|
+
interface SrcRect {
|
|
7
|
+
l: number;
|
|
8
|
+
t: number;
|
|
9
|
+
r: number;
|
|
10
|
+
b: number;
|
|
11
|
+
}
|
|
12
|
+
type Fill = SolidFill | NoFill | GradientFill | PatternFill | ImageFill;
|
|
13
|
+
interface SolidFill {
|
|
14
|
+
fillType: 'solid';
|
|
15
|
+
color: string;
|
|
16
|
+
}
|
|
17
|
+
interface NoFill {
|
|
18
|
+
fillType: 'none';
|
|
19
|
+
}
|
|
20
|
+
interface GradientStop {
|
|
21
|
+
position: number;
|
|
22
|
+
color: string;
|
|
23
|
+
}
|
|
24
|
+
interface GradientFill {
|
|
25
|
+
fillType: 'gradient';
|
|
26
|
+
stops: GradientStop[];
|
|
27
|
+
angle: number;
|
|
28
|
+
gradType: string;
|
|
29
|
+
scaled?: boolean;
|
|
30
|
+
path?: 'shape' | 'circle' | 'rect' | string;
|
|
31
|
+
fillToRect?: FillRect;
|
|
32
|
+
tileRect?: FillRect;
|
|
33
|
+
flip?: 'none' | 'x' | 'y' | 'xy' | string;
|
|
34
|
+
rotWithShape?: boolean;
|
|
35
|
+
}
|
|
36
|
+
interface PatternFill {
|
|
37
|
+
fillType: 'pattern';
|
|
38
|
+
fg: string;
|
|
39
|
+
bg: string;
|
|
40
|
+
preset: string;
|
|
41
|
+
}
|
|
42
|
+
interface FillRect {
|
|
43
|
+
l?: number;
|
|
44
|
+
t?: number;
|
|
45
|
+
r?: number;
|
|
46
|
+
b?: number;
|
|
47
|
+
}
|
|
48
|
+
interface TileInfo {
|
|
49
|
+
tx?: number;
|
|
50
|
+
ty?: number;
|
|
51
|
+
sx?: number;
|
|
52
|
+
sy?: number;
|
|
53
|
+
flip?: string;
|
|
54
|
+
algn?: string;
|
|
55
|
+
}
|
|
56
|
+
interface ImageFill {
|
|
57
|
+
fillType: 'image';
|
|
58
|
+
imagePath: string;
|
|
59
|
+
svgImagePath?: string;
|
|
60
|
+
mimeType: string;
|
|
61
|
+
dpi?: number;
|
|
62
|
+
rotWithShape?: boolean;
|
|
63
|
+
srcRect?: SrcRect;
|
|
64
|
+
fillRect?: FillRect;
|
|
65
|
+
stretch?: boolean;
|
|
66
|
+
tile?: TileInfo;
|
|
67
|
+
alpha?: number;
|
|
68
|
+
duotone?: Duotone;
|
|
69
|
+
}
|
|
70
|
+
interface DrawingMLCustomDashSegment {
|
|
71
|
+
dash: number;
|
|
72
|
+
space: number;
|
|
73
|
+
}
|
|
74
|
+
interface ChartSeries {
|
|
75
|
+
name: string;
|
|
76
|
+
chartexFormatIdx?: number | null;
|
|
77
|
+
color: string | null;
|
|
78
|
+
fillPattern?: PatternFill | null;
|
|
79
|
+
invertIfNegative?: boolean | null;
|
|
80
|
+
automaticNegativeStyle?: boolean | null;
|
|
81
|
+
invertedFill?: SolidFill | GradientFill | PatternFill | null;
|
|
82
|
+
invertedFillHidden?: boolean | null;
|
|
83
|
+
invertedFillAuthored?: boolean | null;
|
|
84
|
+
invertedLineColor?: string | null;
|
|
85
|
+
invertedLineWidthEmu?: number | null;
|
|
86
|
+
invertedLineHidden?: boolean | null;
|
|
87
|
+
invertedLineAuthored?: boolean | null;
|
|
88
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
89
|
+
lineColor?: string | null;
|
|
90
|
+
lineWidthEmu?: number | null;
|
|
91
|
+
threeDShape?: 'box' | 'cylinder' | 'cone' | 'coneToMax' | 'pyramid' | 'pyramidToMax' | string | null;
|
|
92
|
+
values: (number | null)[];
|
|
93
|
+
sourceHidden?: boolean[] | null;
|
|
94
|
+
dataPointColors?: (string | null)[] | null;
|
|
95
|
+
explosion?: number | null;
|
|
96
|
+
dataLabelColors?: (string | null)[] | null;
|
|
97
|
+
labelColor?: string | null;
|
|
98
|
+
seriesType?: string | null;
|
|
99
|
+
lineGroupIndex?: number | null;
|
|
100
|
+
areaGroupIndex?: number | null;
|
|
101
|
+
barGroupIndex?: number | null;
|
|
102
|
+
barGroupDirection?: 'bar' | 'col' | string | null;
|
|
103
|
+
barGroupGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
104
|
+
barGroupGapWidth?: number | null;
|
|
105
|
+
barGroupOverlap?: number | null;
|
|
106
|
+
useSecondaryAxis?: boolean | null;
|
|
107
|
+
categories?: string[] | null;
|
|
108
|
+
bubbleXSourceIsString?: boolean | null;
|
|
109
|
+
showMarker?: boolean | null;
|
|
110
|
+
valFormatCode?: string | null;
|
|
111
|
+
catFormatCode?: string | null;
|
|
112
|
+
catFormatBuiltinId?: number | null;
|
|
113
|
+
catFormatCodes?: (string | null)[] | null;
|
|
114
|
+
markerSymbol?: string | null;
|
|
115
|
+
automaticMarkerSymbol?: string | null;
|
|
116
|
+
markerSize?: number | null;
|
|
117
|
+
markerFill?: string | null;
|
|
118
|
+
markerFillPaint?: Fill | null;
|
|
119
|
+
markerFillPaintAuthored?: boolean | null;
|
|
120
|
+
markerLine?: string | null;
|
|
121
|
+
markerLineWidthEmu?: number | null;
|
|
122
|
+
dataPointOverrides?: ChartDataPointOverride[] | null;
|
|
123
|
+
dataLabelOverrides?: ChartDataLabelOverride[] | null;
|
|
124
|
+
seriesDataLabels?: ChartSeriesDataLabels | null;
|
|
125
|
+
errBars?: ChartErrBars[] | null;
|
|
126
|
+
bubbleSizes?: (number | null)[] | null;
|
|
127
|
+
bubble3DGroupDefault?: boolean | null;
|
|
128
|
+
bubble3D?: boolean | null;
|
|
129
|
+
smooth?: boolean | null;
|
|
130
|
+
trendLines?: ChartTrendline[] | null;
|
|
131
|
+
lineHidden?: boolean | null;
|
|
132
|
+
}
|
|
133
|
+
interface ChartTrendline {
|
|
134
|
+
name?: string | null;
|
|
135
|
+
trendlineType: string;
|
|
136
|
+
order?: number | null;
|
|
137
|
+
period?: number | null;
|
|
138
|
+
forward?: number | null;
|
|
139
|
+
backward?: number | null;
|
|
140
|
+
intercept?: number | null;
|
|
141
|
+
dispRSqr?: boolean | null;
|
|
142
|
+
dispEq?: boolean | null;
|
|
143
|
+
labelManualLayout?: ChartManualLayout | null;
|
|
144
|
+
labelText?: string | null;
|
|
145
|
+
labelRichRuns?: ChartTextRun[] | null;
|
|
146
|
+
labelFormatCode?: string | null;
|
|
147
|
+
labelFormatSourceLinked?: boolean | null;
|
|
148
|
+
labelFontSizeHpt?: number | null;
|
|
149
|
+
labelFontBold?: boolean | null;
|
|
150
|
+
labelFontItalic?: boolean | null;
|
|
151
|
+
labelFontColor?: string | null;
|
|
152
|
+
labelFontPaintAuthored?: boolean | null;
|
|
153
|
+
labelFontHidden?: boolean | null;
|
|
154
|
+
labelFontFace?: string | null;
|
|
155
|
+
labelFontLanguage?: string | null;
|
|
156
|
+
labelFontBaseline?: number | null;
|
|
157
|
+
labelTextRotation?: number | null;
|
|
158
|
+
labelTextWrap?: string | null;
|
|
159
|
+
labelTextVerticalAnchor?: string | null;
|
|
160
|
+
labelTextVerticalMode?: string | null;
|
|
161
|
+
labelTextLInsEmu?: number | null;
|
|
162
|
+
labelTextTInsEmu?: number | null;
|
|
163
|
+
labelTextRInsEmu?: number | null;
|
|
164
|
+
labelTextBInsEmu?: number | null;
|
|
165
|
+
labelTextBodyAuthored?: boolean | null;
|
|
166
|
+
labelBox?: ChartLabelBox | null;
|
|
167
|
+
labelTextAlign?: string | null;
|
|
168
|
+
lineColor?: string | null;
|
|
169
|
+
lineWidthEmu?: number | null;
|
|
170
|
+
lineDash?: string | null;
|
|
171
|
+
lineHidden?: boolean | null;
|
|
172
|
+
}
|
|
173
|
+
interface ChartDataPointOverride {
|
|
174
|
+
idx: number;
|
|
175
|
+
color?: string;
|
|
176
|
+
fillHidden?: boolean;
|
|
177
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
178
|
+
lineColor?: string;
|
|
179
|
+
lineWidthEmu?: number;
|
|
180
|
+
lineDash?: string;
|
|
181
|
+
lineHidden?: boolean;
|
|
182
|
+
markerSymbol?: string;
|
|
183
|
+
markerSize?: number;
|
|
184
|
+
markerFill?: string;
|
|
185
|
+
markerFillPaint?: Fill | null;
|
|
186
|
+
markerFillPaintAuthored?: boolean | null;
|
|
187
|
+
markerLine?: string;
|
|
188
|
+
markerLineWidthEmu?: number;
|
|
189
|
+
bubble3D?: boolean | null;
|
|
190
|
+
explosion?: number;
|
|
191
|
+
}
|
|
192
|
+
interface ChartDataLabelOverride {
|
|
193
|
+
idx: number;
|
|
194
|
+
text: string;
|
|
195
|
+
richRuns?: ChartTextRun[];
|
|
196
|
+
position?: string;
|
|
197
|
+
fontColor?: string;
|
|
198
|
+
fontPaintAuthored?: boolean;
|
|
199
|
+
fontHidden?: boolean;
|
|
200
|
+
fontSizeHpt?: number;
|
|
201
|
+
fontFace?: string;
|
|
202
|
+
fontBold?: boolean;
|
|
203
|
+
fontItalic?: boolean;
|
|
204
|
+
fontLanguage?: string;
|
|
205
|
+
fontBaseline?: number;
|
|
206
|
+
textRotation?: number;
|
|
207
|
+
textWrap?: string;
|
|
208
|
+
textVerticalAnchor?: string;
|
|
209
|
+
textVerticalMode?: string;
|
|
210
|
+
textLInsEmu?: number;
|
|
211
|
+
textTInsEmu?: number;
|
|
212
|
+
textRInsEmu?: number;
|
|
213
|
+
textBInsEmu?: number;
|
|
214
|
+
textBodyAuthored?: boolean;
|
|
215
|
+
textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
|
|
216
|
+
formatCode?: string;
|
|
217
|
+
separator?: string;
|
|
218
|
+
manualLayout?: ChartManualLayout;
|
|
219
|
+
labelBox?: ChartLabelBox;
|
|
220
|
+
showVal?: boolean;
|
|
221
|
+
showCatName?: boolean;
|
|
222
|
+
showSerName?: boolean;
|
|
223
|
+
showPercent?: boolean;
|
|
224
|
+
showBubbleSize?: boolean;
|
|
225
|
+
showLegendKey?: boolean;
|
|
226
|
+
deleted?: boolean;
|
|
227
|
+
}
|
|
228
|
+
interface ChartLabelBox {
|
|
229
|
+
fill?: string;
|
|
230
|
+
fillPaint?: SolidFill | GradientFill | PatternFill | null;
|
|
231
|
+
fillHidden?: boolean | null;
|
|
232
|
+
fillPaintAuthored?: boolean | null;
|
|
233
|
+
borderColor?: string;
|
|
234
|
+
borderFill?: SolidFill | GradientFill | PatternFill | null;
|
|
235
|
+
borderWidthEmu?: number;
|
|
236
|
+
borderHidden?: boolean | null;
|
|
237
|
+
borderPaintAuthored?: boolean | null;
|
|
238
|
+
borderDash?: string | null;
|
|
239
|
+
borderDashAuthored?: boolean | null;
|
|
240
|
+
borderCustomDash?: ChartLineDashSegment[] | null;
|
|
241
|
+
borderCap?: string | null;
|
|
242
|
+
borderJoin?: string | null;
|
|
243
|
+
borderCompound?: string | null;
|
|
244
|
+
}
|
|
245
|
+
interface ChartSeriesDataLabels {
|
|
246
|
+
deleted?: boolean | null;
|
|
247
|
+
showVal: boolean;
|
|
248
|
+
showCatName: boolean;
|
|
249
|
+
showSerName: boolean;
|
|
250
|
+
showPercent: boolean;
|
|
251
|
+
showBubbleSize?: boolean;
|
|
252
|
+
showLegendKey?: boolean;
|
|
253
|
+
position?: string;
|
|
254
|
+
fontColor?: string;
|
|
255
|
+
fontPaintAuthored?: boolean;
|
|
256
|
+
fontHidden?: boolean;
|
|
257
|
+
formatCode?: string;
|
|
258
|
+
separator?: string;
|
|
259
|
+
fontBold?: boolean;
|
|
260
|
+
fontItalic?: boolean;
|
|
261
|
+
fontLanguage?: string;
|
|
262
|
+
fontBaseline?: number;
|
|
263
|
+
fontSizeHpt?: number;
|
|
264
|
+
fontFace?: string;
|
|
265
|
+
textRotation?: number;
|
|
266
|
+
textWrap?: string;
|
|
267
|
+
textVerticalAnchor?: string;
|
|
268
|
+
textVerticalMode?: string;
|
|
269
|
+
textLInsEmu?: number;
|
|
270
|
+
textTInsEmu?: number;
|
|
271
|
+
textRInsEmu?: number;
|
|
272
|
+
textBInsEmu?: number;
|
|
273
|
+
textBodyAuthored?: boolean;
|
|
274
|
+
textAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string;
|
|
275
|
+
labelBox?: ChartLabelBox;
|
|
276
|
+
showLeaderLines?: boolean;
|
|
277
|
+
leaderLineColor?: string;
|
|
278
|
+
leaderLineWidthEmu?: number;
|
|
279
|
+
leaderLineHidden?: boolean;
|
|
280
|
+
leaderLineDash?: string;
|
|
281
|
+
}
|
|
282
|
+
interface ChartErrBars {
|
|
283
|
+
dir: string;
|
|
284
|
+
barType: string;
|
|
285
|
+
plus: (number | null)[];
|
|
286
|
+
minus: (number | null)[];
|
|
287
|
+
noEndCap: boolean;
|
|
288
|
+
color?: string;
|
|
289
|
+
lineWidthEmu?: number;
|
|
290
|
+
dash?: string;
|
|
291
|
+
hidden?: boolean;
|
|
292
|
+
}
|
|
293
|
+
type ChartType = 'line' | 'stackedLine' | 'stackedLinePct' | 'clusteredBar' | 'clusteredBarH' | 'stackedBar' | 'stackedBarH' | 'stackedBarPct' | 'stackedBarHPct' | 'area' | 'stackedArea' | 'stackedAreaPct' | 'pie' | 'doughnut' | 'scatter' | 'bubble' | 'radar' | 'waterfall' | 'stock' | 'surface' | 'surface3D' | 'boxWhisker' | 'sunburst' | 'treemap' | string;
|
|
294
|
+
type ChartPlotGroupKind = 'area' | 'area3D' | 'line' | 'line3D' | 'stock' | 'radar' | 'scatter' | 'pie' | 'pie3D' | 'doughnut' | 'bar' | 'bar3D' | 'ofPie' | 'surface' | 'surface3D' | 'bubble';
|
|
295
|
+
type ChartPlotGroupAxisSlot = 'primary' | 'secondary' | 'none' | 'unresolved';
|
|
296
|
+
interface ChartPlotGroup {
|
|
297
|
+
kind: ChartPlotGroupKind;
|
|
298
|
+
seriesStart: number;
|
|
299
|
+
seriesCount: number;
|
|
300
|
+
categoryAxis: ChartPlotGroupAxisSlot;
|
|
301
|
+
valueAxis: ChartPlotGroupAxisSlot;
|
|
302
|
+
seriesAxis: ChartPlotGroupAxisSlot;
|
|
303
|
+
axisIds?: string[] | null;
|
|
304
|
+
grouping?: string | null;
|
|
305
|
+
barDirection?: string | null;
|
|
306
|
+
scatterStyle?: string | null;
|
|
307
|
+
radarStyle?: string | null;
|
|
308
|
+
gapWidth?: number | null;
|
|
309
|
+
overlap?: number | null;
|
|
310
|
+
bubbleScale?: number | null;
|
|
311
|
+
bubbleSizeRepresents?: 'area' | 'w' | null;
|
|
312
|
+
showNegativeBubbles?: boolean | null;
|
|
313
|
+
}
|
|
314
|
+
type ChartLineDashSegment = DrawingMLCustomDashSegment;
|
|
315
|
+
interface ChartExElementStyle {
|
|
316
|
+
fontSizeHpt?: number | null;
|
|
317
|
+
fontBold?: boolean | null;
|
|
318
|
+
fontItalic?: boolean | null;
|
|
319
|
+
fontColor?: string | null;
|
|
320
|
+
fontPaintAuthored?: boolean | null;
|
|
321
|
+
fontHidden?: boolean | null;
|
|
322
|
+
fontFace?: string | null;
|
|
323
|
+
fontLanguage?: string | null;
|
|
324
|
+
fontBaseline?: number | null;
|
|
325
|
+
textRotation?: number | null;
|
|
326
|
+
textWrap?: string | null;
|
|
327
|
+
textVerticalAnchor?: string | null;
|
|
328
|
+
textVerticalMode?: string | null;
|
|
329
|
+
textLInsEmu?: number | null;
|
|
330
|
+
textTInsEmu?: number | null;
|
|
331
|
+
textRInsEmu?: number | null;
|
|
332
|
+
textBInsEmu?: number | null;
|
|
333
|
+
textBodyAuthored?: boolean | null;
|
|
334
|
+
fillPaints?: Array<Fill | null> | null;
|
|
335
|
+
fillColors?: Array<string | null> | null;
|
|
336
|
+
fillHidden?: boolean | null;
|
|
337
|
+
fillPaintAuthored?: boolean | null;
|
|
338
|
+
fillNoStyle?: boolean | null;
|
|
339
|
+
lineColors?: Array<string | null> | null;
|
|
340
|
+
linePaints?: Array<SolidFill | GradientFill | PatternFill | null> | null;
|
|
341
|
+
linePaintAuthored?: boolean | null;
|
|
342
|
+
lineWidthEmu?: number | null;
|
|
343
|
+
lineHidden?: boolean | null;
|
|
344
|
+
lineNoStyle?: boolean | null;
|
|
345
|
+
lineDash?: string | null;
|
|
346
|
+
lineDashAuthored?: boolean | null;
|
|
347
|
+
lineCustomDash?: ChartLineDashSegment[] | null;
|
|
348
|
+
lineCap?: string | null;
|
|
349
|
+
lineJoin?: string | null;
|
|
350
|
+
lineCompound?: string | null;
|
|
351
|
+
fillColorIndex?: number | null;
|
|
352
|
+
lineColorIndex?: number | null;
|
|
353
|
+
}
|
|
354
|
+
type ChartStyleRole = 'axisTitle' | 'categoryAxis' | 'chartArea' | 'dataLabel' | 'dataLabelCallout' | 'dataPoint' | 'dataPoint3D' | 'dataPointLine' | 'dataPointMarker' | 'dataPointWireframe' | 'dataTable' | 'downBar' | 'dropLine' | 'errorBar' | 'floor' | 'gridlineMajor' | 'gridlineMinor' | 'hiLoLine' | 'leaderLine' | 'legend' | 'plotArea' | 'plotArea3D' | 'seriesAxis' | 'seriesLine' | 'title' | 'trendline' | 'trendlineLabel' | 'upBar' | 'valueAxis' | 'wall';
|
|
355
|
+
interface ChartSurfaceBandFormat {
|
|
356
|
+
idx: number;
|
|
357
|
+
style?: ChartExElementStyle | null;
|
|
358
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
359
|
+
fillHidden?: boolean | null;
|
|
360
|
+
lineColor?: string | null;
|
|
361
|
+
lineWidthEmu?: number | null;
|
|
362
|
+
lineHidden?: boolean | null;
|
|
363
|
+
}
|
|
364
|
+
interface ChartDataTable {
|
|
365
|
+
showHorizontalBorder: boolean;
|
|
366
|
+
showVerticalBorder: boolean;
|
|
367
|
+
showOutline: boolean;
|
|
368
|
+
showKeys: boolean;
|
|
369
|
+
fontSizeHpt?: number | null;
|
|
370
|
+
fontFace?: string | null;
|
|
371
|
+
fontColor?: string | null;
|
|
372
|
+
fontBold?: boolean | null;
|
|
373
|
+
fontItalic?: boolean | null;
|
|
374
|
+
fillColor?: string | null;
|
|
375
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
376
|
+
fillHidden?: boolean | null;
|
|
377
|
+
fillPaintAuthored?: boolean | null;
|
|
378
|
+
lineColor?: string | null;
|
|
379
|
+
lineWidthEmu?: number | null;
|
|
380
|
+
lineDash?: string | null;
|
|
381
|
+
lineHidden?: boolean | null;
|
|
382
|
+
}
|
|
383
|
+
interface ChartModel {
|
|
384
|
+
chartType: ChartType;
|
|
385
|
+
title: string | null;
|
|
386
|
+
titleRichRuns?: ChartTextRun[] | null;
|
|
387
|
+
titlePresent?: boolean;
|
|
388
|
+
categories: string[];
|
|
389
|
+
categorySourceHidden?: boolean[] | null;
|
|
390
|
+
categoryLevels?: string[][] | null;
|
|
391
|
+
series: ChartSeries[];
|
|
392
|
+
plotGroups?: ChartPlotGroup[] | null;
|
|
393
|
+
chartTextBoxes?: ChartTextBox[] | null;
|
|
394
|
+
varyColors?: boolean | null;
|
|
395
|
+
showDataLabels: boolean;
|
|
396
|
+
valMin: number | null;
|
|
397
|
+
valMax: number | null;
|
|
398
|
+
catAxisTitle: string | null;
|
|
399
|
+
valAxisTitle: string | null;
|
|
400
|
+
catAxisHidden: boolean;
|
|
401
|
+
valAxisHidden: boolean;
|
|
402
|
+
catAxisLineHidden: boolean;
|
|
403
|
+
valAxisLineHidden: boolean;
|
|
404
|
+
plotAreaBg: string | null;
|
|
405
|
+
plotAreaFill?: Fill | null;
|
|
406
|
+
plotAreaFillHidden?: boolean | null;
|
|
407
|
+
plotAreaFillPaintAuthored?: boolean | null;
|
|
408
|
+
plotAreaFillAutomatic?: boolean | null;
|
|
409
|
+
plotAreaLineColor?: string | null;
|
|
410
|
+
plotAreaLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
411
|
+
plotAreaLineWidthEmu?: number | null;
|
|
412
|
+
plotAreaLineDash?: string | null;
|
|
413
|
+
plotAreaLineDashAuthored?: boolean | null;
|
|
414
|
+
plotAreaLineCustomDash?: ChartLineDashSegment[] | null;
|
|
415
|
+
plotAreaLineCap?: string | null;
|
|
416
|
+
plotAreaLineJoin?: string | null;
|
|
417
|
+
plotAreaLineCompound?: string | null;
|
|
418
|
+
plotAreaLineHidden?: boolean | null;
|
|
419
|
+
plotAreaLinePaintAuthored?: boolean | null;
|
|
420
|
+
chartBg: string | null;
|
|
421
|
+
chartFill?: Fill | null;
|
|
422
|
+
chartFillHidden?: boolean | null;
|
|
423
|
+
chartFillPaintAuthored?: boolean | null;
|
|
424
|
+
roundedCorners?: boolean | null;
|
|
425
|
+
plotVisibleOnly?: boolean | null;
|
|
426
|
+
showLegend: boolean;
|
|
427
|
+
dataTable?: ChartDataTable | null;
|
|
428
|
+
legendPos: 'r' | 'l' | 't' | 'b' | 'tr' | null;
|
|
429
|
+
legendOverlay?: boolean | null;
|
|
430
|
+
legendEntries?: ChartLegendEntryOverride[] | null;
|
|
431
|
+
catAxisCrossBetween: 'between' | 'midCat' | string;
|
|
432
|
+
valAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
433
|
+
catAxisMajorTickMark: 'cross' | 'out' | 'in' | 'none' | string;
|
|
434
|
+
valAxisMinorTickMark?: 'cross' | 'out' | 'in' | 'none' | string | null;
|
|
435
|
+
catAxisMinorTickMark?: 'cross' | 'out' | 'in' | 'none' | string | null;
|
|
436
|
+
titleFontSizeHpt: number | null;
|
|
437
|
+
titleFontColor: string | null;
|
|
438
|
+
titleFontFace: string | null;
|
|
439
|
+
catAxisFontSizeHpt: number | null;
|
|
440
|
+
valAxisFontSizeHpt: number | null;
|
|
441
|
+
catAxisFontColor?: string | null;
|
|
442
|
+
valAxisFontColor?: string | null;
|
|
443
|
+
dataLabelFontSizeHpt: number | null;
|
|
444
|
+
dataLabelFontBold?: boolean | null;
|
|
445
|
+
subtotalIndices: number[];
|
|
446
|
+
legendManualLayout?: LegendManualLayout | null;
|
|
447
|
+
valAxisFormatCode?: string | null;
|
|
448
|
+
valAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
449
|
+
catAxisDisplayUnits?: ChartDisplayUnits | null;
|
|
450
|
+
barGapWidth?: number | null;
|
|
451
|
+
barOverlap?: number | null;
|
|
452
|
+
dataLabelPosition?: string | null;
|
|
453
|
+
dataLabelFontColor?: string | null;
|
|
454
|
+
dataLabelFormatCode?: string | null;
|
|
455
|
+
titleFontBold?: boolean | null;
|
|
456
|
+
catAxisFontBold?: boolean | null;
|
|
457
|
+
catAxisFontItalic?: boolean | null;
|
|
458
|
+
valAxisFontBold?: boolean | null;
|
|
459
|
+
valAxisFontItalic?: boolean | null;
|
|
460
|
+
catAxisTitleFontSizeHpt?: number | null;
|
|
461
|
+
catAxisTitleFontBold?: boolean | null;
|
|
462
|
+
catAxisTitleFontItalic?: boolean | null;
|
|
463
|
+
catAxisTitleFontColor?: string | null;
|
|
464
|
+
catAxisTitleRotation?: number | null;
|
|
465
|
+
catAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
466
|
+
catAxisTitleManualLayout?: ChartManualLayout | null;
|
|
467
|
+
catAxisTitleTextVerticalInsetEmu?: number | null;
|
|
468
|
+
valAxisTitleFontSizeHpt?: number | null;
|
|
469
|
+
valAxisTitleFontBold?: boolean | null;
|
|
470
|
+
valAxisTitleFontItalic?: boolean | null;
|
|
471
|
+
valAxisTitleFontColor?: string | null;
|
|
472
|
+
valAxisTitleRotation?: number | null;
|
|
473
|
+
valAxisTitleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
474
|
+
valAxisTitleManualLayout?: ChartManualLayout | null;
|
|
475
|
+
valAxisTitleTextVerticalInsetEmu?: number | null;
|
|
476
|
+
catAxisFontFace?: string | null;
|
|
477
|
+
valAxisFontFace?: string | null;
|
|
478
|
+
catAxisTitleFontFace?: string | null;
|
|
479
|
+
valAxisTitleFontFace?: string | null;
|
|
480
|
+
dataLabelFontFace?: string | null;
|
|
481
|
+
legendFontFace?: string | null;
|
|
482
|
+
legendFontColor?: string | null;
|
|
483
|
+
legendFontSizeHpt?: number | null;
|
|
484
|
+
legendFontBold?: boolean | null;
|
|
485
|
+
legendFillColor?: string | null;
|
|
486
|
+
legendFill?: Fill | null;
|
|
487
|
+
legendFillHidden?: boolean | null;
|
|
488
|
+
legendFillPaintAuthored?: boolean | null;
|
|
489
|
+
legendLineColor?: string | null;
|
|
490
|
+
legendLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
491
|
+
legendLineWidthEmu?: number | null;
|
|
492
|
+
legendLineDash?: string | null;
|
|
493
|
+
legendLineDashAuthored?: boolean | null;
|
|
494
|
+
legendLineCustomDash?: ChartLineDashSegment[] | null;
|
|
495
|
+
legendLineCap?: string | null;
|
|
496
|
+
legendLineJoin?: string | null;
|
|
497
|
+
legendLineCompound?: string | null;
|
|
498
|
+
legendLineHidden?: boolean | null;
|
|
499
|
+
legendLinePaintAuthored?: boolean | null;
|
|
500
|
+
themeMajorFontLatin?: string | null;
|
|
501
|
+
themeMinorFontLatin?: string | null;
|
|
502
|
+
chartBorderColor?: string | null;
|
|
503
|
+
chartBorderLineFill?: SolidFill | GradientFill | PatternFill | null;
|
|
504
|
+
chartBorderWidthEmu?: number | null;
|
|
505
|
+
chartBorderDash?: string | null;
|
|
506
|
+
chartBorderDashAuthored?: boolean | null;
|
|
507
|
+
chartBorderCustomDash?: ChartLineDashSegment[] | null;
|
|
508
|
+
chartBorderCap?: string | null;
|
|
509
|
+
chartBorderJoin?: string | null;
|
|
510
|
+
chartBorderCompound?: string | null;
|
|
511
|
+
chartBorderHidden?: boolean | null;
|
|
512
|
+
chartBorderPaintAuthored?: boolean | null;
|
|
513
|
+
catAxisCrosses?: string | null;
|
|
514
|
+
catAxisCrossesAt?: number | null;
|
|
515
|
+
valAxisCrosses?: string | null;
|
|
516
|
+
valAxisCrossesAt?: number | null;
|
|
517
|
+
catAxisLineColor?: string | null;
|
|
518
|
+
catAxisLineWidthEmu?: number | null;
|
|
519
|
+
catAxisLineDash?: string | null;
|
|
520
|
+
catAxisLinePaintAuthored?: boolean | null;
|
|
521
|
+
valAxisLineColor?: string | null;
|
|
522
|
+
valAxisLineWidthEmu?: number | null;
|
|
523
|
+
valAxisLineDash?: string | null;
|
|
524
|
+
valAxisLinePaintAuthored?: boolean | null;
|
|
525
|
+
catAxisFormatCode?: string | null;
|
|
526
|
+
catAxisMin?: number | null;
|
|
527
|
+
catAxisMax?: number | null;
|
|
528
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
529
|
+
plotAreaManualLayout?: ChartManualLayout | null;
|
|
530
|
+
scatterStyle?: string | null;
|
|
531
|
+
bubbleScale?: number | null;
|
|
532
|
+
bubbleSizeRepresents?: 'area' | 'w' | null;
|
|
533
|
+
showNegativeBubbles?: boolean | null;
|
|
534
|
+
radarStyle?: string | null;
|
|
535
|
+
secondaryValAxis?: SecondaryValueAxis | null;
|
|
536
|
+
secondaryCatAxis?: SecondaryValueAxis | null;
|
|
537
|
+
date1904?: boolean;
|
|
538
|
+
holeSize?: number | null;
|
|
539
|
+
firstSliceAngle?: number | null;
|
|
540
|
+
dispBlanksAs?: string | null;
|
|
541
|
+
showDataLabelsOverMax?: boolean | null;
|
|
542
|
+
valAxisMajorGridlines?: boolean | null;
|
|
543
|
+
catAxisMajorGridlines?: boolean | null;
|
|
544
|
+
valAxisGridlineColor?: string | null;
|
|
545
|
+
valAxisGridlineWidthEmu?: number | null;
|
|
546
|
+
valAxisGridlineDash?: string | null;
|
|
547
|
+
catAxisGridlineColor?: string | null;
|
|
548
|
+
catAxisGridlineWidthEmu?: number | null;
|
|
549
|
+
catAxisGridlineDash?: string | null;
|
|
550
|
+
valAxisMinorGridlines?: boolean | null;
|
|
551
|
+
valAxisMinorGridlineColor?: string | null;
|
|
552
|
+
valAxisMinorGridlineWidthEmu?: number | null;
|
|
553
|
+
valAxisMinorGridlineDash?: string | null;
|
|
554
|
+
catAxisMinorGridlines?: boolean | null;
|
|
555
|
+
catAxisMinorGridlineColor?: string | null;
|
|
556
|
+
catAxisMinorGridlineWidthEmu?: number | null;
|
|
557
|
+
catAxisMinorGridlineDash?: string | null;
|
|
558
|
+
valAxisMajorUnit?: number | null;
|
|
559
|
+
valAxisMinorUnit?: number | null;
|
|
560
|
+
catAxisMajorUnit?: number | null;
|
|
561
|
+
catAxisMinorUnit?: number | null;
|
|
562
|
+
catAxisIsDate?: boolean | null;
|
|
563
|
+
catAxisBaseTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
564
|
+
catAxisMajorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
565
|
+
catAxisMinorTimeUnit?: 'days' | 'months' | 'years' | string | null;
|
|
566
|
+
catAxisNoMultiLevelLabels?: boolean | null;
|
|
567
|
+
valAxisLogBase?: number | null;
|
|
568
|
+
catAxisLogBase?: number | null;
|
|
569
|
+
valAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
570
|
+
catAxisOrientation?: 'minMax' | 'maxMin' | string | null;
|
|
571
|
+
catAxisTickLabelPos?: string | null;
|
|
572
|
+
catAxisTickLabelSkip?: number | null;
|
|
573
|
+
catAxisTickMarkSkip?: number | null;
|
|
574
|
+
catAxisLabelAlignment?: 'l' | 'ctr' | 'r' | string | null;
|
|
575
|
+
catAxisLabelOffsetPercent?: number | null;
|
|
576
|
+
valAxisTickLabelPos?: string | null;
|
|
577
|
+
catAxisLabelRotation?: number | null;
|
|
578
|
+
lineGroupDecorations?: ChartLineGroupDecorations[] | null;
|
|
579
|
+
areaGroupDecorations?: ChartAreaGroupDecorations[] | null;
|
|
580
|
+
barGroupDecorations?: ChartBarGroupDecorations[] | null;
|
|
581
|
+
stockDropLines?: ChartDecorationLineStyle | null;
|
|
582
|
+
stockHiLowLineStyle?: ChartDecorationLineStyle | null;
|
|
583
|
+
stockHiLowLines?: boolean | null;
|
|
584
|
+
stockHiLowLineColor?: string | null;
|
|
585
|
+
stockUpDownBars?: boolean | null;
|
|
586
|
+
stockUpDownBarStyle?: ChartStockUpDownBarStyle | null;
|
|
587
|
+
stockAutomaticStyle?: {
|
|
588
|
+
lineColor: string;
|
|
589
|
+
lineWidthEmu: number;
|
|
590
|
+
upFillColor: string;
|
|
591
|
+
downFillColor: string;
|
|
592
|
+
} | null;
|
|
593
|
+
surfaceWireframe?: boolean | null;
|
|
594
|
+
surfaceBandFormats?: ChartSurfaceBandFormat[] | null;
|
|
595
|
+
legacyChartStyle?: number | null;
|
|
596
|
+
themeAccentColors?: string[] | null;
|
|
597
|
+
ofPie?: ChartOfPie | null;
|
|
598
|
+
threeD?: ChartThreeD | null;
|
|
599
|
+
chartexBox?: ChartexBoxWhisker | null;
|
|
600
|
+
chartexSunburst?: ChartexSunburst | null;
|
|
601
|
+
chartexTreemap?: ChartexTreemap | null;
|
|
602
|
+
chartexRegionMap?: ChartexRegionMap | null;
|
|
603
|
+
chartexHistogramBinning?: ChartexHistogramBinning | null;
|
|
604
|
+
chartexAccents?: string[] | null;
|
|
605
|
+
chartexColorPalette?: Array<string | null> | null;
|
|
606
|
+
chartexColorStyleMethod?: string | null;
|
|
607
|
+
chartStyleRoles?: Partial<Record<ChartStyleRole, ChartExElementStyle>> | null;
|
|
608
|
+
chartStyleColorPalette?: Array<string | null> | null;
|
|
609
|
+
chartStyleColorMethod?: string | null;
|
|
610
|
+
chartStyleMarkerSizePt?: number | null;
|
|
611
|
+
chartStyleMarkerSymbol?: string | null;
|
|
612
|
+
chartexDataPointStyle?: ChartExElementStyle | null;
|
|
613
|
+
chartexDataPointLineStyle?: ChartExElementStyle | null;
|
|
614
|
+
chartexSeriesLineStyle?: ChartExElementStyle | null;
|
|
615
|
+
chartexDataPointMarkerStyle?: ChartExElementStyle | null;
|
|
616
|
+
chartexMarkerSizePt?: number | null;
|
|
617
|
+
chartexMarkerSymbol?: string | null;
|
|
618
|
+
chartexConnectorLines?: boolean | null;
|
|
619
|
+
}
|
|
620
|
+
interface ChartStockBarPaint {
|
|
621
|
+
fillColor?: string | null;
|
|
622
|
+
fill?: SolidFill | GradientFill | PatternFill | null;
|
|
623
|
+
fillPaintAuthored?: boolean | null;
|
|
624
|
+
fillHidden?: boolean | null;
|
|
625
|
+
lineColor?: string | null;
|
|
626
|
+
linePaintAuthored?: boolean | null;
|
|
627
|
+
lineWidthEmu?: number | null;
|
|
628
|
+
lineDash?: string | null;
|
|
629
|
+
lineCap?: string | null;
|
|
630
|
+
lineJoin?: string | null;
|
|
631
|
+
lineHidden?: boolean | null;
|
|
632
|
+
}
|
|
633
|
+
interface ChartStockUpDownBarStyle {
|
|
634
|
+
gapWidthPercent: number;
|
|
635
|
+
up: ChartStockBarPaint;
|
|
636
|
+
down: ChartStockBarPaint;
|
|
637
|
+
}
|
|
638
|
+
interface ChartDecorationLineStyle {
|
|
639
|
+
color?: string | null;
|
|
640
|
+
paintAuthored?: boolean | null;
|
|
641
|
+
widthEmu?: number | null;
|
|
642
|
+
dash?: string | null;
|
|
643
|
+
cap?: string | null;
|
|
644
|
+
join?: string | null;
|
|
645
|
+
hidden?: boolean | null;
|
|
646
|
+
}
|
|
647
|
+
interface ChartLineGroupDecorations {
|
|
648
|
+
groupIndex: number;
|
|
649
|
+
dropLines?: ChartDecorationLineStyle | null;
|
|
650
|
+
hiLowLines?: ChartDecorationLineStyle | null;
|
|
651
|
+
upDownBars?: ChartStockUpDownBarStyle | null;
|
|
652
|
+
}
|
|
653
|
+
interface ChartAreaGroupDecorations {
|
|
654
|
+
groupIndex: number;
|
|
655
|
+
dropLines?: ChartDecorationLineStyle | null;
|
|
656
|
+
}
|
|
657
|
+
interface ChartBarGroupDecorations {
|
|
658
|
+
groupIndex: number;
|
|
659
|
+
seriesLines?: ChartDecorationLineStyle[] | null;
|
|
660
|
+
}
|
|
661
|
+
interface ChartOfPie {
|
|
662
|
+
type: 'pie' | 'bar';
|
|
663
|
+
splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
|
|
664
|
+
splitTypeAuthored?: boolean | null;
|
|
665
|
+
splitPos?: number | null;
|
|
666
|
+
splitPosAuthored?: boolean | null;
|
|
667
|
+
customSplitIndices?: number[] | null;
|
|
668
|
+
secondPieSizePercent: number;
|
|
669
|
+
gapWidthPercent: number;
|
|
670
|
+
seriesLines: boolean;
|
|
671
|
+
}
|
|
672
|
+
interface ChartThreeDSurface {
|
|
673
|
+
style?: ChartExElementStyle | null;
|
|
674
|
+
fillColor?: string | null;
|
|
675
|
+
fillHidden?: boolean | null;
|
|
676
|
+
lineColor?: string | null;
|
|
677
|
+
lineWidthEmu?: number | null;
|
|
678
|
+
lineDash?: string | null;
|
|
679
|
+
lineHidden?: boolean | null;
|
|
680
|
+
thicknessPercent?: number | null;
|
|
681
|
+
pictureOptions?: ChartThreeDPictureOptions | null;
|
|
682
|
+
}
|
|
683
|
+
interface ChartThreeDPictureOptions {
|
|
684
|
+
applyToFront?: boolean | null;
|
|
685
|
+
applyToSides?: boolean | null;
|
|
686
|
+
applyToEnd?: boolean | null;
|
|
687
|
+
pictureFormat?: 'stretch' | 'stack' | 'stackScale' | string | null;
|
|
688
|
+
pictureFormatAuthored?: boolean | null;
|
|
689
|
+
pictureStackUnit?: number | null;
|
|
690
|
+
pictureStackUnitAuthored?: boolean | null;
|
|
691
|
+
}
|
|
692
|
+
interface ChartThreeD {
|
|
693
|
+
view3DPresent?: boolean | null;
|
|
694
|
+
rotationX?: number | null;
|
|
695
|
+
rotationXAuthored?: boolean | null;
|
|
696
|
+
rotationY?: number | null;
|
|
697
|
+
rotationYAuthored?: boolean | null;
|
|
698
|
+
heightPercent?: number | null;
|
|
699
|
+
heightPercentAuthored?: boolean | null;
|
|
700
|
+
depthPercent?: number | null;
|
|
701
|
+
depthPercentAuthored?: boolean | null;
|
|
702
|
+
perspective?: number | null;
|
|
703
|
+
perspectiveAuthored?: boolean | null;
|
|
704
|
+
rightAngleAxes?: boolean | null;
|
|
705
|
+
rightAngleAxesAuthored?: boolean | null;
|
|
706
|
+
gapDepthPercent?: number | null;
|
|
707
|
+
gapDepthPercentAuthored?: boolean | null;
|
|
708
|
+
shape?: string | null;
|
|
709
|
+
barGrouping?: 'standard' | 'clustered' | 'stacked' | 'percentStacked' | string | null;
|
|
710
|
+
seriesAxis?: ChartThreeDSeriesAxis | null;
|
|
711
|
+
floor?: ChartThreeDSurface | null;
|
|
712
|
+
sideWall?: ChartThreeDSurface | null;
|
|
713
|
+
backWall?: ChartThreeDSurface | null;
|
|
714
|
+
}
|
|
715
|
+
interface ChartThreeDSeriesAxis {
|
|
716
|
+
title?: string | null;
|
|
717
|
+
hidden: boolean;
|
|
718
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
719
|
+
tickLabelPos?: string | null;
|
|
720
|
+
tickLabelSkip?: number | null;
|
|
721
|
+
tickMarkSkip?: number | null;
|
|
722
|
+
majorTickMark: string;
|
|
723
|
+
minorTickMark?: string | null;
|
|
724
|
+
fontColor?: string | null;
|
|
725
|
+
fontSizeHpt?: number | null;
|
|
726
|
+
fontBold?: boolean | null;
|
|
727
|
+
fontItalic?: boolean | null;
|
|
728
|
+
fontFace?: string | null;
|
|
729
|
+
lineColor?: string | null;
|
|
730
|
+
lineWidthEmu?: number | null;
|
|
731
|
+
lineDash?: string | null;
|
|
732
|
+
linePaintAuthored?: boolean | null;
|
|
733
|
+
lineHidden: boolean;
|
|
734
|
+
titleFontSizeHpt?: number | null;
|
|
735
|
+
titleFontBold?: boolean | null;
|
|
736
|
+
titleFontItalic?: boolean | null;
|
|
737
|
+
titleFontColor?: string | null;
|
|
738
|
+
titleFontFace?: string | null;
|
|
739
|
+
titleRotation?: number | null;
|
|
740
|
+
titleVerticalMode?: ChartModel['catAxisTitleVerticalMode'];
|
|
741
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
742
|
+
}
|
|
743
|
+
interface ChartTextRun {
|
|
744
|
+
text: string;
|
|
745
|
+
fontSizeHpt?: number | null;
|
|
746
|
+
bold?: boolean | null;
|
|
747
|
+
italic?: boolean | null;
|
|
748
|
+
color?: string | null;
|
|
749
|
+
colorPaintAuthored?: boolean | null;
|
|
750
|
+
colorHidden?: boolean | null;
|
|
751
|
+
fontFace?: string | null;
|
|
752
|
+
language?: string | null;
|
|
753
|
+
baseline?: number | null;
|
|
754
|
+
paragraphAlign?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
|
|
755
|
+
}
|
|
756
|
+
interface ChartTextParagraph {
|
|
757
|
+
runs: ChartTextRun[];
|
|
758
|
+
align?: 'l' | 'ctr' | 'r' | 'just' | 'dist' | string | null;
|
|
759
|
+
}
|
|
760
|
+
interface ChartTextBox {
|
|
761
|
+
x: number;
|
|
762
|
+
y: number;
|
|
763
|
+
w: number;
|
|
764
|
+
h: number;
|
|
765
|
+
paragraphs: ChartTextParagraph[];
|
|
766
|
+
verticalAnchor?: 't' | 'ctr' | 'b' | 'just' | 'dist' | string | null;
|
|
767
|
+
wrap?: 'none' | 'square' | string | null;
|
|
768
|
+
lIns?: number;
|
|
769
|
+
tIns?: number;
|
|
770
|
+
rIns?: number;
|
|
771
|
+
bIns?: number;
|
|
772
|
+
}
|
|
773
|
+
interface ChartexBoxSeries {
|
|
774
|
+
name: string;
|
|
775
|
+
chartexFormatIdx?: number | null;
|
|
776
|
+
color?: string | null;
|
|
777
|
+
lineColor?: string | null;
|
|
778
|
+
lineWidthEmu?: number | null;
|
|
779
|
+
chartexStyle?: ChartExElementStyle | null;
|
|
780
|
+
valuesByCategory: number[][];
|
|
781
|
+
meanMarker: boolean;
|
|
782
|
+
meanLine: boolean;
|
|
783
|
+
showOutliers: boolean;
|
|
784
|
+
showNonoutliers: boolean;
|
|
785
|
+
quartileMethod: string;
|
|
786
|
+
}
|
|
787
|
+
interface ChartexBoxWhisker {
|
|
788
|
+
oneBoxPerSeries?: boolean;
|
|
789
|
+
categories: string[];
|
|
790
|
+
series: ChartexBoxSeries[];
|
|
791
|
+
}
|
|
792
|
+
interface ChartexSunburstRow {
|
|
793
|
+
path: string[];
|
|
794
|
+
size: number;
|
|
795
|
+
}
|
|
796
|
+
interface ChartexSunburst {
|
|
797
|
+
rows: ChartexSunburstRow[];
|
|
798
|
+
}
|
|
799
|
+
interface ChartexTreemap {
|
|
800
|
+
rows: ChartexSunburstRow[];
|
|
801
|
+
parentLabelLayout?: string | null;
|
|
802
|
+
}
|
|
803
|
+
interface ChartexRegionMapRow {
|
|
804
|
+
label: string;
|
|
805
|
+
entityId?: string | null;
|
|
806
|
+
value?: number | null;
|
|
807
|
+
}
|
|
808
|
+
interface ChartexGeography {
|
|
809
|
+
projectionType?: 'mercator' | 'miller' | 'robinson' | 'albers' | string | null;
|
|
810
|
+
viewedRegionType?: string | null;
|
|
811
|
+
cultureLanguage?: string | null;
|
|
812
|
+
cultureRegion?: string | null;
|
|
813
|
+
attribution?: string | null;
|
|
814
|
+
cacheProvider?: string | null;
|
|
815
|
+
cachePresent: boolean;
|
|
816
|
+
}
|
|
817
|
+
interface ChartexValueColorStop {
|
|
818
|
+
kind: 'extremeValue' | 'number' | 'percent' | string;
|
|
819
|
+
value?: number | null;
|
|
820
|
+
}
|
|
821
|
+
interface ChartexRegionMapColors {
|
|
822
|
+
stopCount?: 2 | 3 | null;
|
|
823
|
+
minColor?: string | null;
|
|
824
|
+
midColor?: string | null;
|
|
825
|
+
maxColor?: string | null;
|
|
826
|
+
minPosition?: ChartexValueColorStop | null;
|
|
827
|
+
midPosition?: ChartexValueColorStop | null;
|
|
828
|
+
maxPosition?: ChartexValueColorStop | null;
|
|
829
|
+
}
|
|
830
|
+
interface ChartexRegionMap {
|
|
831
|
+
rows: ChartexRegionMapRow[];
|
|
832
|
+
regionLabelLayout?: 'none' | 'bestFitOnly' | 'showAll' | null;
|
|
833
|
+
geography?: ChartexGeography | null;
|
|
834
|
+
colors?: ChartexRegionMapColors | null;
|
|
835
|
+
}
|
|
836
|
+
interface ChartexHistogramBinning {
|
|
837
|
+
binSize?: number | null;
|
|
838
|
+
binCount?: number | null;
|
|
839
|
+
intervalClosed?: 'l' | 'r' | null;
|
|
840
|
+
underflow?: number | null;
|
|
841
|
+
overflow?: number | null;
|
|
842
|
+
}
|
|
843
|
+
interface SecondaryValueAxis {
|
|
844
|
+
min: number | null;
|
|
845
|
+
max: number | null;
|
|
846
|
+
title: string | null;
|
|
847
|
+
hidden: boolean;
|
|
848
|
+
formatCode?: string | null;
|
|
849
|
+
displayUnits?: ChartDisplayUnits | null;
|
|
850
|
+
fontColor?: string | null;
|
|
851
|
+
fontSizeHpt?: number | null;
|
|
852
|
+
fontItalic?: boolean | null;
|
|
853
|
+
fontBold?: boolean | null;
|
|
854
|
+
fontFace?: string | null;
|
|
855
|
+
lineColor?: string | null;
|
|
856
|
+
lineWidthEmu?: number | null;
|
|
857
|
+
lineDash?: string | null;
|
|
858
|
+
lineHidden: boolean;
|
|
859
|
+
majorTickMark: string;
|
|
860
|
+
minorTickMark?: string | null;
|
|
861
|
+
minorGridlines?: boolean;
|
|
862
|
+
minorGridlineColor?: string | null;
|
|
863
|
+
minorGridlineWidthEmu?: number | null;
|
|
864
|
+
minorGridlineDash?: string | null;
|
|
865
|
+
majorGridlines?: boolean;
|
|
866
|
+
majorGridlineColor?: string | null;
|
|
867
|
+
majorGridlineWidthEmu?: number | null;
|
|
868
|
+
majorGridlineDash?: string | null;
|
|
869
|
+
majorUnit?: number | null;
|
|
870
|
+
minorUnit?: number | null;
|
|
871
|
+
logBase?: number | null;
|
|
872
|
+
orientation?: 'minMax' | 'maxMin' | string | null;
|
|
873
|
+
tickLabelPos?: string | null;
|
|
874
|
+
labelAlignment?: 'l' | 'ctr' | 'r' | null;
|
|
875
|
+
labelOffsetPercent?: number | null;
|
|
876
|
+
tickLabelSkip?: number | null;
|
|
877
|
+
tickMarkSkip?: number | null;
|
|
878
|
+
crosses?: string | null;
|
|
879
|
+
crossesAt?: number | null;
|
|
880
|
+
titleFontSizeHpt?: number | null;
|
|
881
|
+
titleFontBold?: boolean | null;
|
|
882
|
+
titleFontItalic?: boolean | null;
|
|
883
|
+
titleFontColor?: string | null;
|
|
884
|
+
titleFontFace?: string | null;
|
|
885
|
+
titleRotation?: number | null;
|
|
886
|
+
titleVerticalMode?: 'horz' | 'vert' | 'vert270' | 'wordArtVert' | 'eaVert' | 'mongolianVert' | 'wordArtVertRtl' | null;
|
|
887
|
+
titleManualLayout?: ChartManualLayout | null;
|
|
888
|
+
}
|
|
889
|
+
interface ChartDisplayUnits {
|
|
890
|
+
divisor: number;
|
|
891
|
+
builtInUnit?: string | null;
|
|
892
|
+
label?: ChartDisplayUnitsLabel | null;
|
|
893
|
+
}
|
|
894
|
+
interface ChartDisplayUnitsLabel {
|
|
895
|
+
text?: string | null;
|
|
896
|
+
manualLayout?: ChartManualLayout | null;
|
|
897
|
+
fontSizeHpt?: number | null;
|
|
898
|
+
fontBold?: boolean | null;
|
|
899
|
+
fontItalic?: boolean | null;
|
|
900
|
+
fontColor?: string | null;
|
|
901
|
+
fontFace?: string | null;
|
|
902
|
+
rotation?: number | null;
|
|
903
|
+
boxStyle?: ChartLabelBox | null;
|
|
904
|
+
}
|
|
905
|
+
interface ChartManualLayout {
|
|
906
|
+
xMode?: string;
|
|
907
|
+
yMode?: string;
|
|
908
|
+
wMode?: string;
|
|
909
|
+
hMode?: string;
|
|
910
|
+
layoutTarget?: string;
|
|
911
|
+
x: number;
|
|
912
|
+
y: number;
|
|
913
|
+
w?: number;
|
|
914
|
+
h?: number;
|
|
915
|
+
}
|
|
916
|
+
interface LegendManualLayout {
|
|
917
|
+
xMode?: string;
|
|
918
|
+
yMode?: string;
|
|
919
|
+
wMode?: string;
|
|
920
|
+
hMode?: string;
|
|
921
|
+
x: number;
|
|
922
|
+
y: number;
|
|
923
|
+
w?: number;
|
|
924
|
+
h?: number;
|
|
925
|
+
}
|
|
926
|
+
interface ChartLegendEntryOverride {
|
|
927
|
+
idx: number;
|
|
928
|
+
deleted?: boolean | null;
|
|
929
|
+
fontFace?: string | null;
|
|
930
|
+
fontColor?: string | null;
|
|
931
|
+
fontSizeHpt?: number | null;
|
|
932
|
+
fontBold?: boolean | null;
|
|
933
|
+
}
|
|
934
|
+
interface ChartRect {
|
|
935
|
+
x: number;
|
|
936
|
+
y: number;
|
|
937
|
+
w: number;
|
|
938
|
+
h: number;
|
|
939
|
+
}
|
|
940
|
+
//#endregion
|
|
941
|
+
//#region dist/.types-work/chart-ex-contract-utZi_dg3.d.ts
|
|
942
|
+
interface ChartExRenderer {
|
|
943
|
+
render(ctx: CanvasRenderingContext2D, chart: ChartModel, rect: ChartRect, ptToPx: number, shapeRotationDeg?: number): boolean;
|
|
944
|
+
}
|
|
945
|
+
//#endregion
|
|
946
|
+
//#region dist/.types-work/chart-ex.d.ts
|
|
947
|
+
declare const chartEx: ChartExRenderer;
|
|
948
|
+
//#endregion
|
|
949
|
+
export { type ChartExRenderer, chartEx };
|