@univerjs-pro/engine-chart 1.0.0-alpha.2 → 1.0.0-alpha.4
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 +9 -3
- package/lib/cjs/facade.js +1 -0
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -0
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -0
- package/lib/index.js +1 -1
- package/lib/types/chart-builder/chart-builder-adapter.d.ts +13 -0
- package/lib/types/chart-builder/chart-builder.d.ts +35 -0
- package/lib/types/chart-builder/chart-description.d.ts +3 -0
- package/lib/types/chart-builder/chart-types.d.ts +459 -0
- package/lib/types/chart-builder/configuration/aggregation.d.ts +7 -0
- package/lib/types/chart-builder/configuration/appearance.d.ts +8 -0
- package/lib/types/chart-builder/configuration/area.d.ts +3 -0
- package/lib/types/chart-builder/configuration/axes.d.ts +26 -0
- package/lib/types/chart-builder/configuration/axis-pointer.d.ts +9 -0
- package/lib/types/chart-builder/configuration/bar.d.ts +3 -0
- package/lib/types/chart-builder/configuration/cartesian-series.d.ts +25 -0
- package/lib/types/chart-builder/configuration/chart-config-operation.d.ts +40 -0
- package/lib/types/chart-builder/configuration/combination.d.ts +10 -0
- package/lib/types/chart-builder/configuration/funnel.d.ts +4 -0
- package/lib/types/chart-builder/configuration/heatmap.d.ts +9 -0
- package/lib/types/chart-builder/configuration/index.d.ts +29 -0
- package/lib/types/chart-builder/configuration/invalid-value.d.ts +3 -0
- package/lib/types/chart-builder/configuration/legend.d.ts +3 -0
- package/lib/types/chart-builder/configuration/line.d.ts +3 -0
- package/lib/types/chart-builder/configuration/mapping.d.ts +4 -0
- package/lib/types/chart-builder/configuration/mark-lines.d.ts +3 -0
- package/lib/types/chart-builder/configuration/palette.d.ts +4 -0
- package/lib/types/chart-builder/configuration/pareto.d.ts +7 -0
- package/lib/types/chart-builder/configuration/pie.d.ts +23 -0
- package/lib/types/chart-builder/configuration/point-mapping.d.ts +5 -0
- package/lib/types/chart-builder/configuration/radar.d.ts +5 -0
- package/lib/types/chart-builder/configuration/relation.d.ts +14 -0
- package/lib/types/chart-builder/configuration/subtitle.d.ts +3 -0
- package/lib/types/chart-builder/configuration/theme.d.ts +4 -0
- package/lib/types/chart-builder/configuration/title.d.ts +3 -0
- package/lib/types/chart-builder/configuration/trendline.d.ts +12 -0
- package/lib/types/chart-builder/configuration/waterfall.d.ts +12 -0
- package/lib/types/chart-builder/configuration/word-cloud.d.ts +7 -0
- package/lib/types/chart-builder/conversion/chart-config-converter.d.ts +24 -0
- package/lib/types/chart-builder/conversion/chart-model-fields.d.ts +115 -0
- package/lib/types/chart-builder/conversion/chart-type-converter.d.ts +6 -0
- package/lib/types/chart-builder/conversion/describe-chart-model.d.ts +11 -0
- package/lib/types/chart-builder/conversion/resolve-chart-model-data.d.ts +5 -0
- package/lib/types/chart-builder/detached-chart-builder-adapter.d.ts +19 -0
- package/lib/types/chart-builder/index.d.ts +12 -0
- package/lib/types/chart-builder/internal/deep-freeze.d.ts +1 -0
- package/lib/types/chart-builder/internal/host-builder-runtime.d.ts +5 -0
- package/lib/types/chart-builder/internal/merge-description.d.ts +2 -0
- package/lib/types/enum.d.ts +36 -0
- package/lib/types/facade/builders/f-area-chart-builder.d.ts +33 -0
- package/lib/types/facade/builders/f-bubble-chart-builder.d.ts +33 -0
- package/lib/types/facade/builders/f-combination-chart-builder.d.ts +66 -0
- package/lib/types/facade/builders/f-funnel-chart-builder.d.ts +61 -0
- package/lib/types/facade/builders/f-heatmap-chart-builder.d.ts +124 -0
- package/lib/types/facade/builders/f-line-chart-builder.d.ts +36 -0
- package/lib/types/facade/builders/f-pareto-chart-builder.d.ts +112 -0
- package/lib/types/facade/builders/f-pie-chart-builder.d.ts +324 -0
- package/lib/types/facade/builders/f-radar-chart-builder.d.ts +62 -0
- package/lib/types/facade/builders/f-relation-chart-builder.d.ts +184 -0
- package/lib/types/facade/builders/f-scatter-chart-builder.d.ts +33 -0
- package/lib/types/facade/builders/f-waterfall-chart-builder.d.ts +226 -0
- package/lib/types/facade/builders/f-word-cloud-chart-builder.d.ts +91 -0
- package/lib/types/facade/builders/index.d.ts +13 -0
- package/lib/types/facade/chart-builder-registry.d.ts +8 -0
- package/lib/types/facade/chart-builder-type-map.d.ts +30 -0
- package/lib/types/facade/chart-host-builder-types.d.ts +21 -0
- package/lib/types/facade/f-axis-chart-builder.d.ts +245 -0
- package/lib/types/facade/f-cartesian-chart-builder.d.ts +146 -0
- package/lib/types/facade/f-chart-base.d.ts +82 -0
- package/lib/types/facade/f-chart-builder-base.d.ts +331 -0
- package/lib/types/facade/f-charts-base.d.ts +74 -0
- package/lib/types/facade/f-enum.d.ts +75 -0
- package/lib/types/facade/index.d.ts +16 -0
- package/lib/types/facade/internal/chart-builder-facade-context.d.ts +12 -0
- package/lib/types/facade/internal/constants.d.ts +2 -0
- package/lib/types/facade/internal/host-builder-composer.d.ts +16 -0
- package/lib/types/facade/register-builders.d.ts +1 -0
- package/lib/types/index.d.ts +74 -15
- package/lib/types/models/chart-data-operators/build-chart-data.d.ts +6 -1
- package/lib/types/models/chart-data-operators/cartesian-point-data.d.ts +43 -0
- package/lib/types/models/chart-data-operators/operators.d.ts +6 -6
- package/lib/types/models/chart-element-axis-id.d.ts +9 -0
- package/lib/types/models/chart-element-edit-overlay/chart-element-edit-overlay.d.ts +38 -0
- package/lib/types/models/chart-element-edit-overlay/index.d.ts +4 -0
- package/lib/types/models/chart-element-edit-overlay/palette.d.ts +2 -0
- package/lib/types/models/chart-element-edit-overlay/resolve-chart-element-hit-layout.d.ts +16 -0
- package/lib/types/models/chart-element-edit-overlay/types.d.ts +20 -0
- package/lib/types/models/chart-host-style.d.ts +40 -0
- package/lib/types/models/chart-model.d.ts +181 -49
- package/lib/types/models/chart-render-input-resolver.d.ts +13 -0
- package/lib/types/models/chart-render-model-manager.service.d.ts +26 -0
- package/lib/types/models/chart-resource-serializer.d.ts +10 -0
- package/lib/types/models/chart-semantic-axes.d.ts +4 -0
- package/lib/types/models/constants/build-in-theme/index.d.ts +12 -12
- package/lib/types/models/constants/build-in-theme/univer-gradient1.d.ts +1 -1
- package/lib/types/models/constants/build-in-theme/univer-gradient2.d.ts +1 -1
- package/lib/types/models/constants/build-in-theme/univer-gradient3.d.ts +1 -1
- package/lib/types/models/constants/build-in-theme/univer-gradient4.d.ts +1 -1
- package/lib/types/models/constants/build-in-theme/univer-gradient5.d.ts +1 -1
- package/lib/types/models/constants/build-in-theme/univer-gradient6.d.ts +1 -1
- package/lib/types/models/constants/build-in-theme/univer1.d.ts +1 -1
- package/lib/types/models/constants/build-in-theme/univer2.d.ts +1 -1
- package/lib/types/models/constants/build-in-theme/univer3.d.ts +1 -1
- package/lib/types/models/constants/build-in-theme/univer4.d.ts +1 -1
- package/lib/types/models/constants/build-in-theme/univer5.d.ts +1 -1
- package/lib/types/models/constants/build-in-theme/univer6.d.ts +1 -1
- package/lib/types/models/constants/default-chart-style.d.ts +21 -1
- package/lib/types/models/constants/default.d.ts +3 -1
- package/lib/types/models/echart-render-model.d.ts +37 -2
- package/lib/types/models/image-chart-host.d.ts +2 -1
- package/lib/types/models/mode-converter/converters/waterfall-layout.d.ts +34 -0
- package/lib/types/models/mode-converter/mode-converter.d.ts +0 -2
- package/lib/types/models/mode-converter/render-spec-operators/legend-size.d.ts +2 -1
- package/lib/types/models/mode-converter/render-spec-operators/mark-line.operator.d.ts +3 -0
- package/lib/types/models/mode-converter/render-spec-operators/tools.d.ts +2 -3
- package/lib/types/models/series-style/series-style-resolver.d.ts +9 -0
- package/lib/types/source/chart-data-item.d.ts +3 -0
- package/lib/types/source/source-util.d.ts +1 -1
- package/lib/types/source/static-chart-source.d.ts +11 -3
- package/lib/types/types.d.ts +162 -39
- package/lib/types/util.d.ts +2 -4
- package/lib/types/utils/compact.d.ts +4 -0
- package/lib/types/wordcloud-chart/adapters/echarts/chart-view.d.ts +2 -2
- package/lib/types/wordcloud-chart/adapters/echarts/install.d.ts +2 -2
- package/lib/types/wordcloud-chart/adapters/echarts/layout-register.d.ts +2 -2
- package/lib/types/wordcloud-chart/adapters/echarts/series-model.d.ts +2 -2
- package/lib/types/wordcloud-chart/core/collision/box-shape-engine.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/collision/engine.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/collision/footprint.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/collision/glyph-shape-engine.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/collision/grid.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/layout/candidates.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/layout/layout-config.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/layout/layout.d.ts +1 -2
- package/lib/types/wordcloud-chart/core/layout/phases.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/layout/place-word.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/layout/placement-stats.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/layout/placement-types.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/layout/placement-word-manager.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/layout/runtime-mask.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/layout/word-prepare.d.ts +1 -1
- package/lib/types/wordcloud-chart/core/shape/shape-mask.d.ts +1 -1
- package/lib/types/wordcloud-chart/index.d.ts +3 -2
- package/lib/types/wordcloud-chart/types.d.ts +2 -0
- package/lib/umd/facade.js +1 -0
- package/lib/umd/index.js +1 -1
- package/package.json +15 -5
- package/lib/types/wordcloud-chart/core/collision/types.d.ts +0 -1
- package/lib/types/wordcloud-chart/core/layout/types.d.ts +0 -1
- package/lib/types/wordcloud-chart/core/shape/types.d.ts +0 -1
- package/lib/types/wordcloud-chart/core/text/types.d.ts +0 -1
- package/lib/types/wordcloud-chart/core/types/option.d.ts +0 -1
- package/lib/types/wordcloud-chart/core/types/shape.d.ts +0 -1
- package/lib/types/wordcloud-chart/core/types/word.d.ts +0 -1
- package/lib/types/wordcloud-chart/echarts.d.ts +0 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Injector } from '@univerjs/core';
|
|
2
2
|
import type { Observable, Subscription } from 'rxjs';
|
|
3
3
|
import type { ChartStyle, IChartConfig, IChartContext, IChartDataAggregation, IChartDataSource, IChartRuntimeContext, IChartSnapshot } from '../types';
|
|
4
|
+
import type { IChartLocaleTexts } from './chart-locale-texts';
|
|
4
5
|
import { Disposable } from '@univerjs/core';
|
|
5
6
|
import { BehaviorSubject } from 'rxjs';
|
|
6
7
|
import { ChartTypeBits } from '../enum';
|
|
7
|
-
import type { IChartLocaleTexts } from './chart-locale-texts';
|
|
8
8
|
import { ChartThemeService } from './chart-theme.service';
|
|
9
9
|
export interface IChartModelInit {
|
|
10
10
|
chartType?: ChartTypeBits;
|
|
@@ -115,6 +115,7 @@ export declare class ChartModel extends Disposable {
|
|
|
115
115
|
minShrinkRatio?: number | undefined;
|
|
116
116
|
} | undefined;
|
|
117
117
|
} | undefined;
|
|
118
|
+
layoutInset?: number | undefined;
|
|
118
119
|
getRenderColor?: {} | undefined;
|
|
119
120
|
isDarkMode?: boolean | undefined;
|
|
120
121
|
hasSecondaryAxis?: boolean | undefined;
|
|
@@ -143,22 +144,25 @@ export declare class ChartModel extends Disposable {
|
|
|
143
144
|
width?: number | undefined;
|
|
144
145
|
height?: number | undefined;
|
|
145
146
|
theme?: string | undefined;
|
|
147
|
+
palette?: string[] | undefined;
|
|
146
148
|
invalidValueType?: import("..").InvalidValueType | undefined;
|
|
147
149
|
gradientFill?: boolean | undefined;
|
|
148
150
|
backgroundColor?: import("@univerjs/core").Nullable<string>;
|
|
149
151
|
titleFontSize?: number | undefined;
|
|
150
152
|
fontSize?: number | undefined;
|
|
151
153
|
fontColor?: string | undefined;
|
|
154
|
+
fontFamily?: string | undefined;
|
|
152
155
|
borderColor?: import("@univerjs/core").Nullable<string>;
|
|
156
|
+
borderWidth?: number | undefined;
|
|
153
157
|
titles?: {
|
|
154
158
|
title?: {
|
|
155
159
|
bold?: boolean | undefined;
|
|
156
160
|
italic?: boolean | undefined;
|
|
157
161
|
fontSize?: number | undefined;
|
|
162
|
+
color?: string | undefined;
|
|
158
163
|
rotate?: number | undefined;
|
|
159
164
|
align?: import("..").LabelAlignEnum | undefined;
|
|
160
165
|
content?: string | undefined;
|
|
161
|
-
color?: string | undefined;
|
|
162
166
|
family?: string | undefined;
|
|
163
167
|
strikethrough?: boolean | undefined;
|
|
164
168
|
underline?: boolean | undefined;
|
|
@@ -171,10 +175,10 @@ export declare class ChartModel extends Disposable {
|
|
|
171
175
|
bold?: boolean | undefined;
|
|
172
176
|
italic?: boolean | undefined;
|
|
173
177
|
fontSize?: number | undefined;
|
|
178
|
+
color?: string | undefined;
|
|
174
179
|
rotate?: number | undefined;
|
|
175
180
|
align?: import("..").LabelAlignEnum | undefined;
|
|
176
181
|
content?: string | undefined;
|
|
177
|
-
color?: string | undefined;
|
|
178
182
|
family?: string | undefined;
|
|
179
183
|
strikethrough?: boolean | undefined;
|
|
180
184
|
underline?: boolean | undefined;
|
|
@@ -187,10 +191,10 @@ export declare class ChartModel extends Disposable {
|
|
|
187
191
|
bold?: boolean | undefined;
|
|
188
192
|
italic?: boolean | undefined;
|
|
189
193
|
fontSize?: number | undefined;
|
|
194
|
+
color?: string | undefined;
|
|
190
195
|
rotate?: number | undefined;
|
|
191
196
|
align?: import("..").LabelAlignEnum | undefined;
|
|
192
197
|
content?: string | undefined;
|
|
193
|
-
color?: string | undefined;
|
|
194
198
|
family?: string | undefined;
|
|
195
199
|
strikethrough?: boolean | undefined;
|
|
196
200
|
underline?: boolean | undefined;
|
|
@@ -203,10 +207,10 @@ export declare class ChartModel extends Disposable {
|
|
|
203
207
|
bold?: boolean | undefined;
|
|
204
208
|
italic?: boolean | undefined;
|
|
205
209
|
fontSize?: number | undefined;
|
|
210
|
+
color?: string | undefined;
|
|
206
211
|
rotate?: number | undefined;
|
|
207
212
|
align?: import("..").LabelAlignEnum | undefined;
|
|
208
213
|
content?: string | undefined;
|
|
209
|
-
color?: string | undefined;
|
|
210
214
|
family?: string | undefined;
|
|
211
215
|
strikethrough?: boolean | undefined;
|
|
212
216
|
underline?: boolean | undefined;
|
|
@@ -219,10 +223,10 @@ export declare class ChartModel extends Disposable {
|
|
|
219
223
|
bold?: boolean | undefined;
|
|
220
224
|
italic?: boolean | undefined;
|
|
221
225
|
fontSize?: number | undefined;
|
|
226
|
+
color?: string | undefined;
|
|
222
227
|
rotate?: number | undefined;
|
|
223
228
|
align?: import("..").LabelAlignEnum | undefined;
|
|
224
229
|
content?: string | undefined;
|
|
225
|
-
color?: string | undefined;
|
|
226
230
|
family?: string | undefined;
|
|
227
231
|
strikethrough?: boolean | undefined;
|
|
228
232
|
underline?: boolean | undefined;
|
|
@@ -239,8 +243,8 @@ export declare class ChartModel extends Disposable {
|
|
|
239
243
|
bold?: boolean | undefined;
|
|
240
244
|
italic?: boolean | undefined;
|
|
241
245
|
fontSize?: number | undefined;
|
|
242
|
-
rotate?: number | undefined;
|
|
243
246
|
color?: string | undefined;
|
|
247
|
+
rotate?: number | undefined;
|
|
244
248
|
family?: string | undefined;
|
|
245
249
|
strikethrough?: boolean | undefined;
|
|
246
250
|
underline?: boolean | undefined;
|
|
@@ -250,6 +254,7 @@ export declare class ChartModel extends Disposable {
|
|
|
250
254
|
showMinLabel?: boolean | undefined;
|
|
251
255
|
} | undefined;
|
|
252
256
|
selectMode?: import("..").SelectModeEnum | undefined;
|
|
257
|
+
wrap?: boolean | undefined;
|
|
253
258
|
} | undefined;
|
|
254
259
|
xAxis?: {
|
|
255
260
|
lineVisible?: boolean | undefined;
|
|
@@ -257,9 +262,9 @@ export declare class ChartModel extends Disposable {
|
|
|
257
262
|
bold?: boolean | undefined;
|
|
258
263
|
italic?: boolean | undefined;
|
|
259
264
|
fontSize?: number | undefined;
|
|
265
|
+
color?: string | undefined;
|
|
260
266
|
rotate?: number | undefined;
|
|
261
267
|
visible?: boolean | undefined;
|
|
262
|
-
color?: string | undefined;
|
|
263
268
|
family?: string | undefined;
|
|
264
269
|
strikethrough?: boolean | undefined;
|
|
265
270
|
underline?: boolean | undefined;
|
|
@@ -296,9 +301,9 @@ export declare class ChartModel extends Disposable {
|
|
|
296
301
|
bold?: boolean | undefined;
|
|
297
302
|
italic?: boolean | undefined;
|
|
298
303
|
fontSize?: number | undefined;
|
|
304
|
+
color?: string | undefined;
|
|
299
305
|
rotate?: number | undefined;
|
|
300
306
|
visible?: boolean | undefined;
|
|
301
|
-
color?: string | undefined;
|
|
302
307
|
family?: string | undefined;
|
|
303
308
|
strikethrough?: boolean | undefined;
|
|
304
309
|
underline?: boolean | undefined;
|
|
@@ -330,14 +335,15 @@ export declare class ChartModel extends Disposable {
|
|
|
330
335
|
format?: string | undefined;
|
|
331
336
|
} | undefined;
|
|
332
337
|
rightYAxis?: {
|
|
338
|
+
min?: number | null | undefined;
|
|
333
339
|
lineVisible?: boolean | undefined;
|
|
334
340
|
label?: {
|
|
335
341
|
bold?: boolean | undefined;
|
|
336
342
|
italic?: boolean | undefined;
|
|
337
343
|
fontSize?: number | undefined;
|
|
344
|
+
color?: string | undefined;
|
|
338
345
|
rotate?: number | undefined;
|
|
339
346
|
visible?: boolean | undefined;
|
|
340
|
-
color?: string | undefined;
|
|
341
347
|
family?: string | undefined;
|
|
342
348
|
strikethrough?: boolean | undefined;
|
|
343
349
|
underline?: boolean | undefined;
|
|
@@ -363,12 +369,16 @@ export declare class ChartModel extends Disposable {
|
|
|
363
369
|
length?: number | undefined;
|
|
364
370
|
position?: import("..").PieLabelPosition | undefined;
|
|
365
371
|
} | undefined;
|
|
366
|
-
min?: number | null | undefined;
|
|
367
372
|
max?: number | null | undefined;
|
|
368
373
|
format?: string | undefined;
|
|
369
374
|
} | undefined;
|
|
370
375
|
allSeriesStyle?: {
|
|
371
376
|
color?: import("@univerjs/core").Nullable<string>;
|
|
377
|
+
point?: {
|
|
378
|
+
shape?: import("..").LinePointShape | undefined;
|
|
379
|
+
size?: number | undefined;
|
|
380
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
381
|
+
} | undefined;
|
|
372
382
|
label?: {
|
|
373
383
|
contentType?: number | undefined;
|
|
374
384
|
position?: import("..").SeriesLabelPosition | undefined;
|
|
@@ -395,11 +405,7 @@ export declare class ChartModel extends Disposable {
|
|
|
395
405
|
dashType?: import("..").ChartBorderDashType | undefined;
|
|
396
406
|
} | undefined;
|
|
397
407
|
rightYAxis?: boolean | undefined;
|
|
398
|
-
|
|
399
|
-
shape?: import("..").LinePointShape | undefined;
|
|
400
|
-
size?: number | undefined;
|
|
401
|
-
color?: import("@univerjs/core").Nullable<string>;
|
|
402
|
-
} | undefined;
|
|
408
|
+
fillOpacity?: number | undefined;
|
|
403
409
|
waterfall?: {
|
|
404
410
|
positive?: {
|
|
405
411
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
@@ -727,18 +733,25 @@ export declare class ChartModel extends Disposable {
|
|
|
727
733
|
} | undefined;
|
|
728
734
|
} | undefined;
|
|
729
735
|
} | undefined;
|
|
736
|
+
bar?: {
|
|
737
|
+
is3D?: boolean | undefined;
|
|
738
|
+
shape?: import("..").BarShape | undefined;
|
|
739
|
+
rotX?: number | undefined;
|
|
740
|
+
rotY?: number | undefined;
|
|
741
|
+
} | undefined;
|
|
730
742
|
trendlines?: import("..").ITrendLine[] | undefined;
|
|
731
743
|
pie?: {
|
|
732
744
|
doughnutHole?: import("@univerjs/core").Nullable<number>;
|
|
745
|
+
explosion?: number | undefined;
|
|
733
746
|
labelStyle?: {
|
|
734
747
|
contentType?: number | undefined;
|
|
735
748
|
position?: import("..").PieLabelPosition | undefined;
|
|
736
749
|
bold?: boolean | undefined;
|
|
737
750
|
italic?: boolean | undefined;
|
|
738
751
|
fontSize?: number | undefined;
|
|
752
|
+
color?: string | undefined;
|
|
739
753
|
rotate?: number | undefined;
|
|
740
754
|
visible?: boolean | undefined;
|
|
741
|
-
color?: string | undefined;
|
|
742
755
|
family?: string | undefined;
|
|
743
756
|
strikethrough?: boolean | undefined;
|
|
744
757
|
underline?: boolean | undefined;
|
|
@@ -749,6 +762,7 @@ export declare class ChartModel extends Disposable {
|
|
|
749
762
|
} | undefined;
|
|
750
763
|
borderColor?: string | undefined;
|
|
751
764
|
hasPaddingAngle?: boolean | undefined;
|
|
765
|
+
is3D?: boolean | undefined;
|
|
752
766
|
isHalfPie?: boolean | undefined;
|
|
753
767
|
rosePie?: boolean | undefined;
|
|
754
768
|
showLabelLine?: boolean | undefined;
|
|
@@ -789,7 +803,15 @@ export declare class ChartModel extends Disposable {
|
|
|
789
803
|
waterfall?: {
|
|
790
804
|
stackType?: import("..").WaterfallStackTypeEnum | undefined;
|
|
791
805
|
useSubtotal?: boolean | undefined;
|
|
806
|
+
pointRoles?: import("../types").IWaterfallPointRole[] | undefined;
|
|
807
|
+
connector?: boolean | {
|
|
808
|
+
color?: string | undefined;
|
|
809
|
+
width?: number | undefined;
|
|
810
|
+
opacity?: number | undefined;
|
|
811
|
+
dashType?: import("..").ChartBorderDashType | undefined;
|
|
812
|
+
} | undefined;
|
|
792
813
|
} | undefined;
|
|
814
|
+
markLines?: import("../types").IChartMarkLine[] | undefined;
|
|
793
815
|
tooltip?: {
|
|
794
816
|
indicatorLabelColor?: string | undefined;
|
|
795
817
|
indicatorLineType?: import("..").ChartBorderDashType | undefined;
|
|
@@ -1165,11 +1187,32 @@ export declare class ChartModel extends Disposable {
|
|
|
1165
1187
|
} | undefined;
|
|
1166
1188
|
} | undefined;
|
|
1167
1189
|
} | undefined;
|
|
1190
|
+
includeZeroValues?: boolean | undefined;
|
|
1168
1191
|
} | undefined;
|
|
1169
1192
|
heatmap?: {
|
|
1170
1193
|
visualMapType?: "continuous" | "piecewise" | undefined;
|
|
1171
1194
|
max?: number | undefined;
|
|
1172
1195
|
min?: number | undefined;
|
|
1196
|
+
unit?: string | undefined;
|
|
1197
|
+
label?: {
|
|
1198
|
+
contentType?: number | undefined;
|
|
1199
|
+
position?: import("..").SeriesLabelPosition | undefined;
|
|
1200
|
+
visible?: boolean | undefined;
|
|
1201
|
+
content?: string | undefined;
|
|
1202
|
+
fontSize?: number | undefined;
|
|
1203
|
+
color?: string | undefined;
|
|
1204
|
+
align?: import("..").LabelAlignEnum | undefined;
|
|
1205
|
+
bold?: boolean | undefined;
|
|
1206
|
+
family?: string | undefined;
|
|
1207
|
+
strikethrough?: boolean | undefined;
|
|
1208
|
+
italic?: boolean | undefined;
|
|
1209
|
+
underline?: boolean | undefined;
|
|
1210
|
+
padAngle?: boolean | undefined;
|
|
1211
|
+
axisTitleAlign?: import("..").AxisAlignEnum | undefined;
|
|
1212
|
+
showMaxLabel?: boolean | undefined;
|
|
1213
|
+
showMinLabel?: boolean | undefined;
|
|
1214
|
+
rotate?: number | undefined;
|
|
1215
|
+
} | undefined;
|
|
1173
1216
|
} | undefined;
|
|
1174
1217
|
}>;
|
|
1175
1218
|
readonly style$: Observable<{
|
|
@@ -1250,6 +1293,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1250
1293
|
minShrinkRatio?: number | undefined;
|
|
1251
1294
|
} | undefined;
|
|
1252
1295
|
} | undefined;
|
|
1296
|
+
layoutInset?: number | undefined;
|
|
1253
1297
|
getRenderColor?: {} | undefined;
|
|
1254
1298
|
isDarkMode?: boolean | undefined;
|
|
1255
1299
|
hasSecondaryAxis?: boolean | undefined;
|
|
@@ -1278,22 +1322,25 @@ export declare class ChartModel extends Disposable {
|
|
|
1278
1322
|
width?: number | undefined;
|
|
1279
1323
|
height?: number | undefined;
|
|
1280
1324
|
theme?: string | undefined;
|
|
1325
|
+
palette?: string[] | undefined;
|
|
1281
1326
|
invalidValueType?: import("..").InvalidValueType | undefined;
|
|
1282
1327
|
gradientFill?: boolean | undefined;
|
|
1283
1328
|
backgroundColor?: import("@univerjs/core").Nullable<string>;
|
|
1284
1329
|
titleFontSize?: number | undefined;
|
|
1285
1330
|
fontSize?: number | undefined;
|
|
1286
1331
|
fontColor?: string | undefined;
|
|
1332
|
+
fontFamily?: string | undefined;
|
|
1287
1333
|
borderColor?: import("@univerjs/core").Nullable<string>;
|
|
1334
|
+
borderWidth?: number | undefined;
|
|
1288
1335
|
titles?: {
|
|
1289
1336
|
title?: {
|
|
1290
1337
|
bold?: boolean | undefined;
|
|
1291
1338
|
italic?: boolean | undefined;
|
|
1292
1339
|
fontSize?: number | undefined;
|
|
1340
|
+
color?: string | undefined;
|
|
1293
1341
|
rotate?: number | undefined;
|
|
1294
1342
|
align?: import("..").LabelAlignEnum | undefined;
|
|
1295
1343
|
content?: string | undefined;
|
|
1296
|
-
color?: string | undefined;
|
|
1297
1344
|
family?: string | undefined;
|
|
1298
1345
|
strikethrough?: boolean | undefined;
|
|
1299
1346
|
underline?: boolean | undefined;
|
|
@@ -1306,10 +1353,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1306
1353
|
bold?: boolean | undefined;
|
|
1307
1354
|
italic?: boolean | undefined;
|
|
1308
1355
|
fontSize?: number | undefined;
|
|
1356
|
+
color?: string | undefined;
|
|
1309
1357
|
rotate?: number | undefined;
|
|
1310
1358
|
align?: import("..").LabelAlignEnum | undefined;
|
|
1311
1359
|
content?: string | undefined;
|
|
1312
|
-
color?: string | undefined;
|
|
1313
1360
|
family?: string | undefined;
|
|
1314
1361
|
strikethrough?: boolean | undefined;
|
|
1315
1362
|
underline?: boolean | undefined;
|
|
@@ -1322,10 +1369,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1322
1369
|
bold?: boolean | undefined;
|
|
1323
1370
|
italic?: boolean | undefined;
|
|
1324
1371
|
fontSize?: number | undefined;
|
|
1372
|
+
color?: string | undefined;
|
|
1325
1373
|
rotate?: number | undefined;
|
|
1326
1374
|
align?: import("..").LabelAlignEnum | undefined;
|
|
1327
1375
|
content?: string | undefined;
|
|
1328
|
-
color?: string | undefined;
|
|
1329
1376
|
family?: string | undefined;
|
|
1330
1377
|
strikethrough?: boolean | undefined;
|
|
1331
1378
|
underline?: boolean | undefined;
|
|
@@ -1338,10 +1385,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1338
1385
|
bold?: boolean | undefined;
|
|
1339
1386
|
italic?: boolean | undefined;
|
|
1340
1387
|
fontSize?: number | undefined;
|
|
1388
|
+
color?: string | undefined;
|
|
1341
1389
|
rotate?: number | undefined;
|
|
1342
1390
|
align?: import("..").LabelAlignEnum | undefined;
|
|
1343
1391
|
content?: string | undefined;
|
|
1344
|
-
color?: string | undefined;
|
|
1345
1392
|
family?: string | undefined;
|
|
1346
1393
|
strikethrough?: boolean | undefined;
|
|
1347
1394
|
underline?: boolean | undefined;
|
|
@@ -1354,10 +1401,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1354
1401
|
bold?: boolean | undefined;
|
|
1355
1402
|
italic?: boolean | undefined;
|
|
1356
1403
|
fontSize?: number | undefined;
|
|
1404
|
+
color?: string | undefined;
|
|
1357
1405
|
rotate?: number | undefined;
|
|
1358
1406
|
align?: import("..").LabelAlignEnum | undefined;
|
|
1359
1407
|
content?: string | undefined;
|
|
1360
|
-
color?: string | undefined;
|
|
1361
1408
|
family?: string | undefined;
|
|
1362
1409
|
strikethrough?: boolean | undefined;
|
|
1363
1410
|
underline?: boolean | undefined;
|
|
@@ -1374,8 +1421,8 @@ export declare class ChartModel extends Disposable {
|
|
|
1374
1421
|
bold?: boolean | undefined;
|
|
1375
1422
|
italic?: boolean | undefined;
|
|
1376
1423
|
fontSize?: number | undefined;
|
|
1377
|
-
rotate?: number | undefined;
|
|
1378
1424
|
color?: string | undefined;
|
|
1425
|
+
rotate?: number | undefined;
|
|
1379
1426
|
family?: string | undefined;
|
|
1380
1427
|
strikethrough?: boolean | undefined;
|
|
1381
1428
|
underline?: boolean | undefined;
|
|
@@ -1385,6 +1432,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1385
1432
|
showMinLabel?: boolean | undefined;
|
|
1386
1433
|
} | undefined;
|
|
1387
1434
|
selectMode?: import("..").SelectModeEnum | undefined;
|
|
1435
|
+
wrap?: boolean | undefined;
|
|
1388
1436
|
} | undefined;
|
|
1389
1437
|
xAxis?: {
|
|
1390
1438
|
lineVisible?: boolean | undefined;
|
|
@@ -1392,9 +1440,9 @@ export declare class ChartModel extends Disposable {
|
|
|
1392
1440
|
bold?: boolean | undefined;
|
|
1393
1441
|
italic?: boolean | undefined;
|
|
1394
1442
|
fontSize?: number | undefined;
|
|
1443
|
+
color?: string | undefined;
|
|
1395
1444
|
rotate?: number | undefined;
|
|
1396
1445
|
visible?: boolean | undefined;
|
|
1397
|
-
color?: string | undefined;
|
|
1398
1446
|
family?: string | undefined;
|
|
1399
1447
|
strikethrough?: boolean | undefined;
|
|
1400
1448
|
underline?: boolean | undefined;
|
|
@@ -1431,9 +1479,9 @@ export declare class ChartModel extends Disposable {
|
|
|
1431
1479
|
bold?: boolean | undefined;
|
|
1432
1480
|
italic?: boolean | undefined;
|
|
1433
1481
|
fontSize?: number | undefined;
|
|
1482
|
+
color?: string | undefined;
|
|
1434
1483
|
rotate?: number | undefined;
|
|
1435
1484
|
visible?: boolean | undefined;
|
|
1436
|
-
color?: string | undefined;
|
|
1437
1485
|
family?: string | undefined;
|
|
1438
1486
|
strikethrough?: boolean | undefined;
|
|
1439
1487
|
underline?: boolean | undefined;
|
|
@@ -1465,14 +1513,15 @@ export declare class ChartModel extends Disposable {
|
|
|
1465
1513
|
format?: string | undefined;
|
|
1466
1514
|
} | undefined;
|
|
1467
1515
|
rightYAxis?: {
|
|
1516
|
+
min?: number | null | undefined;
|
|
1468
1517
|
lineVisible?: boolean | undefined;
|
|
1469
1518
|
label?: {
|
|
1470
1519
|
bold?: boolean | undefined;
|
|
1471
1520
|
italic?: boolean | undefined;
|
|
1472
1521
|
fontSize?: number | undefined;
|
|
1522
|
+
color?: string | undefined;
|
|
1473
1523
|
rotate?: number | undefined;
|
|
1474
1524
|
visible?: boolean | undefined;
|
|
1475
|
-
color?: string | undefined;
|
|
1476
1525
|
family?: string | undefined;
|
|
1477
1526
|
strikethrough?: boolean | undefined;
|
|
1478
1527
|
underline?: boolean | undefined;
|
|
@@ -1498,12 +1547,16 @@ export declare class ChartModel extends Disposable {
|
|
|
1498
1547
|
length?: number | undefined;
|
|
1499
1548
|
position?: import("..").PieLabelPosition | undefined;
|
|
1500
1549
|
} | undefined;
|
|
1501
|
-
min?: number | null | undefined;
|
|
1502
1550
|
max?: number | null | undefined;
|
|
1503
1551
|
format?: string | undefined;
|
|
1504
1552
|
} | undefined;
|
|
1505
1553
|
allSeriesStyle?: {
|
|
1506
1554
|
color?: import("@univerjs/core").Nullable<string>;
|
|
1555
|
+
point?: {
|
|
1556
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1557
|
+
size?: number | undefined;
|
|
1558
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1559
|
+
} | undefined;
|
|
1507
1560
|
label?: {
|
|
1508
1561
|
contentType?: number | undefined;
|
|
1509
1562
|
position?: import("..").SeriesLabelPosition | undefined;
|
|
@@ -1530,11 +1583,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1530
1583
|
dashType?: import("..").ChartBorderDashType | undefined;
|
|
1531
1584
|
} | undefined;
|
|
1532
1585
|
rightYAxis?: boolean | undefined;
|
|
1533
|
-
|
|
1534
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1535
|
-
size?: number | undefined;
|
|
1536
|
-
color?: import("@univerjs/core").Nullable<string>;
|
|
1537
|
-
} | undefined;
|
|
1586
|
+
fillOpacity?: number | undefined;
|
|
1538
1587
|
waterfall?: {
|
|
1539
1588
|
positive?: {
|
|
1540
1589
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
@@ -1862,18 +1911,25 @@ export declare class ChartModel extends Disposable {
|
|
|
1862
1911
|
} | undefined;
|
|
1863
1912
|
} | undefined;
|
|
1864
1913
|
} | undefined;
|
|
1914
|
+
bar?: {
|
|
1915
|
+
is3D?: boolean | undefined;
|
|
1916
|
+
shape?: import("..").BarShape | undefined;
|
|
1917
|
+
rotX?: number | undefined;
|
|
1918
|
+
rotY?: number | undefined;
|
|
1919
|
+
} | undefined;
|
|
1865
1920
|
trendlines?: import("..").ITrendLine[] | undefined;
|
|
1866
1921
|
pie?: {
|
|
1867
1922
|
doughnutHole?: import("@univerjs/core").Nullable<number>;
|
|
1923
|
+
explosion?: number | undefined;
|
|
1868
1924
|
labelStyle?: {
|
|
1869
1925
|
contentType?: number | undefined;
|
|
1870
1926
|
position?: import("..").PieLabelPosition | undefined;
|
|
1871
1927
|
bold?: boolean | undefined;
|
|
1872
1928
|
italic?: boolean | undefined;
|
|
1873
1929
|
fontSize?: number | undefined;
|
|
1930
|
+
color?: string | undefined;
|
|
1874
1931
|
rotate?: number | undefined;
|
|
1875
1932
|
visible?: boolean | undefined;
|
|
1876
|
-
color?: string | undefined;
|
|
1877
1933
|
family?: string | undefined;
|
|
1878
1934
|
strikethrough?: boolean | undefined;
|
|
1879
1935
|
underline?: boolean | undefined;
|
|
@@ -1884,6 +1940,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1884
1940
|
} | undefined;
|
|
1885
1941
|
borderColor?: string | undefined;
|
|
1886
1942
|
hasPaddingAngle?: boolean | undefined;
|
|
1943
|
+
is3D?: boolean | undefined;
|
|
1887
1944
|
isHalfPie?: boolean | undefined;
|
|
1888
1945
|
rosePie?: boolean | undefined;
|
|
1889
1946
|
showLabelLine?: boolean | undefined;
|
|
@@ -1924,7 +1981,15 @@ export declare class ChartModel extends Disposable {
|
|
|
1924
1981
|
waterfall?: {
|
|
1925
1982
|
stackType?: import("..").WaterfallStackTypeEnum | undefined;
|
|
1926
1983
|
useSubtotal?: boolean | undefined;
|
|
1984
|
+
pointRoles?: import("../types").IWaterfallPointRole[] | undefined;
|
|
1985
|
+
connector?: boolean | {
|
|
1986
|
+
color?: string | undefined;
|
|
1987
|
+
width?: number | undefined;
|
|
1988
|
+
opacity?: number | undefined;
|
|
1989
|
+
dashType?: import("..").ChartBorderDashType | undefined;
|
|
1990
|
+
} | undefined;
|
|
1927
1991
|
} | undefined;
|
|
1992
|
+
markLines?: import("../types").IChartMarkLine[] | undefined;
|
|
1928
1993
|
tooltip?: {
|
|
1929
1994
|
indicatorLabelColor?: string | undefined;
|
|
1930
1995
|
indicatorLineType?: import("..").ChartBorderDashType | undefined;
|
|
@@ -2300,11 +2365,32 @@ export declare class ChartModel extends Disposable {
|
|
|
2300
2365
|
} | undefined;
|
|
2301
2366
|
} | undefined;
|
|
2302
2367
|
} | undefined;
|
|
2368
|
+
includeZeroValues?: boolean | undefined;
|
|
2303
2369
|
} | undefined;
|
|
2304
2370
|
heatmap?: {
|
|
2305
2371
|
visualMapType?: "continuous" | "piecewise" | undefined;
|
|
2306
2372
|
max?: number | undefined;
|
|
2307
2373
|
min?: number | undefined;
|
|
2374
|
+
unit?: string | undefined;
|
|
2375
|
+
label?: {
|
|
2376
|
+
contentType?: number | undefined;
|
|
2377
|
+
position?: import("..").SeriesLabelPosition | undefined;
|
|
2378
|
+
visible?: boolean | undefined;
|
|
2379
|
+
content?: string | undefined;
|
|
2380
|
+
fontSize?: number | undefined;
|
|
2381
|
+
color?: string | undefined;
|
|
2382
|
+
align?: import("..").LabelAlignEnum | undefined;
|
|
2383
|
+
bold?: boolean | undefined;
|
|
2384
|
+
family?: string | undefined;
|
|
2385
|
+
strikethrough?: boolean | undefined;
|
|
2386
|
+
italic?: boolean | undefined;
|
|
2387
|
+
underline?: boolean | undefined;
|
|
2388
|
+
padAngle?: boolean | undefined;
|
|
2389
|
+
axisTitleAlign?: import("..").AxisAlignEnum | undefined;
|
|
2390
|
+
showMaxLabel?: boolean | undefined;
|
|
2391
|
+
showMinLabel?: boolean | undefined;
|
|
2392
|
+
rotate?: number | undefined;
|
|
2393
|
+
} | undefined;
|
|
2308
2394
|
} | undefined;
|
|
2309
2395
|
}>;
|
|
2310
2396
|
get style(): {
|
|
@@ -2385,6 +2471,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2385
2471
|
minShrinkRatio?: number | undefined;
|
|
2386
2472
|
} | undefined;
|
|
2387
2473
|
} | undefined;
|
|
2474
|
+
layoutInset?: number | undefined;
|
|
2388
2475
|
getRenderColor?: {} | undefined;
|
|
2389
2476
|
isDarkMode?: boolean | undefined;
|
|
2390
2477
|
hasSecondaryAxis?: boolean | undefined;
|
|
@@ -2413,22 +2500,25 @@ export declare class ChartModel extends Disposable {
|
|
|
2413
2500
|
width?: number | undefined;
|
|
2414
2501
|
height?: number | undefined;
|
|
2415
2502
|
theme?: string | undefined;
|
|
2503
|
+
palette?: string[] | undefined;
|
|
2416
2504
|
invalidValueType?: import("..").InvalidValueType | undefined;
|
|
2417
2505
|
gradientFill?: boolean | undefined;
|
|
2418
2506
|
backgroundColor?: import("@univerjs/core").Nullable<string>;
|
|
2419
2507
|
titleFontSize?: number | undefined;
|
|
2420
2508
|
fontSize?: number | undefined;
|
|
2421
2509
|
fontColor?: string | undefined;
|
|
2510
|
+
fontFamily?: string | undefined;
|
|
2422
2511
|
borderColor?: import("@univerjs/core").Nullable<string>;
|
|
2512
|
+
borderWidth?: number | undefined;
|
|
2423
2513
|
titles?: {
|
|
2424
2514
|
title?: {
|
|
2425
2515
|
bold?: boolean | undefined;
|
|
2426
2516
|
italic?: boolean | undefined;
|
|
2427
2517
|
fontSize?: number | undefined;
|
|
2518
|
+
color?: string | undefined;
|
|
2428
2519
|
rotate?: number | undefined;
|
|
2429
2520
|
align?: import("..").LabelAlignEnum | undefined;
|
|
2430
2521
|
content?: string | undefined;
|
|
2431
|
-
color?: string | undefined;
|
|
2432
2522
|
family?: string | undefined;
|
|
2433
2523
|
strikethrough?: boolean | undefined;
|
|
2434
2524
|
underline?: boolean | undefined;
|
|
@@ -2441,10 +2531,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2441
2531
|
bold?: boolean | undefined;
|
|
2442
2532
|
italic?: boolean | undefined;
|
|
2443
2533
|
fontSize?: number | undefined;
|
|
2534
|
+
color?: string | undefined;
|
|
2444
2535
|
rotate?: number | undefined;
|
|
2445
2536
|
align?: import("..").LabelAlignEnum | undefined;
|
|
2446
2537
|
content?: string | undefined;
|
|
2447
|
-
color?: string | undefined;
|
|
2448
2538
|
family?: string | undefined;
|
|
2449
2539
|
strikethrough?: boolean | undefined;
|
|
2450
2540
|
underline?: boolean | undefined;
|
|
@@ -2457,10 +2547,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2457
2547
|
bold?: boolean | undefined;
|
|
2458
2548
|
italic?: boolean | undefined;
|
|
2459
2549
|
fontSize?: number | undefined;
|
|
2550
|
+
color?: string | undefined;
|
|
2460
2551
|
rotate?: number | undefined;
|
|
2461
2552
|
align?: import("..").LabelAlignEnum | undefined;
|
|
2462
2553
|
content?: string | undefined;
|
|
2463
|
-
color?: string | undefined;
|
|
2464
2554
|
family?: string | undefined;
|
|
2465
2555
|
strikethrough?: boolean | undefined;
|
|
2466
2556
|
underline?: boolean | undefined;
|
|
@@ -2473,10 +2563,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2473
2563
|
bold?: boolean | undefined;
|
|
2474
2564
|
italic?: boolean | undefined;
|
|
2475
2565
|
fontSize?: number | undefined;
|
|
2566
|
+
color?: string | undefined;
|
|
2476
2567
|
rotate?: number | undefined;
|
|
2477
2568
|
align?: import("..").LabelAlignEnum | undefined;
|
|
2478
2569
|
content?: string | undefined;
|
|
2479
|
-
color?: string | undefined;
|
|
2480
2570
|
family?: string | undefined;
|
|
2481
2571
|
strikethrough?: boolean | undefined;
|
|
2482
2572
|
underline?: boolean | undefined;
|
|
@@ -2489,10 +2579,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2489
2579
|
bold?: boolean | undefined;
|
|
2490
2580
|
italic?: boolean | undefined;
|
|
2491
2581
|
fontSize?: number | undefined;
|
|
2582
|
+
color?: string | undefined;
|
|
2492
2583
|
rotate?: number | undefined;
|
|
2493
2584
|
align?: import("..").LabelAlignEnum | undefined;
|
|
2494
2585
|
content?: string | undefined;
|
|
2495
|
-
color?: string | undefined;
|
|
2496
2586
|
family?: string | undefined;
|
|
2497
2587
|
strikethrough?: boolean | undefined;
|
|
2498
2588
|
underline?: boolean | undefined;
|
|
@@ -2509,8 +2599,8 @@ export declare class ChartModel extends Disposable {
|
|
|
2509
2599
|
bold?: boolean | undefined;
|
|
2510
2600
|
italic?: boolean | undefined;
|
|
2511
2601
|
fontSize?: number | undefined;
|
|
2512
|
-
rotate?: number | undefined;
|
|
2513
2602
|
color?: string | undefined;
|
|
2603
|
+
rotate?: number | undefined;
|
|
2514
2604
|
family?: string | undefined;
|
|
2515
2605
|
strikethrough?: boolean | undefined;
|
|
2516
2606
|
underline?: boolean | undefined;
|
|
@@ -2520,6 +2610,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2520
2610
|
showMinLabel?: boolean | undefined;
|
|
2521
2611
|
} | undefined;
|
|
2522
2612
|
selectMode?: import("..").SelectModeEnum | undefined;
|
|
2613
|
+
wrap?: boolean | undefined;
|
|
2523
2614
|
} | undefined;
|
|
2524
2615
|
xAxis?: {
|
|
2525
2616
|
lineVisible?: boolean | undefined;
|
|
@@ -2527,9 +2618,9 @@ export declare class ChartModel extends Disposable {
|
|
|
2527
2618
|
bold?: boolean | undefined;
|
|
2528
2619
|
italic?: boolean | undefined;
|
|
2529
2620
|
fontSize?: number | undefined;
|
|
2621
|
+
color?: string | undefined;
|
|
2530
2622
|
rotate?: number | undefined;
|
|
2531
2623
|
visible?: boolean | undefined;
|
|
2532
|
-
color?: string | undefined;
|
|
2533
2624
|
family?: string | undefined;
|
|
2534
2625
|
strikethrough?: boolean | undefined;
|
|
2535
2626
|
underline?: boolean | undefined;
|
|
@@ -2566,9 +2657,9 @@ export declare class ChartModel extends Disposable {
|
|
|
2566
2657
|
bold?: boolean | undefined;
|
|
2567
2658
|
italic?: boolean | undefined;
|
|
2568
2659
|
fontSize?: number | undefined;
|
|
2660
|
+
color?: string | undefined;
|
|
2569
2661
|
rotate?: number | undefined;
|
|
2570
2662
|
visible?: boolean | undefined;
|
|
2571
|
-
color?: string | undefined;
|
|
2572
2663
|
family?: string | undefined;
|
|
2573
2664
|
strikethrough?: boolean | undefined;
|
|
2574
2665
|
underline?: boolean | undefined;
|
|
@@ -2600,14 +2691,15 @@ export declare class ChartModel extends Disposable {
|
|
|
2600
2691
|
format?: string | undefined;
|
|
2601
2692
|
} | undefined;
|
|
2602
2693
|
rightYAxis?: {
|
|
2694
|
+
min?: number | null | undefined;
|
|
2603
2695
|
lineVisible?: boolean | undefined;
|
|
2604
2696
|
label?: {
|
|
2605
2697
|
bold?: boolean | undefined;
|
|
2606
2698
|
italic?: boolean | undefined;
|
|
2607
2699
|
fontSize?: number | undefined;
|
|
2700
|
+
color?: string | undefined;
|
|
2608
2701
|
rotate?: number | undefined;
|
|
2609
2702
|
visible?: boolean | undefined;
|
|
2610
|
-
color?: string | undefined;
|
|
2611
2703
|
family?: string | undefined;
|
|
2612
2704
|
strikethrough?: boolean | undefined;
|
|
2613
2705
|
underline?: boolean | undefined;
|
|
@@ -2633,12 +2725,16 @@ export declare class ChartModel extends Disposable {
|
|
|
2633
2725
|
length?: number | undefined;
|
|
2634
2726
|
position?: import("..").PieLabelPosition | undefined;
|
|
2635
2727
|
} | undefined;
|
|
2636
|
-
min?: number | null | undefined;
|
|
2637
2728
|
max?: number | null | undefined;
|
|
2638
2729
|
format?: string | undefined;
|
|
2639
2730
|
} | undefined;
|
|
2640
2731
|
allSeriesStyle?: {
|
|
2641
2732
|
color?: import("@univerjs/core").Nullable<string>;
|
|
2733
|
+
point?: {
|
|
2734
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2735
|
+
size?: number | undefined;
|
|
2736
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
2737
|
+
} | undefined;
|
|
2642
2738
|
label?: {
|
|
2643
2739
|
contentType?: number | undefined;
|
|
2644
2740
|
position?: import("..").SeriesLabelPosition | undefined;
|
|
@@ -2665,11 +2761,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2665
2761
|
dashType?: import("..").ChartBorderDashType | undefined;
|
|
2666
2762
|
} | undefined;
|
|
2667
2763
|
rightYAxis?: boolean | undefined;
|
|
2668
|
-
|
|
2669
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2670
|
-
size?: number | undefined;
|
|
2671
|
-
color?: import("@univerjs/core").Nullable<string>;
|
|
2672
|
-
} | undefined;
|
|
2764
|
+
fillOpacity?: number | undefined;
|
|
2673
2765
|
waterfall?: {
|
|
2674
2766
|
positive?: {
|
|
2675
2767
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
@@ -2997,18 +3089,25 @@ export declare class ChartModel extends Disposable {
|
|
|
2997
3089
|
} | undefined;
|
|
2998
3090
|
} | undefined;
|
|
2999
3091
|
} | undefined;
|
|
3092
|
+
bar?: {
|
|
3093
|
+
is3D?: boolean | undefined;
|
|
3094
|
+
shape?: import("..").BarShape | undefined;
|
|
3095
|
+
rotX?: number | undefined;
|
|
3096
|
+
rotY?: number | undefined;
|
|
3097
|
+
} | undefined;
|
|
3000
3098
|
trendlines?: import("..").ITrendLine[] | undefined;
|
|
3001
3099
|
pie?: {
|
|
3002
3100
|
doughnutHole?: import("@univerjs/core").Nullable<number>;
|
|
3101
|
+
explosion?: number | undefined;
|
|
3003
3102
|
labelStyle?: {
|
|
3004
3103
|
contentType?: number | undefined;
|
|
3005
3104
|
position?: import("..").PieLabelPosition | undefined;
|
|
3006
3105
|
bold?: boolean | undefined;
|
|
3007
3106
|
italic?: boolean | undefined;
|
|
3008
3107
|
fontSize?: number | undefined;
|
|
3108
|
+
color?: string | undefined;
|
|
3009
3109
|
rotate?: number | undefined;
|
|
3010
3110
|
visible?: boolean | undefined;
|
|
3011
|
-
color?: string | undefined;
|
|
3012
3111
|
family?: string | undefined;
|
|
3013
3112
|
strikethrough?: boolean | undefined;
|
|
3014
3113
|
underline?: boolean | undefined;
|
|
@@ -3019,6 +3118,7 @@ export declare class ChartModel extends Disposable {
|
|
|
3019
3118
|
} | undefined;
|
|
3020
3119
|
borderColor?: string | undefined;
|
|
3021
3120
|
hasPaddingAngle?: boolean | undefined;
|
|
3121
|
+
is3D?: boolean | undefined;
|
|
3022
3122
|
isHalfPie?: boolean | undefined;
|
|
3023
3123
|
rosePie?: boolean | undefined;
|
|
3024
3124
|
showLabelLine?: boolean | undefined;
|
|
@@ -3059,7 +3159,15 @@ export declare class ChartModel extends Disposable {
|
|
|
3059
3159
|
waterfall?: {
|
|
3060
3160
|
stackType?: import("..").WaterfallStackTypeEnum | undefined;
|
|
3061
3161
|
useSubtotal?: boolean | undefined;
|
|
3162
|
+
pointRoles?: import("../types").IWaterfallPointRole[] | undefined;
|
|
3163
|
+
connector?: boolean | {
|
|
3164
|
+
color?: string | undefined;
|
|
3165
|
+
width?: number | undefined;
|
|
3166
|
+
opacity?: number | undefined;
|
|
3167
|
+
dashType?: import("..").ChartBorderDashType | undefined;
|
|
3168
|
+
} | undefined;
|
|
3062
3169
|
} | undefined;
|
|
3170
|
+
markLines?: import("../types").IChartMarkLine[] | undefined;
|
|
3063
3171
|
tooltip?: {
|
|
3064
3172
|
indicatorLabelColor?: string | undefined;
|
|
3065
3173
|
indicatorLineType?: import("..").ChartBorderDashType | undefined;
|
|
@@ -3435,11 +3543,32 @@ export declare class ChartModel extends Disposable {
|
|
|
3435
3543
|
} | undefined;
|
|
3436
3544
|
} | undefined;
|
|
3437
3545
|
} | undefined;
|
|
3546
|
+
includeZeroValues?: boolean | undefined;
|
|
3438
3547
|
} | undefined;
|
|
3439
3548
|
heatmap?: {
|
|
3440
3549
|
visualMapType?: "continuous" | "piecewise" | undefined;
|
|
3441
3550
|
max?: number | undefined;
|
|
3442
3551
|
min?: number | undefined;
|
|
3552
|
+
unit?: string | undefined;
|
|
3553
|
+
label?: {
|
|
3554
|
+
contentType?: number | undefined;
|
|
3555
|
+
position?: import("..").SeriesLabelPosition | undefined;
|
|
3556
|
+
visible?: boolean | undefined;
|
|
3557
|
+
content?: string | undefined;
|
|
3558
|
+
fontSize?: number | undefined;
|
|
3559
|
+
color?: string | undefined;
|
|
3560
|
+
align?: import("..").LabelAlignEnum | undefined;
|
|
3561
|
+
bold?: boolean | undefined;
|
|
3562
|
+
family?: string | undefined;
|
|
3563
|
+
strikethrough?: boolean | undefined;
|
|
3564
|
+
italic?: boolean | undefined;
|
|
3565
|
+
underline?: boolean | undefined;
|
|
3566
|
+
padAngle?: boolean | undefined;
|
|
3567
|
+
axisTitleAlign?: import("..").AxisAlignEnum | undefined;
|
|
3568
|
+
showMaxLabel?: boolean | undefined;
|
|
3569
|
+
showMinLabel?: boolean | undefined;
|
|
3570
|
+
rotate?: number | undefined;
|
|
3571
|
+
} | undefined;
|
|
3443
3572
|
} | undefined;
|
|
3444
3573
|
};
|
|
3445
3574
|
get config(): IChartConfig | null;
|
|
@@ -3452,8 +3581,11 @@ export declare class ChartModel extends Disposable {
|
|
|
3452
3581
|
};
|
|
3453
3582
|
getRuntimeContext(direction?: ChartStyle['direction']): IChartRuntimeContext;
|
|
3454
3583
|
applyStyle(newStyle: ChartStyle): void;
|
|
3584
|
+
replaceStyle(style: ChartStyle): void;
|
|
3455
3585
|
assignChartContext(context: Partial<IChartContext>): void;
|
|
3586
|
+
replaceChartContext(context: IChartContext): void;
|
|
3456
3587
|
assignDataAggregation(config: Partial<IChartDataAggregation>): void;
|
|
3588
|
+
replaceDataAggregation(config: IChartDataAggregation): void;
|
|
3457
3589
|
setChartType(type: ChartTypeBits): void;
|
|
3458
3590
|
serialize(): IChartSnapshot;
|
|
3459
3591
|
onDispose(effect: () => void): void;
|