@univerjs-pro/engine-chart 1.0.0-alpha.6 → 1.0.0-alpha.8
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/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/chart-builder/candlestick-inline-table.d.ts +4 -0
- package/lib/types/chart-builder/chart-builder-adapter.d.ts +3 -3
- package/lib/types/chart-builder/chart-builder.d.ts +3 -3
- package/lib/types/chart-builder/chart-color.d.ts +49 -0
- package/lib/types/chart-builder/chart-starter-data.d.ts +3 -0
- package/lib/types/chart-builder/chart-types.d.ts +109 -68
- package/lib/types/chart-builder/configuration/assertions.d.ts +3 -0
- package/lib/types/chart-builder/configuration/auto-gradient-fill.d.ts +4 -0
- package/lib/types/chart-builder/configuration/candlestick.d.ts +9 -0
- package/lib/types/chart-builder/configuration/chart-config-operation.d.ts +4 -0
- package/lib/types/chart-builder/configuration/histogram.d.ts +11 -0
- package/lib/types/chart-builder/configuration/index.d.ts +5 -0
- package/lib/types/chart-builder/configuration/pie.d.ts +5 -1
- package/lib/types/chart-builder/configuration/point-mapping.d.ts +3 -0
- package/lib/types/chart-builder/configuration/treemap.d.ts +8 -0
- package/lib/types/chart-builder/conversion/chart-config-converter.d.ts +8 -3
- package/lib/types/chart-builder/conversion/chart-context-patch.d.ts +5 -0
- package/lib/types/chart-builder/conversion/chart-model-fields.d.ts +6 -0
- package/lib/types/chart-builder/conversion/resolve-chart-model-data.d.ts +3 -3
- package/lib/types/chart-builder/index.d.ts +5 -0
- package/lib/types/chart-builder/internal/host-builder-runtime.d.ts +0 -2
- package/lib/types/chart-text-measure-canvas.d.ts +6 -0
- package/lib/types/enum.d.ts +34 -1
- package/lib/types/facade/builders/f-area-chart-builder.d.ts +2 -2
- package/lib/types/facade/builders/f-boxplot-chart-builder.d.ts +5 -0
- package/lib/types/facade/builders/f-bubble-chart-builder.d.ts +2 -2
- package/lib/types/facade/builders/f-candlestick-chart-builder.d.ts +133 -0
- package/lib/types/facade/builders/f-histogram-chart-builder.d.ts +74 -0
- package/lib/types/facade/builders/f-line-chart-builder.d.ts +2 -2
- package/lib/types/facade/builders/f-pie-chart-builder.d.ts +42 -1
- package/lib/types/facade/builders/f-relation-chart-builder.d.ts +38 -0
- package/lib/types/facade/builders/f-scatter-chart-builder.d.ts +2 -2
- package/lib/types/facade/builders/f-treemap-chart-builder.d.ts +34 -0
- package/lib/types/facade/builders/index.d.ts +4 -0
- package/lib/types/facade/chart-builder-type-map.d.ts +5 -2
- package/lib/types/facade/f-cartesian-chart-builder.d.ts +14 -4
- package/lib/types/facade/f-chart-base.d.ts +2 -2
- package/lib/types/facade/f-chart-builder-base.d.ts +31 -0
- package/lib/types/index.d.ts +10 -9
- package/lib/types/models/chart-data-operators/histogram-data.d.ts +10 -0
- package/lib/types/models/chart-data-operators/index.d.ts +1 -0
- package/lib/types/models/chart-data-operators/operators.d.ts +7 -1
- package/lib/types/models/chart-data-operators/treemap-data.d.ts +3 -0
- package/lib/types/models/chart-element-edit-overlay/chart-element-edit-overlay.d.ts +2 -1
- package/lib/types/models/chart-locale-texts.d.ts +15 -1
- package/lib/types/models/chart-model.d.ts +368 -164
- package/lib/types/models/constants/default-chart-style.d.ts +45 -0
- package/lib/types/models/constants/histogram-defaults.d.ts +4 -0
- package/lib/types/models/constants/treemap.d.ts +1 -0
- package/lib/types/models/data-context-transformers/candlestick-data-context-transformer.d.ts +4 -0
- package/lib/types/models/data-context-transformers/histogram-data-context-transformer.d.ts +7 -0
- package/lib/types/models/data-context-transformers/treemap-data-context-transformer.d.ts +11 -0
- package/lib/types/models/echart-render-model.d.ts +10 -7
- package/lib/types/models/echart-to-chart-model-init.d.ts +2 -1
- package/lib/types/models/mode-converter/converters/boxplot-chart-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/bubble-chart-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/candlestick-chart-converter.d.ts +5 -0
- package/lib/types/models/mode-converter/converters/combination-chart-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/funnel-chart-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/heatmap-chart-convert.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/histogram-chart-converter.d.ts +4 -0
- package/lib/types/models/mode-converter/converters/pareto-chart-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/pie-chart-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/radar-chart-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/relation-chart-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/sankey-chart-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/scatter-chart-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/treemap-chart-converter.d.ts +4 -0
- package/lib/types/models/mode-converter/converters/waterfall-chart-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/converters/word-cloud-converter.d.ts +3 -2
- package/lib/types/models/mode-converter/render-spec-operators/auto-gradient-presets.d.ts +5 -0
- package/lib/types/models/mode-converter/render-spec-operators/chart-color.d.ts +23 -0
- package/lib/types/models/mode-converter/render-spec-operators/rich-text-inheritance.operator.d.ts +2 -0
- package/lib/types/models/mode-converter/render-spec-operators/tool-tip-operator.d.ts +8 -2
- package/lib/types/models/mode-converter/render-spec-operators/tools.d.ts +3 -2
- package/lib/types/types.d.ts +147 -13
- package/lib/types/util.d.ts +1 -7
- package/lib/types/wordcloud-chart/canvas.d.ts +3 -3
- package/lib/types/wordcloud-chart/core/layout/word-shrink.d.ts +5 -8
- package/lib/types/wordcloud-chart/core/text/formatter.d.ts +2 -2
- package/lib/types/wordcloud-chart/core/text/normalize.d.ts +2 -2
- package/lib/types/wordcloud-chart/defaults.d.ts +2 -2
- package/lib/types/wordcloud-chart/index.d.ts +1 -1
- package/lib/types/wordcloud-chart/types.d.ts +0 -3
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
|
@@ -10,7 +10,7 @@ export interface IChartModelInit {
|
|
|
10
10
|
chartType?: ChartTypeBits;
|
|
11
11
|
dataSource: IChartDataSource;
|
|
12
12
|
dataAggregation?: IChartDataAggregation;
|
|
13
|
-
context?: Pick<IChartContext, 'categoryIndex' | 'seriesIndexes' | 'transform'>;
|
|
13
|
+
context?: Pick<IChartContext, 'categoryIndex' | 'hierarchyIndexes' | 'seriesIndexes' | 'transform' | 'candlestick' | 'histogram'>;
|
|
14
14
|
style?: ChartStyle;
|
|
15
15
|
localeTexts?: IChartLocaleTexts;
|
|
16
16
|
}
|
|
@@ -138,6 +138,18 @@ export declare class ChartModel extends Disposable {
|
|
|
138
138
|
waterfallPositive?: string | undefined;
|
|
139
139
|
waterfallNegative?: string | undefined;
|
|
140
140
|
waterfallSubtotal?: string | undefined;
|
|
141
|
+
candlestickSeries?: string | undefined;
|
|
142
|
+
candlestickCategory?: string | undefined;
|
|
143
|
+
candlestickOpen?: string | undefined;
|
|
144
|
+
candlestickHigh?: string | undefined;
|
|
145
|
+
candlestickLow?: string | undefined;
|
|
146
|
+
candlestickClose?: string | undefined;
|
|
147
|
+
histogramFrequency?: string | undefined;
|
|
148
|
+
treemapEmptyTips?: string | undefined;
|
|
149
|
+
treemapHierarchy?: string | undefined;
|
|
150
|
+
treemapValue?: string | undefined;
|
|
151
|
+
treemapOwnValue?: string | undefined;
|
|
152
|
+
treemapChildren?: string | undefined;
|
|
141
153
|
} | undefined;
|
|
142
154
|
} | undefined;
|
|
143
155
|
direction?: import("..").ChartDirection | undefined;
|
|
@@ -335,8 +347,6 @@ export declare class ChartModel extends Disposable {
|
|
|
335
347
|
format?: string | undefined;
|
|
336
348
|
} | undefined;
|
|
337
349
|
rightYAxis?: {
|
|
338
|
-
min?: number | null | undefined;
|
|
339
|
-
lineVisible?: boolean | undefined;
|
|
340
350
|
label?: {
|
|
341
351
|
bold?: boolean | undefined;
|
|
342
352
|
italic?: boolean | undefined;
|
|
@@ -352,6 +362,8 @@ export declare class ChartModel extends Disposable {
|
|
|
352
362
|
showMaxLabel?: boolean | undefined;
|
|
353
363
|
showMinLabel?: boolean | undefined;
|
|
354
364
|
} | undefined;
|
|
365
|
+
min?: number | null | undefined;
|
|
366
|
+
lineVisible?: boolean | undefined;
|
|
355
367
|
lineStyle?: {
|
|
356
368
|
visible?: boolean | undefined;
|
|
357
369
|
color?: string | undefined;
|
|
@@ -373,12 +385,6 @@ export declare class ChartModel extends Disposable {
|
|
|
373
385
|
format?: string | undefined;
|
|
374
386
|
} | undefined;
|
|
375
387
|
allSeriesStyle?: {
|
|
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;
|
|
382
388
|
label?: {
|
|
383
389
|
contentType?: number | undefined;
|
|
384
390
|
position?: import("..").SeriesLabelPosition | undefined;
|
|
@@ -398,6 +404,12 @@ export declare class ChartModel extends Disposable {
|
|
|
398
404
|
showMinLabel?: boolean | undefined;
|
|
399
405
|
rotate?: number | undefined;
|
|
400
406
|
} | undefined;
|
|
407
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
408
|
+
point?: {
|
|
409
|
+
shape?: import("..").LinePointShape | undefined;
|
|
410
|
+
size?: number | undefined;
|
|
411
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
412
|
+
} | undefined;
|
|
401
413
|
border?: {
|
|
402
414
|
opacity?: number | undefined;
|
|
403
415
|
color?: import("@univerjs/core").Nullable<string>;
|
|
@@ -410,7 +422,7 @@ export declare class ChartModel extends Disposable {
|
|
|
410
422
|
positive?: {
|
|
411
423
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
412
424
|
rightYAxis?: boolean | undefined;
|
|
413
|
-
color?: import("@univerjs/core").Nullable<
|
|
425
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
414
426
|
fillOpacity?: number | undefined;
|
|
415
427
|
border?: {
|
|
416
428
|
opacity?: number | undefined;
|
|
@@ -444,10 +456,10 @@ export declare class ChartModel extends Disposable {
|
|
|
444
456
|
} | undefined;
|
|
445
457
|
dataPoints?: {
|
|
446
458
|
[x: number]: {
|
|
459
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
447
460
|
fillOpacity?: number | undefined;
|
|
448
|
-
shape?: import("..").LinePointShape | undefined;
|
|
449
461
|
size?: number | undefined;
|
|
450
|
-
|
|
462
|
+
shape?: import("..").LinePointShape | undefined;
|
|
451
463
|
} | undefined;
|
|
452
464
|
} | undefined;
|
|
453
465
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -456,7 +468,7 @@ export declare class ChartModel extends Disposable {
|
|
|
456
468
|
negative?: {
|
|
457
469
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
458
470
|
rightYAxis?: boolean | undefined;
|
|
459
|
-
color?: import("@univerjs/core").Nullable<
|
|
471
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
460
472
|
fillOpacity?: number | undefined;
|
|
461
473
|
border?: {
|
|
462
474
|
opacity?: number | undefined;
|
|
@@ -490,10 +502,10 @@ export declare class ChartModel extends Disposable {
|
|
|
490
502
|
} | undefined;
|
|
491
503
|
dataPoints?: {
|
|
492
504
|
[x: number]: {
|
|
505
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
493
506
|
fillOpacity?: number | undefined;
|
|
494
|
-
shape?: import("..").LinePointShape | undefined;
|
|
495
507
|
size?: number | undefined;
|
|
496
|
-
|
|
508
|
+
shape?: import("..").LinePointShape | undefined;
|
|
497
509
|
} | undefined;
|
|
498
510
|
} | undefined;
|
|
499
511
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -502,7 +514,7 @@ export declare class ChartModel extends Disposable {
|
|
|
502
514
|
subtotal?: {
|
|
503
515
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
504
516
|
rightYAxis?: boolean | undefined;
|
|
505
|
-
color?: import("@univerjs/core").Nullable<
|
|
517
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
506
518
|
fillOpacity?: number | undefined;
|
|
507
519
|
border?: {
|
|
508
520
|
opacity?: number | undefined;
|
|
@@ -536,10 +548,10 @@ export declare class ChartModel extends Disposable {
|
|
|
536
548
|
} | undefined;
|
|
537
549
|
dataPoints?: {
|
|
538
550
|
[x: number]: {
|
|
551
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
539
552
|
fillOpacity?: number | undefined;
|
|
540
|
-
shape?: import("..").LinePointShape | undefined;
|
|
541
553
|
size?: number | undefined;
|
|
542
|
-
|
|
554
|
+
shape?: import("..").LinePointShape | undefined;
|
|
543
555
|
} | undefined;
|
|
544
556
|
} | undefined;
|
|
545
557
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -551,7 +563,7 @@ export declare class ChartModel extends Disposable {
|
|
|
551
563
|
[x: string]: {
|
|
552
564
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
553
565
|
rightYAxis?: boolean | undefined;
|
|
554
|
-
color?: import("@univerjs/core").Nullable<
|
|
566
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
555
567
|
fillOpacity?: number | undefined;
|
|
556
568
|
border?: {
|
|
557
569
|
opacity?: number | undefined;
|
|
@@ -585,17 +597,17 @@ export declare class ChartModel extends Disposable {
|
|
|
585
597
|
} | undefined;
|
|
586
598
|
dataPoints?: {
|
|
587
599
|
[x: number]: {
|
|
600
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
588
601
|
fillOpacity?: number | undefined;
|
|
589
|
-
shape?: import("..").LinePointShape | undefined;
|
|
590
602
|
size?: number | undefined;
|
|
591
|
-
|
|
603
|
+
shape?: import("..").LinePointShape | undefined;
|
|
592
604
|
} | undefined;
|
|
593
605
|
} | undefined;
|
|
594
606
|
waterfall?: {
|
|
595
607
|
positive?: {
|
|
596
608
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
597
609
|
rightYAxis?: boolean | undefined;
|
|
598
|
-
color?: import("@univerjs/core").Nullable<
|
|
610
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
599
611
|
fillOpacity?: number | undefined;
|
|
600
612
|
border?: {
|
|
601
613
|
opacity?: number | undefined;
|
|
@@ -629,10 +641,10 @@ export declare class ChartModel extends Disposable {
|
|
|
629
641
|
} | undefined;
|
|
630
642
|
dataPoints?: {
|
|
631
643
|
[x: number]: {
|
|
644
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
632
645
|
fillOpacity?: number | undefined;
|
|
633
|
-
shape?: import("..").LinePointShape | undefined;
|
|
634
646
|
size?: number | undefined;
|
|
635
|
-
|
|
647
|
+
shape?: import("..").LinePointShape | undefined;
|
|
636
648
|
} | undefined;
|
|
637
649
|
} | undefined;
|
|
638
650
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -641,7 +653,7 @@ export declare class ChartModel extends Disposable {
|
|
|
641
653
|
negative?: {
|
|
642
654
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
643
655
|
rightYAxis?: boolean | undefined;
|
|
644
|
-
color?: import("@univerjs/core").Nullable<
|
|
656
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
645
657
|
fillOpacity?: number | undefined;
|
|
646
658
|
border?: {
|
|
647
659
|
opacity?: number | undefined;
|
|
@@ -675,10 +687,10 @@ export declare class ChartModel extends Disposable {
|
|
|
675
687
|
} | undefined;
|
|
676
688
|
dataPoints?: {
|
|
677
689
|
[x: number]: {
|
|
690
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
678
691
|
fillOpacity?: number | undefined;
|
|
679
|
-
shape?: import("..").LinePointShape | undefined;
|
|
680
692
|
size?: number | undefined;
|
|
681
|
-
|
|
693
|
+
shape?: import("..").LinePointShape | undefined;
|
|
682
694
|
} | undefined;
|
|
683
695
|
} | undefined;
|
|
684
696
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -687,7 +699,7 @@ export declare class ChartModel extends Disposable {
|
|
|
687
699
|
subtotal?: {
|
|
688
700
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
689
701
|
rightYAxis?: boolean | undefined;
|
|
690
|
-
color?: import("@univerjs/core").Nullable<
|
|
702
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
691
703
|
fillOpacity?: number | undefined;
|
|
692
704
|
border?: {
|
|
693
705
|
opacity?: number | undefined;
|
|
@@ -721,10 +733,10 @@ export declare class ChartModel extends Disposable {
|
|
|
721
733
|
} | undefined;
|
|
722
734
|
dataPoints?: {
|
|
723
735
|
[x: number]: {
|
|
736
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
724
737
|
fillOpacity?: number | undefined;
|
|
725
|
-
shape?: import("..").LinePointShape | undefined;
|
|
726
738
|
size?: number | undefined;
|
|
727
|
-
|
|
739
|
+
shape?: import("..").LinePointShape | undefined;
|
|
728
740
|
} | undefined;
|
|
729
741
|
} | undefined;
|
|
730
742
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -769,6 +781,12 @@ export declare class ChartModel extends Disposable {
|
|
|
769
781
|
valueScale?: number | undefined;
|
|
770
782
|
valueSuffix?: string | undefined;
|
|
771
783
|
digitalFixed?: number | undefined;
|
|
784
|
+
sliceStyles?: {
|
|
785
|
+
[x: number]: {
|
|
786
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
787
|
+
fillOpacity?: number | undefined;
|
|
788
|
+
} | undefined;
|
|
789
|
+
} | undefined;
|
|
772
790
|
} | undefined;
|
|
773
791
|
area?: {
|
|
774
792
|
lineStyle?: import("..").AreaLineStyle | undefined;
|
|
@@ -822,7 +840,7 @@ export declare class ChartModel extends Disposable {
|
|
|
822
840
|
lineStyle?: {
|
|
823
841
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
824
842
|
rightYAxis?: boolean | undefined;
|
|
825
|
-
color?: import("@univerjs/core").Nullable<
|
|
843
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
826
844
|
fillOpacity?: number | undefined;
|
|
827
845
|
border?: {
|
|
828
846
|
opacity?: number | undefined;
|
|
@@ -856,17 +874,17 @@ export declare class ChartModel extends Disposable {
|
|
|
856
874
|
} | undefined;
|
|
857
875
|
dataPoints?: {
|
|
858
876
|
[x: number]: {
|
|
877
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
859
878
|
fillOpacity?: number | undefined;
|
|
860
|
-
shape?: import("..").LinePointShape | undefined;
|
|
861
879
|
size?: number | undefined;
|
|
862
|
-
|
|
880
|
+
shape?: import("..").LinePointShape | undefined;
|
|
863
881
|
} | undefined;
|
|
864
882
|
} | undefined;
|
|
865
883
|
waterfall?: {
|
|
866
884
|
positive?: {
|
|
867
885
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
868
886
|
rightYAxis?: boolean | undefined;
|
|
869
|
-
color?: import("@univerjs/core").Nullable<
|
|
887
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
870
888
|
fillOpacity?: number | undefined;
|
|
871
889
|
border?: {
|
|
872
890
|
opacity?: number | undefined;
|
|
@@ -900,10 +918,10 @@ export declare class ChartModel extends Disposable {
|
|
|
900
918
|
} | undefined;
|
|
901
919
|
dataPoints?: {
|
|
902
920
|
[x: number]: {
|
|
921
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
903
922
|
fillOpacity?: number | undefined;
|
|
904
|
-
shape?: import("..").LinePointShape | undefined;
|
|
905
923
|
size?: number | undefined;
|
|
906
|
-
|
|
924
|
+
shape?: import("..").LinePointShape | undefined;
|
|
907
925
|
} | undefined;
|
|
908
926
|
} | undefined;
|
|
909
927
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -912,7 +930,7 @@ export declare class ChartModel extends Disposable {
|
|
|
912
930
|
negative?: {
|
|
913
931
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
914
932
|
rightYAxis?: boolean | undefined;
|
|
915
|
-
color?: import("@univerjs/core").Nullable<
|
|
933
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
916
934
|
fillOpacity?: number | undefined;
|
|
917
935
|
border?: {
|
|
918
936
|
opacity?: number | undefined;
|
|
@@ -946,10 +964,10 @@ export declare class ChartModel extends Disposable {
|
|
|
946
964
|
} | undefined;
|
|
947
965
|
dataPoints?: {
|
|
948
966
|
[x: number]: {
|
|
967
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
949
968
|
fillOpacity?: number | undefined;
|
|
950
|
-
shape?: import("..").LinePointShape | undefined;
|
|
951
969
|
size?: number | undefined;
|
|
952
|
-
|
|
970
|
+
shape?: import("..").LinePointShape | undefined;
|
|
953
971
|
} | undefined;
|
|
954
972
|
} | undefined;
|
|
955
973
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -958,7 +976,7 @@ export declare class ChartModel extends Disposable {
|
|
|
958
976
|
subtotal?: {
|
|
959
977
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
960
978
|
rightYAxis?: boolean | undefined;
|
|
961
|
-
color?: import("@univerjs/core").Nullable<
|
|
979
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
962
980
|
fillOpacity?: number | undefined;
|
|
963
981
|
border?: {
|
|
964
982
|
opacity?: number | undefined;
|
|
@@ -992,10 +1010,10 @@ export declare class ChartModel extends Disposable {
|
|
|
992
1010
|
} | undefined;
|
|
993
1011
|
dataPoints?: {
|
|
994
1012
|
[x: number]: {
|
|
1013
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
995
1014
|
fillOpacity?: number | undefined;
|
|
996
|
-
shape?: import("..").LinePointShape | undefined;
|
|
997
1015
|
size?: number | undefined;
|
|
998
|
-
|
|
1016
|
+
shape?: import("..").LinePointShape | undefined;
|
|
999
1017
|
} | undefined;
|
|
1000
1018
|
} | undefined;
|
|
1001
1019
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -1006,7 +1024,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1006
1024
|
barStyle?: {
|
|
1007
1025
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
1008
1026
|
rightYAxis?: boolean | undefined;
|
|
1009
|
-
color?: import("@univerjs/core").Nullable<
|
|
1027
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1010
1028
|
fillOpacity?: number | undefined;
|
|
1011
1029
|
border?: {
|
|
1012
1030
|
opacity?: number | undefined;
|
|
@@ -1040,17 +1058,17 @@ export declare class ChartModel extends Disposable {
|
|
|
1040
1058
|
} | undefined;
|
|
1041
1059
|
dataPoints?: {
|
|
1042
1060
|
[x: number]: {
|
|
1061
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1043
1062
|
fillOpacity?: number | undefined;
|
|
1044
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1045
1063
|
size?: number | undefined;
|
|
1046
|
-
|
|
1064
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1047
1065
|
} | undefined;
|
|
1048
1066
|
} | undefined;
|
|
1049
1067
|
waterfall?: {
|
|
1050
1068
|
positive?: {
|
|
1051
1069
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
1052
1070
|
rightYAxis?: boolean | undefined;
|
|
1053
|
-
color?: import("@univerjs/core").Nullable<
|
|
1071
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1054
1072
|
fillOpacity?: number | undefined;
|
|
1055
1073
|
border?: {
|
|
1056
1074
|
opacity?: number | undefined;
|
|
@@ -1084,10 +1102,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1084
1102
|
} | undefined;
|
|
1085
1103
|
dataPoints?: {
|
|
1086
1104
|
[x: number]: {
|
|
1105
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1087
1106
|
fillOpacity?: number | undefined;
|
|
1088
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1089
1107
|
size?: number | undefined;
|
|
1090
|
-
|
|
1108
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1091
1109
|
} | undefined;
|
|
1092
1110
|
} | undefined;
|
|
1093
1111
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -1096,7 +1114,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1096
1114
|
negative?: {
|
|
1097
1115
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
1098
1116
|
rightYAxis?: boolean | undefined;
|
|
1099
|
-
color?: import("@univerjs/core").Nullable<
|
|
1117
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1100
1118
|
fillOpacity?: number | undefined;
|
|
1101
1119
|
border?: {
|
|
1102
1120
|
opacity?: number | undefined;
|
|
@@ -1130,10 +1148,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1130
1148
|
} | undefined;
|
|
1131
1149
|
dataPoints?: {
|
|
1132
1150
|
[x: number]: {
|
|
1151
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1133
1152
|
fillOpacity?: number | undefined;
|
|
1134
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1135
1153
|
size?: number | undefined;
|
|
1136
|
-
|
|
1154
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1137
1155
|
} | undefined;
|
|
1138
1156
|
} | undefined;
|
|
1139
1157
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -1142,7 +1160,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1142
1160
|
subtotal?: {
|
|
1143
1161
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
1144
1162
|
rightYAxis?: boolean | undefined;
|
|
1145
|
-
color?: import("@univerjs/core").Nullable<
|
|
1163
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1146
1164
|
fillOpacity?: number | undefined;
|
|
1147
1165
|
border?: {
|
|
1148
1166
|
opacity?: number | undefined;
|
|
@@ -1176,10 +1194,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1176
1194
|
} | undefined;
|
|
1177
1195
|
dataPoints?: {
|
|
1178
1196
|
[x: number]: {
|
|
1197
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1179
1198
|
fillOpacity?: number | undefined;
|
|
1180
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1181
1199
|
size?: number | undefined;
|
|
1182
|
-
|
|
1200
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1183
1201
|
} | undefined;
|
|
1184
1202
|
} | undefined;
|
|
1185
1203
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -1214,6 +1232,54 @@ export declare class ChartModel extends Disposable {
|
|
|
1214
1232
|
rotate?: number | undefined;
|
|
1215
1233
|
} | undefined;
|
|
1216
1234
|
} | undefined;
|
|
1235
|
+
candlestick?: {
|
|
1236
|
+
rising?: {
|
|
1237
|
+
color?: string | undefined;
|
|
1238
|
+
fillOpacity?: number | undefined;
|
|
1239
|
+
border?: {
|
|
1240
|
+
color?: string | undefined;
|
|
1241
|
+
width?: number | undefined;
|
|
1242
|
+
opacity?: number | undefined;
|
|
1243
|
+
} | undefined;
|
|
1244
|
+
hollow?: boolean | undefined;
|
|
1245
|
+
} | undefined;
|
|
1246
|
+
falling?: {
|
|
1247
|
+
color?: string | undefined;
|
|
1248
|
+
fillOpacity?: number | undefined;
|
|
1249
|
+
border?: {
|
|
1250
|
+
color?: string | undefined;
|
|
1251
|
+
width?: number | undefined;
|
|
1252
|
+
opacity?: number | undefined;
|
|
1253
|
+
} | undefined;
|
|
1254
|
+
hollow?: boolean | undefined;
|
|
1255
|
+
} | undefined;
|
|
1256
|
+
doji?: {
|
|
1257
|
+
color?: string | undefined;
|
|
1258
|
+
fillOpacity?: number | undefined;
|
|
1259
|
+
border?: {
|
|
1260
|
+
color?: string | undefined;
|
|
1261
|
+
width?: number | undefined;
|
|
1262
|
+
opacity?: number | undefined;
|
|
1263
|
+
} | undefined;
|
|
1264
|
+
hollow?: boolean | undefined;
|
|
1265
|
+
} | undefined;
|
|
1266
|
+
candleWidth?: number | undefined;
|
|
1267
|
+
} | undefined;
|
|
1268
|
+
histogram?: {
|
|
1269
|
+
binGap?: number | undefined;
|
|
1270
|
+
} | undefined;
|
|
1271
|
+
treemap?: {
|
|
1272
|
+
parentLabelLayout?: import("..").TreemapParentLabelLayout | undefined;
|
|
1273
|
+
label?: {
|
|
1274
|
+
visible?: boolean | undefined;
|
|
1275
|
+
contentType?: import("..").LabelContentType | undefined;
|
|
1276
|
+
color?: string | undefined;
|
|
1277
|
+
fontSize?: number | undefined;
|
|
1278
|
+
bold?: boolean | undefined;
|
|
1279
|
+
italic?: boolean | undefined;
|
|
1280
|
+
family?: string | undefined;
|
|
1281
|
+
} | undefined;
|
|
1282
|
+
} | undefined;
|
|
1217
1283
|
}>;
|
|
1218
1284
|
readonly style$: Observable<{
|
|
1219
1285
|
runtime?: {
|
|
@@ -1316,6 +1382,18 @@ export declare class ChartModel extends Disposable {
|
|
|
1316
1382
|
waterfallPositive?: string | undefined;
|
|
1317
1383
|
waterfallNegative?: string | undefined;
|
|
1318
1384
|
waterfallSubtotal?: string | undefined;
|
|
1385
|
+
candlestickSeries?: string | undefined;
|
|
1386
|
+
candlestickCategory?: string | undefined;
|
|
1387
|
+
candlestickOpen?: string | undefined;
|
|
1388
|
+
candlestickHigh?: string | undefined;
|
|
1389
|
+
candlestickLow?: string | undefined;
|
|
1390
|
+
candlestickClose?: string | undefined;
|
|
1391
|
+
histogramFrequency?: string | undefined;
|
|
1392
|
+
treemapEmptyTips?: string | undefined;
|
|
1393
|
+
treemapHierarchy?: string | undefined;
|
|
1394
|
+
treemapValue?: string | undefined;
|
|
1395
|
+
treemapOwnValue?: string | undefined;
|
|
1396
|
+
treemapChildren?: string | undefined;
|
|
1319
1397
|
} | undefined;
|
|
1320
1398
|
} | undefined;
|
|
1321
1399
|
direction?: import("..").ChartDirection | undefined;
|
|
@@ -1513,8 +1591,6 @@ export declare class ChartModel extends Disposable {
|
|
|
1513
1591
|
format?: string | undefined;
|
|
1514
1592
|
} | undefined;
|
|
1515
1593
|
rightYAxis?: {
|
|
1516
|
-
min?: number | null | undefined;
|
|
1517
|
-
lineVisible?: boolean | undefined;
|
|
1518
1594
|
label?: {
|
|
1519
1595
|
bold?: boolean | undefined;
|
|
1520
1596
|
italic?: boolean | undefined;
|
|
@@ -1530,6 +1606,8 @@ export declare class ChartModel extends Disposable {
|
|
|
1530
1606
|
showMaxLabel?: boolean | undefined;
|
|
1531
1607
|
showMinLabel?: boolean | undefined;
|
|
1532
1608
|
} | undefined;
|
|
1609
|
+
min?: number | null | undefined;
|
|
1610
|
+
lineVisible?: boolean | undefined;
|
|
1533
1611
|
lineStyle?: {
|
|
1534
1612
|
visible?: boolean | undefined;
|
|
1535
1613
|
color?: string | undefined;
|
|
@@ -1551,12 +1629,6 @@ export declare class ChartModel extends Disposable {
|
|
|
1551
1629
|
format?: string | undefined;
|
|
1552
1630
|
} | undefined;
|
|
1553
1631
|
allSeriesStyle?: {
|
|
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;
|
|
1560
1632
|
label?: {
|
|
1561
1633
|
contentType?: number | undefined;
|
|
1562
1634
|
position?: import("..").SeriesLabelPosition | undefined;
|
|
@@ -1576,6 +1648,12 @@ export declare class ChartModel extends Disposable {
|
|
|
1576
1648
|
showMinLabel?: boolean | undefined;
|
|
1577
1649
|
rotate?: number | undefined;
|
|
1578
1650
|
} | undefined;
|
|
1651
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1652
|
+
point?: {
|
|
1653
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1654
|
+
size?: number | undefined;
|
|
1655
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1656
|
+
} | undefined;
|
|
1579
1657
|
border?: {
|
|
1580
1658
|
opacity?: number | undefined;
|
|
1581
1659
|
color?: import("@univerjs/core").Nullable<string>;
|
|
@@ -1588,7 +1666,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1588
1666
|
positive?: {
|
|
1589
1667
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
1590
1668
|
rightYAxis?: boolean | undefined;
|
|
1591
|
-
color?: import("@univerjs/core").Nullable<
|
|
1669
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1592
1670
|
fillOpacity?: number | undefined;
|
|
1593
1671
|
border?: {
|
|
1594
1672
|
opacity?: number | undefined;
|
|
@@ -1622,10 +1700,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1622
1700
|
} | undefined;
|
|
1623
1701
|
dataPoints?: {
|
|
1624
1702
|
[x: number]: {
|
|
1703
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1625
1704
|
fillOpacity?: number | undefined;
|
|
1626
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1627
1705
|
size?: number | undefined;
|
|
1628
|
-
|
|
1706
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1629
1707
|
} | undefined;
|
|
1630
1708
|
} | undefined;
|
|
1631
1709
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -1634,7 +1712,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1634
1712
|
negative?: {
|
|
1635
1713
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
1636
1714
|
rightYAxis?: boolean | undefined;
|
|
1637
|
-
color?: import("@univerjs/core").Nullable<
|
|
1715
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1638
1716
|
fillOpacity?: number | undefined;
|
|
1639
1717
|
border?: {
|
|
1640
1718
|
opacity?: number | undefined;
|
|
@@ -1668,10 +1746,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1668
1746
|
} | undefined;
|
|
1669
1747
|
dataPoints?: {
|
|
1670
1748
|
[x: number]: {
|
|
1749
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1671
1750
|
fillOpacity?: number | undefined;
|
|
1672
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1673
1751
|
size?: number | undefined;
|
|
1674
|
-
|
|
1752
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1675
1753
|
} | undefined;
|
|
1676
1754
|
} | undefined;
|
|
1677
1755
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -1680,7 +1758,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1680
1758
|
subtotal?: {
|
|
1681
1759
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
1682
1760
|
rightYAxis?: boolean | undefined;
|
|
1683
|
-
color?: import("@univerjs/core").Nullable<
|
|
1761
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1684
1762
|
fillOpacity?: number | undefined;
|
|
1685
1763
|
border?: {
|
|
1686
1764
|
opacity?: number | undefined;
|
|
@@ -1714,10 +1792,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1714
1792
|
} | undefined;
|
|
1715
1793
|
dataPoints?: {
|
|
1716
1794
|
[x: number]: {
|
|
1795
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1717
1796
|
fillOpacity?: number | undefined;
|
|
1718
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1719
1797
|
size?: number | undefined;
|
|
1720
|
-
|
|
1798
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1721
1799
|
} | undefined;
|
|
1722
1800
|
} | undefined;
|
|
1723
1801
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -1729,7 +1807,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1729
1807
|
[x: string]: {
|
|
1730
1808
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
1731
1809
|
rightYAxis?: boolean | undefined;
|
|
1732
|
-
color?: import("@univerjs/core").Nullable<
|
|
1810
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1733
1811
|
fillOpacity?: number | undefined;
|
|
1734
1812
|
border?: {
|
|
1735
1813
|
opacity?: number | undefined;
|
|
@@ -1763,17 +1841,17 @@ export declare class ChartModel extends Disposable {
|
|
|
1763
1841
|
} | undefined;
|
|
1764
1842
|
dataPoints?: {
|
|
1765
1843
|
[x: number]: {
|
|
1844
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1766
1845
|
fillOpacity?: number | undefined;
|
|
1767
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1768
1846
|
size?: number | undefined;
|
|
1769
|
-
|
|
1847
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1770
1848
|
} | undefined;
|
|
1771
1849
|
} | undefined;
|
|
1772
1850
|
waterfall?: {
|
|
1773
1851
|
positive?: {
|
|
1774
1852
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
1775
1853
|
rightYAxis?: boolean | undefined;
|
|
1776
|
-
color?: import("@univerjs/core").Nullable<
|
|
1854
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1777
1855
|
fillOpacity?: number | undefined;
|
|
1778
1856
|
border?: {
|
|
1779
1857
|
opacity?: number | undefined;
|
|
@@ -1807,10 +1885,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1807
1885
|
} | undefined;
|
|
1808
1886
|
dataPoints?: {
|
|
1809
1887
|
[x: number]: {
|
|
1888
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1810
1889
|
fillOpacity?: number | undefined;
|
|
1811
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1812
1890
|
size?: number | undefined;
|
|
1813
|
-
|
|
1891
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1814
1892
|
} | undefined;
|
|
1815
1893
|
} | undefined;
|
|
1816
1894
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -1819,7 +1897,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1819
1897
|
negative?: {
|
|
1820
1898
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
1821
1899
|
rightYAxis?: boolean | undefined;
|
|
1822
|
-
color?: import("@univerjs/core").Nullable<
|
|
1900
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1823
1901
|
fillOpacity?: number | undefined;
|
|
1824
1902
|
border?: {
|
|
1825
1903
|
opacity?: number | undefined;
|
|
@@ -1853,10 +1931,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1853
1931
|
} | undefined;
|
|
1854
1932
|
dataPoints?: {
|
|
1855
1933
|
[x: number]: {
|
|
1934
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1856
1935
|
fillOpacity?: number | undefined;
|
|
1857
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1858
1936
|
size?: number | undefined;
|
|
1859
|
-
|
|
1937
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1860
1938
|
} | undefined;
|
|
1861
1939
|
} | undefined;
|
|
1862
1940
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -1865,7 +1943,7 @@ export declare class ChartModel extends Disposable {
|
|
|
1865
1943
|
subtotal?: {
|
|
1866
1944
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
1867
1945
|
rightYAxis?: boolean | undefined;
|
|
1868
|
-
color?: import("@univerjs/core").Nullable<
|
|
1946
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1869
1947
|
fillOpacity?: number | undefined;
|
|
1870
1948
|
border?: {
|
|
1871
1949
|
opacity?: number | undefined;
|
|
@@ -1899,10 +1977,10 @@ export declare class ChartModel extends Disposable {
|
|
|
1899
1977
|
} | undefined;
|
|
1900
1978
|
dataPoints?: {
|
|
1901
1979
|
[x: number]: {
|
|
1980
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
1902
1981
|
fillOpacity?: number | undefined;
|
|
1903
|
-
shape?: import("..").LinePointShape | undefined;
|
|
1904
1982
|
size?: number | undefined;
|
|
1905
|
-
|
|
1983
|
+
shape?: import("..").LinePointShape | undefined;
|
|
1906
1984
|
} | undefined;
|
|
1907
1985
|
} | undefined;
|
|
1908
1986
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -1947,6 +2025,12 @@ export declare class ChartModel extends Disposable {
|
|
|
1947
2025
|
valueScale?: number | undefined;
|
|
1948
2026
|
valueSuffix?: string | undefined;
|
|
1949
2027
|
digitalFixed?: number | undefined;
|
|
2028
|
+
sliceStyles?: {
|
|
2029
|
+
[x: number]: {
|
|
2030
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2031
|
+
fillOpacity?: number | undefined;
|
|
2032
|
+
} | undefined;
|
|
2033
|
+
} | undefined;
|
|
1950
2034
|
} | undefined;
|
|
1951
2035
|
area?: {
|
|
1952
2036
|
lineStyle?: import("..").AreaLineStyle | undefined;
|
|
@@ -2000,7 +2084,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2000
2084
|
lineStyle?: {
|
|
2001
2085
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2002
2086
|
rightYAxis?: boolean | undefined;
|
|
2003
|
-
color?: import("@univerjs/core").Nullable<
|
|
2087
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2004
2088
|
fillOpacity?: number | undefined;
|
|
2005
2089
|
border?: {
|
|
2006
2090
|
opacity?: number | undefined;
|
|
@@ -2034,17 +2118,17 @@ export declare class ChartModel extends Disposable {
|
|
|
2034
2118
|
} | undefined;
|
|
2035
2119
|
dataPoints?: {
|
|
2036
2120
|
[x: number]: {
|
|
2121
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2037
2122
|
fillOpacity?: number | undefined;
|
|
2038
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2039
2123
|
size?: number | undefined;
|
|
2040
|
-
|
|
2124
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2041
2125
|
} | undefined;
|
|
2042
2126
|
} | undefined;
|
|
2043
2127
|
waterfall?: {
|
|
2044
2128
|
positive?: {
|
|
2045
2129
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2046
2130
|
rightYAxis?: boolean | undefined;
|
|
2047
|
-
color?: import("@univerjs/core").Nullable<
|
|
2131
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2048
2132
|
fillOpacity?: number | undefined;
|
|
2049
2133
|
border?: {
|
|
2050
2134
|
opacity?: number | undefined;
|
|
@@ -2078,10 +2162,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2078
2162
|
} | undefined;
|
|
2079
2163
|
dataPoints?: {
|
|
2080
2164
|
[x: number]: {
|
|
2165
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2081
2166
|
fillOpacity?: number | undefined;
|
|
2082
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2083
2167
|
size?: number | undefined;
|
|
2084
|
-
|
|
2168
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2085
2169
|
} | undefined;
|
|
2086
2170
|
} | undefined;
|
|
2087
2171
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -2090,7 +2174,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2090
2174
|
negative?: {
|
|
2091
2175
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2092
2176
|
rightYAxis?: boolean | undefined;
|
|
2093
|
-
color?: import("@univerjs/core").Nullable<
|
|
2177
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2094
2178
|
fillOpacity?: number | undefined;
|
|
2095
2179
|
border?: {
|
|
2096
2180
|
opacity?: number | undefined;
|
|
@@ -2124,10 +2208,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2124
2208
|
} | undefined;
|
|
2125
2209
|
dataPoints?: {
|
|
2126
2210
|
[x: number]: {
|
|
2211
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2127
2212
|
fillOpacity?: number | undefined;
|
|
2128
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2129
2213
|
size?: number | undefined;
|
|
2130
|
-
|
|
2214
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2131
2215
|
} | undefined;
|
|
2132
2216
|
} | undefined;
|
|
2133
2217
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -2136,7 +2220,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2136
2220
|
subtotal?: {
|
|
2137
2221
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2138
2222
|
rightYAxis?: boolean | undefined;
|
|
2139
|
-
color?: import("@univerjs/core").Nullable<
|
|
2223
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2140
2224
|
fillOpacity?: number | undefined;
|
|
2141
2225
|
border?: {
|
|
2142
2226
|
opacity?: number | undefined;
|
|
@@ -2170,10 +2254,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2170
2254
|
} | undefined;
|
|
2171
2255
|
dataPoints?: {
|
|
2172
2256
|
[x: number]: {
|
|
2257
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2173
2258
|
fillOpacity?: number | undefined;
|
|
2174
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2175
2259
|
size?: number | undefined;
|
|
2176
|
-
|
|
2260
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2177
2261
|
} | undefined;
|
|
2178
2262
|
} | undefined;
|
|
2179
2263
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -2184,7 +2268,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2184
2268
|
barStyle?: {
|
|
2185
2269
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2186
2270
|
rightYAxis?: boolean | undefined;
|
|
2187
|
-
color?: import("@univerjs/core").Nullable<
|
|
2271
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2188
2272
|
fillOpacity?: number | undefined;
|
|
2189
2273
|
border?: {
|
|
2190
2274
|
opacity?: number | undefined;
|
|
@@ -2218,17 +2302,17 @@ export declare class ChartModel extends Disposable {
|
|
|
2218
2302
|
} | undefined;
|
|
2219
2303
|
dataPoints?: {
|
|
2220
2304
|
[x: number]: {
|
|
2305
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2221
2306
|
fillOpacity?: number | undefined;
|
|
2222
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2223
2307
|
size?: number | undefined;
|
|
2224
|
-
|
|
2308
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2225
2309
|
} | undefined;
|
|
2226
2310
|
} | undefined;
|
|
2227
2311
|
waterfall?: {
|
|
2228
2312
|
positive?: {
|
|
2229
2313
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2230
2314
|
rightYAxis?: boolean | undefined;
|
|
2231
|
-
color?: import("@univerjs/core").Nullable<
|
|
2315
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2232
2316
|
fillOpacity?: number | undefined;
|
|
2233
2317
|
border?: {
|
|
2234
2318
|
opacity?: number | undefined;
|
|
@@ -2262,10 +2346,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2262
2346
|
} | undefined;
|
|
2263
2347
|
dataPoints?: {
|
|
2264
2348
|
[x: number]: {
|
|
2349
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2265
2350
|
fillOpacity?: number | undefined;
|
|
2266
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2267
2351
|
size?: number | undefined;
|
|
2268
|
-
|
|
2352
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2269
2353
|
} | undefined;
|
|
2270
2354
|
} | undefined;
|
|
2271
2355
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -2274,7 +2358,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2274
2358
|
negative?: {
|
|
2275
2359
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2276
2360
|
rightYAxis?: boolean | undefined;
|
|
2277
|
-
color?: import("@univerjs/core").Nullable<
|
|
2361
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2278
2362
|
fillOpacity?: number | undefined;
|
|
2279
2363
|
border?: {
|
|
2280
2364
|
opacity?: number | undefined;
|
|
@@ -2308,10 +2392,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2308
2392
|
} | undefined;
|
|
2309
2393
|
dataPoints?: {
|
|
2310
2394
|
[x: number]: {
|
|
2395
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2311
2396
|
fillOpacity?: number | undefined;
|
|
2312
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2313
2397
|
size?: number | undefined;
|
|
2314
|
-
|
|
2398
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2315
2399
|
} | undefined;
|
|
2316
2400
|
} | undefined;
|
|
2317
2401
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -2320,7 +2404,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2320
2404
|
subtotal?: {
|
|
2321
2405
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2322
2406
|
rightYAxis?: boolean | undefined;
|
|
2323
|
-
color?: import("@univerjs/core").Nullable<
|
|
2407
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2324
2408
|
fillOpacity?: number | undefined;
|
|
2325
2409
|
border?: {
|
|
2326
2410
|
opacity?: number | undefined;
|
|
@@ -2354,10 +2438,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2354
2438
|
} | undefined;
|
|
2355
2439
|
dataPoints?: {
|
|
2356
2440
|
[x: number]: {
|
|
2441
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2357
2442
|
fillOpacity?: number | undefined;
|
|
2358
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2359
2443
|
size?: number | undefined;
|
|
2360
|
-
|
|
2444
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2361
2445
|
} | undefined;
|
|
2362
2446
|
} | undefined;
|
|
2363
2447
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -2392,6 +2476,54 @@ export declare class ChartModel extends Disposable {
|
|
|
2392
2476
|
rotate?: number | undefined;
|
|
2393
2477
|
} | undefined;
|
|
2394
2478
|
} | undefined;
|
|
2479
|
+
candlestick?: {
|
|
2480
|
+
rising?: {
|
|
2481
|
+
color?: string | undefined;
|
|
2482
|
+
fillOpacity?: number | undefined;
|
|
2483
|
+
border?: {
|
|
2484
|
+
color?: string | undefined;
|
|
2485
|
+
width?: number | undefined;
|
|
2486
|
+
opacity?: number | undefined;
|
|
2487
|
+
} | undefined;
|
|
2488
|
+
hollow?: boolean | undefined;
|
|
2489
|
+
} | undefined;
|
|
2490
|
+
falling?: {
|
|
2491
|
+
color?: string | undefined;
|
|
2492
|
+
fillOpacity?: number | undefined;
|
|
2493
|
+
border?: {
|
|
2494
|
+
color?: string | undefined;
|
|
2495
|
+
width?: number | undefined;
|
|
2496
|
+
opacity?: number | undefined;
|
|
2497
|
+
} | undefined;
|
|
2498
|
+
hollow?: boolean | undefined;
|
|
2499
|
+
} | undefined;
|
|
2500
|
+
doji?: {
|
|
2501
|
+
color?: string | undefined;
|
|
2502
|
+
fillOpacity?: number | undefined;
|
|
2503
|
+
border?: {
|
|
2504
|
+
color?: string | undefined;
|
|
2505
|
+
width?: number | undefined;
|
|
2506
|
+
opacity?: number | undefined;
|
|
2507
|
+
} | undefined;
|
|
2508
|
+
hollow?: boolean | undefined;
|
|
2509
|
+
} | undefined;
|
|
2510
|
+
candleWidth?: number | undefined;
|
|
2511
|
+
} | undefined;
|
|
2512
|
+
histogram?: {
|
|
2513
|
+
binGap?: number | undefined;
|
|
2514
|
+
} | undefined;
|
|
2515
|
+
treemap?: {
|
|
2516
|
+
parentLabelLayout?: import("..").TreemapParentLabelLayout | undefined;
|
|
2517
|
+
label?: {
|
|
2518
|
+
visible?: boolean | undefined;
|
|
2519
|
+
contentType?: import("..").LabelContentType | undefined;
|
|
2520
|
+
color?: string | undefined;
|
|
2521
|
+
fontSize?: number | undefined;
|
|
2522
|
+
bold?: boolean | undefined;
|
|
2523
|
+
italic?: boolean | undefined;
|
|
2524
|
+
family?: string | undefined;
|
|
2525
|
+
} | undefined;
|
|
2526
|
+
} | undefined;
|
|
2395
2527
|
}>;
|
|
2396
2528
|
get style(): {
|
|
2397
2529
|
runtime?: {
|
|
@@ -2494,6 +2626,18 @@ export declare class ChartModel extends Disposable {
|
|
|
2494
2626
|
waterfallPositive?: string | undefined;
|
|
2495
2627
|
waterfallNegative?: string | undefined;
|
|
2496
2628
|
waterfallSubtotal?: string | undefined;
|
|
2629
|
+
candlestickSeries?: string | undefined;
|
|
2630
|
+
candlestickCategory?: string | undefined;
|
|
2631
|
+
candlestickOpen?: string | undefined;
|
|
2632
|
+
candlestickHigh?: string | undefined;
|
|
2633
|
+
candlestickLow?: string | undefined;
|
|
2634
|
+
candlestickClose?: string | undefined;
|
|
2635
|
+
histogramFrequency?: string | undefined;
|
|
2636
|
+
treemapEmptyTips?: string | undefined;
|
|
2637
|
+
treemapHierarchy?: string | undefined;
|
|
2638
|
+
treemapValue?: string | undefined;
|
|
2639
|
+
treemapOwnValue?: string | undefined;
|
|
2640
|
+
treemapChildren?: string | undefined;
|
|
2497
2641
|
} | undefined;
|
|
2498
2642
|
} | undefined;
|
|
2499
2643
|
direction?: import("..").ChartDirection | undefined;
|
|
@@ -2691,8 +2835,6 @@ export declare class ChartModel extends Disposable {
|
|
|
2691
2835
|
format?: string | undefined;
|
|
2692
2836
|
} | undefined;
|
|
2693
2837
|
rightYAxis?: {
|
|
2694
|
-
min?: number | null | undefined;
|
|
2695
|
-
lineVisible?: boolean | undefined;
|
|
2696
2838
|
label?: {
|
|
2697
2839
|
bold?: boolean | undefined;
|
|
2698
2840
|
italic?: boolean | undefined;
|
|
@@ -2708,6 +2850,8 @@ export declare class ChartModel extends Disposable {
|
|
|
2708
2850
|
showMaxLabel?: boolean | undefined;
|
|
2709
2851
|
showMinLabel?: boolean | undefined;
|
|
2710
2852
|
} | undefined;
|
|
2853
|
+
min?: number | null | undefined;
|
|
2854
|
+
lineVisible?: boolean | undefined;
|
|
2711
2855
|
lineStyle?: {
|
|
2712
2856
|
visible?: boolean | undefined;
|
|
2713
2857
|
color?: string | undefined;
|
|
@@ -2729,12 +2873,6 @@ export declare class ChartModel extends Disposable {
|
|
|
2729
2873
|
format?: string | undefined;
|
|
2730
2874
|
} | undefined;
|
|
2731
2875
|
allSeriesStyle?: {
|
|
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;
|
|
2738
2876
|
label?: {
|
|
2739
2877
|
contentType?: number | undefined;
|
|
2740
2878
|
position?: import("..").SeriesLabelPosition | undefined;
|
|
@@ -2754,6 +2892,12 @@ export declare class ChartModel extends Disposable {
|
|
|
2754
2892
|
showMinLabel?: boolean | undefined;
|
|
2755
2893
|
rotate?: number | undefined;
|
|
2756
2894
|
} | undefined;
|
|
2895
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2896
|
+
point?: {
|
|
2897
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2898
|
+
size?: number | undefined;
|
|
2899
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
2900
|
+
} | undefined;
|
|
2757
2901
|
border?: {
|
|
2758
2902
|
opacity?: number | undefined;
|
|
2759
2903
|
color?: import("@univerjs/core").Nullable<string>;
|
|
@@ -2766,7 +2910,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2766
2910
|
positive?: {
|
|
2767
2911
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2768
2912
|
rightYAxis?: boolean | undefined;
|
|
2769
|
-
color?: import("@univerjs/core").Nullable<
|
|
2913
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2770
2914
|
fillOpacity?: number | undefined;
|
|
2771
2915
|
border?: {
|
|
2772
2916
|
opacity?: number | undefined;
|
|
@@ -2800,10 +2944,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2800
2944
|
} | undefined;
|
|
2801
2945
|
dataPoints?: {
|
|
2802
2946
|
[x: number]: {
|
|
2947
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2803
2948
|
fillOpacity?: number | undefined;
|
|
2804
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2805
2949
|
size?: number | undefined;
|
|
2806
|
-
|
|
2950
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2807
2951
|
} | undefined;
|
|
2808
2952
|
} | undefined;
|
|
2809
2953
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -2812,7 +2956,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2812
2956
|
negative?: {
|
|
2813
2957
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2814
2958
|
rightYAxis?: boolean | undefined;
|
|
2815
|
-
color?: import("@univerjs/core").Nullable<
|
|
2959
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2816
2960
|
fillOpacity?: number | undefined;
|
|
2817
2961
|
border?: {
|
|
2818
2962
|
opacity?: number | undefined;
|
|
@@ -2846,10 +2990,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2846
2990
|
} | undefined;
|
|
2847
2991
|
dataPoints?: {
|
|
2848
2992
|
[x: number]: {
|
|
2993
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2849
2994
|
fillOpacity?: number | undefined;
|
|
2850
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2851
2995
|
size?: number | undefined;
|
|
2852
|
-
|
|
2996
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2853
2997
|
} | undefined;
|
|
2854
2998
|
} | undefined;
|
|
2855
2999
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -2858,7 +3002,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2858
3002
|
subtotal?: {
|
|
2859
3003
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2860
3004
|
rightYAxis?: boolean | undefined;
|
|
2861
|
-
color?: import("@univerjs/core").Nullable<
|
|
3005
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2862
3006
|
fillOpacity?: number | undefined;
|
|
2863
3007
|
border?: {
|
|
2864
3008
|
opacity?: number | undefined;
|
|
@@ -2892,10 +3036,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2892
3036
|
} | undefined;
|
|
2893
3037
|
dataPoints?: {
|
|
2894
3038
|
[x: number]: {
|
|
3039
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2895
3040
|
fillOpacity?: number | undefined;
|
|
2896
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2897
3041
|
size?: number | undefined;
|
|
2898
|
-
|
|
3042
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2899
3043
|
} | undefined;
|
|
2900
3044
|
} | undefined;
|
|
2901
3045
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -2907,7 +3051,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2907
3051
|
[x: string]: {
|
|
2908
3052
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2909
3053
|
rightYAxis?: boolean | undefined;
|
|
2910
|
-
color?: import("@univerjs/core").Nullable<
|
|
3054
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2911
3055
|
fillOpacity?: number | undefined;
|
|
2912
3056
|
border?: {
|
|
2913
3057
|
opacity?: number | undefined;
|
|
@@ -2941,17 +3085,17 @@ export declare class ChartModel extends Disposable {
|
|
|
2941
3085
|
} | undefined;
|
|
2942
3086
|
dataPoints?: {
|
|
2943
3087
|
[x: number]: {
|
|
3088
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2944
3089
|
fillOpacity?: number | undefined;
|
|
2945
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2946
3090
|
size?: number | undefined;
|
|
2947
|
-
|
|
3091
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2948
3092
|
} | undefined;
|
|
2949
3093
|
} | undefined;
|
|
2950
3094
|
waterfall?: {
|
|
2951
3095
|
positive?: {
|
|
2952
3096
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2953
3097
|
rightYAxis?: boolean | undefined;
|
|
2954
|
-
color?: import("@univerjs/core").Nullable<
|
|
3098
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2955
3099
|
fillOpacity?: number | undefined;
|
|
2956
3100
|
border?: {
|
|
2957
3101
|
opacity?: number | undefined;
|
|
@@ -2985,10 +3129,10 @@ export declare class ChartModel extends Disposable {
|
|
|
2985
3129
|
} | undefined;
|
|
2986
3130
|
dataPoints?: {
|
|
2987
3131
|
[x: number]: {
|
|
3132
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
2988
3133
|
fillOpacity?: number | undefined;
|
|
2989
|
-
shape?: import("..").LinePointShape | undefined;
|
|
2990
3134
|
size?: number | undefined;
|
|
2991
|
-
|
|
3135
|
+
shape?: import("..").LinePointShape | undefined;
|
|
2992
3136
|
} | undefined;
|
|
2993
3137
|
} | undefined;
|
|
2994
3138
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -2997,7 +3141,7 @@ export declare class ChartModel extends Disposable {
|
|
|
2997
3141
|
negative?: {
|
|
2998
3142
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
2999
3143
|
rightYAxis?: boolean | undefined;
|
|
3000
|
-
color?: import("@univerjs/core").Nullable<
|
|
3144
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3001
3145
|
fillOpacity?: number | undefined;
|
|
3002
3146
|
border?: {
|
|
3003
3147
|
opacity?: number | undefined;
|
|
@@ -3031,10 +3175,10 @@ export declare class ChartModel extends Disposable {
|
|
|
3031
3175
|
} | undefined;
|
|
3032
3176
|
dataPoints?: {
|
|
3033
3177
|
[x: number]: {
|
|
3178
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3034
3179
|
fillOpacity?: number | undefined;
|
|
3035
|
-
shape?: import("..").LinePointShape | undefined;
|
|
3036
3180
|
size?: number | undefined;
|
|
3037
|
-
|
|
3181
|
+
shape?: import("..").LinePointShape | undefined;
|
|
3038
3182
|
} | undefined;
|
|
3039
3183
|
} | undefined;
|
|
3040
3184
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -3043,7 +3187,7 @@ export declare class ChartModel extends Disposable {
|
|
|
3043
3187
|
subtotal?: {
|
|
3044
3188
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
3045
3189
|
rightYAxis?: boolean | undefined;
|
|
3046
|
-
color?: import("@univerjs/core").Nullable<
|
|
3190
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3047
3191
|
fillOpacity?: number | undefined;
|
|
3048
3192
|
border?: {
|
|
3049
3193
|
opacity?: number | undefined;
|
|
@@ -3077,10 +3221,10 @@ export declare class ChartModel extends Disposable {
|
|
|
3077
3221
|
} | undefined;
|
|
3078
3222
|
dataPoints?: {
|
|
3079
3223
|
[x: number]: {
|
|
3224
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3080
3225
|
fillOpacity?: number | undefined;
|
|
3081
|
-
shape?: import("..").LinePointShape | undefined;
|
|
3082
3226
|
size?: number | undefined;
|
|
3083
|
-
|
|
3227
|
+
shape?: import("..").LinePointShape | undefined;
|
|
3084
3228
|
} | undefined;
|
|
3085
3229
|
} | undefined;
|
|
3086
3230
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -3125,6 +3269,12 @@ export declare class ChartModel extends Disposable {
|
|
|
3125
3269
|
valueScale?: number | undefined;
|
|
3126
3270
|
valueSuffix?: string | undefined;
|
|
3127
3271
|
digitalFixed?: number | undefined;
|
|
3272
|
+
sliceStyles?: {
|
|
3273
|
+
[x: number]: {
|
|
3274
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3275
|
+
fillOpacity?: number | undefined;
|
|
3276
|
+
} | undefined;
|
|
3277
|
+
} | undefined;
|
|
3128
3278
|
} | undefined;
|
|
3129
3279
|
area?: {
|
|
3130
3280
|
lineStyle?: import("..").AreaLineStyle | undefined;
|
|
@@ -3178,7 +3328,7 @@ export declare class ChartModel extends Disposable {
|
|
|
3178
3328
|
lineStyle?: {
|
|
3179
3329
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
3180
3330
|
rightYAxis?: boolean | undefined;
|
|
3181
|
-
color?: import("@univerjs/core").Nullable<
|
|
3331
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3182
3332
|
fillOpacity?: number | undefined;
|
|
3183
3333
|
border?: {
|
|
3184
3334
|
opacity?: number | undefined;
|
|
@@ -3212,17 +3362,17 @@ export declare class ChartModel extends Disposable {
|
|
|
3212
3362
|
} | undefined;
|
|
3213
3363
|
dataPoints?: {
|
|
3214
3364
|
[x: number]: {
|
|
3365
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3215
3366
|
fillOpacity?: number | undefined;
|
|
3216
|
-
shape?: import("..").LinePointShape | undefined;
|
|
3217
3367
|
size?: number | undefined;
|
|
3218
|
-
|
|
3368
|
+
shape?: import("..").LinePointShape | undefined;
|
|
3219
3369
|
} | undefined;
|
|
3220
3370
|
} | undefined;
|
|
3221
3371
|
waterfall?: {
|
|
3222
3372
|
positive?: {
|
|
3223
3373
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
3224
3374
|
rightYAxis?: boolean | undefined;
|
|
3225
|
-
color?: import("@univerjs/core").Nullable<
|
|
3375
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3226
3376
|
fillOpacity?: number | undefined;
|
|
3227
3377
|
border?: {
|
|
3228
3378
|
opacity?: number | undefined;
|
|
@@ -3256,10 +3406,10 @@ export declare class ChartModel extends Disposable {
|
|
|
3256
3406
|
} | undefined;
|
|
3257
3407
|
dataPoints?: {
|
|
3258
3408
|
[x: number]: {
|
|
3409
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3259
3410
|
fillOpacity?: number | undefined;
|
|
3260
|
-
shape?: import("..").LinePointShape | undefined;
|
|
3261
3411
|
size?: number | undefined;
|
|
3262
|
-
|
|
3412
|
+
shape?: import("..").LinePointShape | undefined;
|
|
3263
3413
|
} | undefined;
|
|
3264
3414
|
} | undefined;
|
|
3265
3415
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -3268,7 +3418,7 @@ export declare class ChartModel extends Disposable {
|
|
|
3268
3418
|
negative?: {
|
|
3269
3419
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
3270
3420
|
rightYAxis?: boolean | undefined;
|
|
3271
|
-
color?: import("@univerjs/core").Nullable<
|
|
3421
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3272
3422
|
fillOpacity?: number | undefined;
|
|
3273
3423
|
border?: {
|
|
3274
3424
|
opacity?: number | undefined;
|
|
@@ -3302,10 +3452,10 @@ export declare class ChartModel extends Disposable {
|
|
|
3302
3452
|
} | undefined;
|
|
3303
3453
|
dataPoints?: {
|
|
3304
3454
|
[x: number]: {
|
|
3455
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3305
3456
|
fillOpacity?: number | undefined;
|
|
3306
|
-
shape?: import("..").LinePointShape | undefined;
|
|
3307
3457
|
size?: number | undefined;
|
|
3308
|
-
|
|
3458
|
+
shape?: import("..").LinePointShape | undefined;
|
|
3309
3459
|
} | undefined;
|
|
3310
3460
|
} | undefined;
|
|
3311
3461
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -3314,7 +3464,7 @@ export declare class ChartModel extends Disposable {
|
|
|
3314
3464
|
subtotal?: {
|
|
3315
3465
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
3316
3466
|
rightYAxis?: boolean | undefined;
|
|
3317
|
-
color?: import("@univerjs/core").Nullable<
|
|
3467
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3318
3468
|
fillOpacity?: number | undefined;
|
|
3319
3469
|
border?: {
|
|
3320
3470
|
opacity?: number | undefined;
|
|
@@ -3348,10 +3498,10 @@ export declare class ChartModel extends Disposable {
|
|
|
3348
3498
|
} | undefined;
|
|
3349
3499
|
dataPoints?: {
|
|
3350
3500
|
[x: number]: {
|
|
3501
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3351
3502
|
fillOpacity?: number | undefined;
|
|
3352
|
-
shape?: import("..").LinePointShape | undefined;
|
|
3353
3503
|
size?: number | undefined;
|
|
3354
|
-
|
|
3504
|
+
shape?: import("..").LinePointShape | undefined;
|
|
3355
3505
|
} | undefined;
|
|
3356
3506
|
} | undefined;
|
|
3357
3507
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -3362,7 +3512,7 @@ export declare class ChartModel extends Disposable {
|
|
|
3362
3512
|
barStyle?: {
|
|
3363
3513
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
3364
3514
|
rightYAxis?: boolean | undefined;
|
|
3365
|
-
color?: import("@univerjs/core").Nullable<
|
|
3515
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3366
3516
|
fillOpacity?: number | undefined;
|
|
3367
3517
|
border?: {
|
|
3368
3518
|
opacity?: number | undefined;
|
|
@@ -3396,17 +3546,17 @@ export declare class ChartModel extends Disposable {
|
|
|
3396
3546
|
} | undefined;
|
|
3397
3547
|
dataPoints?: {
|
|
3398
3548
|
[x: number]: {
|
|
3549
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3399
3550
|
fillOpacity?: number | undefined;
|
|
3400
|
-
shape?: import("..").LinePointShape | undefined;
|
|
3401
3551
|
size?: number | undefined;
|
|
3402
|
-
|
|
3552
|
+
shape?: import("..").LinePointShape | undefined;
|
|
3403
3553
|
} | undefined;
|
|
3404
3554
|
} | undefined;
|
|
3405
3555
|
waterfall?: {
|
|
3406
3556
|
positive?: {
|
|
3407
3557
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
3408
3558
|
rightYAxis?: boolean | undefined;
|
|
3409
|
-
color?: import("@univerjs/core").Nullable<
|
|
3559
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3410
3560
|
fillOpacity?: number | undefined;
|
|
3411
3561
|
border?: {
|
|
3412
3562
|
opacity?: number | undefined;
|
|
@@ -3440,10 +3590,10 @@ export declare class ChartModel extends Disposable {
|
|
|
3440
3590
|
} | undefined;
|
|
3441
3591
|
dataPoints?: {
|
|
3442
3592
|
[x: number]: {
|
|
3593
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3443
3594
|
fillOpacity?: number | undefined;
|
|
3444
|
-
shape?: import("..").LinePointShape | undefined;
|
|
3445
3595
|
size?: number | undefined;
|
|
3446
|
-
|
|
3596
|
+
shape?: import("..").LinePointShape | undefined;
|
|
3447
3597
|
} | undefined;
|
|
3448
3598
|
} | undefined;
|
|
3449
3599
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -3452,7 +3602,7 @@ export declare class ChartModel extends Disposable {
|
|
|
3452
3602
|
negative?: {
|
|
3453
3603
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
3454
3604
|
rightYAxis?: boolean | undefined;
|
|
3455
|
-
color?: import("@univerjs/core").Nullable<
|
|
3605
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3456
3606
|
fillOpacity?: number | undefined;
|
|
3457
3607
|
border?: {
|
|
3458
3608
|
opacity?: number | undefined;
|
|
@@ -3486,10 +3636,10 @@ export declare class ChartModel extends Disposable {
|
|
|
3486
3636
|
} | undefined;
|
|
3487
3637
|
dataPoints?: {
|
|
3488
3638
|
[x: number]: {
|
|
3639
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3489
3640
|
fillOpacity?: number | undefined;
|
|
3490
|
-
shape?: import("..").LinePointShape | undefined;
|
|
3491
3641
|
size?: number | undefined;
|
|
3492
|
-
|
|
3642
|
+
shape?: import("..").LinePointShape | undefined;
|
|
3493
3643
|
} | undefined;
|
|
3494
3644
|
} | undefined;
|
|
3495
3645
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -3498,7 +3648,7 @@ export declare class ChartModel extends Disposable {
|
|
|
3498
3648
|
subtotal?: {
|
|
3499
3649
|
chartType?: (ChartTypeBits.Line | ChartTypeBits.Column | ChartTypeBits.Area) | undefined;
|
|
3500
3650
|
rightYAxis?: boolean | undefined;
|
|
3501
|
-
color?: import("@univerjs/core").Nullable<
|
|
3651
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3502
3652
|
fillOpacity?: number | undefined;
|
|
3503
3653
|
border?: {
|
|
3504
3654
|
opacity?: number | undefined;
|
|
@@ -3532,10 +3682,10 @@ export declare class ChartModel extends Disposable {
|
|
|
3532
3682
|
} | undefined;
|
|
3533
3683
|
dataPoints?: {
|
|
3534
3684
|
[x: number]: {
|
|
3685
|
+
color?: import("@univerjs/core").Nullable<import("..").ChartColor>;
|
|
3535
3686
|
fillOpacity?: number | undefined;
|
|
3536
|
-
shape?: import("..").LinePointShape | undefined;
|
|
3537
3687
|
size?: number | undefined;
|
|
3538
|
-
|
|
3688
|
+
shape?: import("..").LinePointShape | undefined;
|
|
3539
3689
|
} | undefined;
|
|
3540
3690
|
} | undefined;
|
|
3541
3691
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -3570,6 +3720,54 @@ export declare class ChartModel extends Disposable {
|
|
|
3570
3720
|
rotate?: number | undefined;
|
|
3571
3721
|
} | undefined;
|
|
3572
3722
|
} | undefined;
|
|
3723
|
+
candlestick?: {
|
|
3724
|
+
rising?: {
|
|
3725
|
+
color?: string | undefined;
|
|
3726
|
+
fillOpacity?: number | undefined;
|
|
3727
|
+
border?: {
|
|
3728
|
+
color?: string | undefined;
|
|
3729
|
+
width?: number | undefined;
|
|
3730
|
+
opacity?: number | undefined;
|
|
3731
|
+
} | undefined;
|
|
3732
|
+
hollow?: boolean | undefined;
|
|
3733
|
+
} | undefined;
|
|
3734
|
+
falling?: {
|
|
3735
|
+
color?: string | undefined;
|
|
3736
|
+
fillOpacity?: number | undefined;
|
|
3737
|
+
border?: {
|
|
3738
|
+
color?: string | undefined;
|
|
3739
|
+
width?: number | undefined;
|
|
3740
|
+
opacity?: number | undefined;
|
|
3741
|
+
} | undefined;
|
|
3742
|
+
hollow?: boolean | undefined;
|
|
3743
|
+
} | undefined;
|
|
3744
|
+
doji?: {
|
|
3745
|
+
color?: string | undefined;
|
|
3746
|
+
fillOpacity?: number | undefined;
|
|
3747
|
+
border?: {
|
|
3748
|
+
color?: string | undefined;
|
|
3749
|
+
width?: number | undefined;
|
|
3750
|
+
opacity?: number | undefined;
|
|
3751
|
+
} | undefined;
|
|
3752
|
+
hollow?: boolean | undefined;
|
|
3753
|
+
} | undefined;
|
|
3754
|
+
candleWidth?: number | undefined;
|
|
3755
|
+
} | undefined;
|
|
3756
|
+
histogram?: {
|
|
3757
|
+
binGap?: number | undefined;
|
|
3758
|
+
} | undefined;
|
|
3759
|
+
treemap?: {
|
|
3760
|
+
parentLabelLayout?: import("..").TreemapParentLabelLayout | undefined;
|
|
3761
|
+
label?: {
|
|
3762
|
+
visible?: boolean | undefined;
|
|
3763
|
+
contentType?: import("..").LabelContentType | undefined;
|
|
3764
|
+
color?: string | undefined;
|
|
3765
|
+
fontSize?: number | undefined;
|
|
3766
|
+
bold?: boolean | undefined;
|
|
3767
|
+
italic?: boolean | undefined;
|
|
3768
|
+
family?: string | undefined;
|
|
3769
|
+
} | undefined;
|
|
3770
|
+
} | undefined;
|
|
3573
3771
|
};
|
|
3574
3772
|
get config(): IChartConfig | null;
|
|
3575
3773
|
protected _configSubscription: Subscription;
|
|
@@ -3580,12 +3778,18 @@ export declare class ChartModel extends Disposable {
|
|
|
3580
3778
|
chartThemeService: ChartThemeService;
|
|
3581
3779
|
};
|
|
3582
3780
|
getRuntimeContext(direction?: ChartStyle['direction']): IChartRuntimeContext;
|
|
3583
|
-
|
|
3584
|
-
|
|
3781
|
+
/** Deep-merges the supplied style patch into the current style. Unspecified fields are preserved. */
|
|
3782
|
+
assignStyle(newStyle: ChartStyle): void;
|
|
3783
|
+
/** Replaces the complete style group with a cloned value. */
|
|
3784
|
+
setStyle(style: ChartStyle): void;
|
|
3785
|
+
/** Deep-merges the supplied context patch into the current context. Unspecified fields are preserved. */
|
|
3585
3786
|
assignChartContext(context: Partial<IChartContext>): void;
|
|
3586
|
-
|
|
3787
|
+
/** Replaces the complete chart context with a cloned value. */
|
|
3788
|
+
setChartContext(context: IChartContext): void;
|
|
3789
|
+
/** Deep-merges the supplied aggregation patch into the current aggregation config. */
|
|
3587
3790
|
assignDataAggregation(config: Partial<IChartDataAggregation>): void;
|
|
3588
|
-
|
|
3791
|
+
/** Replaces the complete aggregation config with a cloned value. */
|
|
3792
|
+
setDataAggregation(config: IChartDataAggregation): void;
|
|
3589
3793
|
setChartType(type: ChartTypeBits): void;
|
|
3590
3794
|
serialize(): IChartSnapshot;
|
|
3591
3795
|
onDispose(effect: () => void): void;
|