@univerjs-pro/engine-chart 1.0.0-rc.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/chart-builder/chart-types.d.ts +10 -1
- package/lib/types/chart-builder/configuration/chart-config-group.d.ts +1 -0
- package/lib/types/chart-builder/conversion/chart-context-patch.d.ts +5 -2
- package/lib/types/chart-builder/conversion/chart-model-fields.d.ts +5 -0
- package/lib/types/chart-builder/conversion/describe-chart-model.d.ts +1030 -16
- package/lib/types/chart-text-measure-canvas.d.ts +1 -0
- package/lib/types/enum.d.ts +11 -1
- package/lib/types/facade/builders/f-scatter-chart-builder.d.ts +24 -0
- package/lib/types/facade/f-chart-builder-base.d.ts +22 -0
- package/lib/types/facade/f-chart.d.ts +22 -0
- package/lib/types/index.d.ts +3 -3
- package/lib/types/model/chart-data-operators/build-chart-data.d.ts +4 -0
- package/lib/types/model/chart-data-operators/index.d.ts +2 -0
- package/lib/types/model/chart-data-operators/operators.d.ts +25 -0
- package/lib/types/model/chart-locale-texts.d.ts +22 -0
- package/lib/types/model/chart-model.d.ts +3424 -0
- package/lib/types/model/chart-theme.service.d.ts +40 -0
- package/lib/types/model/constants/build-in-theme/default.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/index.d.ts +15 -0
- package/lib/types/model/constants/build-in-theme/theme-util.d.ts +5 -0
- package/lib/types/model/constants/build-in-theme/types.d.ts +76 -0
- package/lib/types/model/constants/build-in-theme/univer-gradient1.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/univer-gradient2.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/univer-gradient3.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/univer-gradient4.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/univer-gradient5.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/univer-gradient6.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/univer1.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/univer2.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/univer3.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/univer4.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/univer5.d.ts +2 -0
- package/lib/types/model/constants/build-in-theme/univer6.d.ts +2 -0
- package/lib/types/model/constants/default-chart-style.d.ts +114 -0
- package/lib/types/model/constants/default.d.ts +11 -0
- package/lib/types/model/data-context-transformers/bar-data-context-transformer.d.ts +3 -0
- package/lib/types/model/data-context-transformers/box-plot-data-context-transformer.d.ts +3 -0
- package/lib/types/model/data-context-transformers/line-like-context-transformer.d.ts +3 -0
- package/lib/types/model/data-context-transformers/pareto-data-context-transformer.d.ts +3 -0
- package/lib/types/model/data-context-transformers/percent-data-context-transformer.d.ts +3 -0
- package/lib/types/model/data-context-transformers/pie-data-context-transformer.d.ts +3 -0
- package/lib/types/model/data-context-transformers/word-cloud-data-context-transform.d.ts +3 -0
- package/lib/types/model/echart-render-model.d.ts +32 -0
- package/lib/types/model/echart-to-chart-model-init.d.ts +3 -0
- package/lib/types/model/mode-converter/converters/boxplot-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/bubble-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/combination-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/constants.d.ts +7 -0
- package/lib/types/model/mode-converter/converters/funnel-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/heatmap-chart-convert.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/pareto-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/pie-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/radar-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/relation-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/sankey-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/scatter-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/tools.d.ts +15 -0
- package/lib/types/model/mode-converter/converters/waterfall-chart-converter.d.ts +2 -0
- package/lib/types/model/mode-converter/converters/word-cloud-converter.d.ts +76 -0
- package/lib/types/model/mode-converter/mode-converter.d.ts +96 -0
- package/lib/types/model/mode-converter/render-spec-operators/axis-title.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/bubble-style.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/chart-axes.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/chart-box-style.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/empty-style-operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/font-size.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/grid-operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/heatmap-chart-operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/hover-mark-style.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/index.d.ts +13 -0
- package/lib/types/model/mode-converter/render-spec-operators/invalid-value-style.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/legend-style.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/line-like-style.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/operator-types.d.ts +7 -0
- package/lib/types/model/mode-converter/render-spec-operators/pie-style.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/radar-style.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/relation-chart-operator/relation-chart-operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/relation-chart-operator/relation-force-directed-layout.d.ts +28 -0
- package/lib/types/model/mode-converter/render-spec-operators/sankey-chart-operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/scatter-style.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/series-style-operator/pareto-series-style.handler.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/series-style-operator/series-chart-style.handler.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/series-style-operator/series-data-label.handler.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/series-style-operator/series-style-operator.d.ts +11 -0
- package/lib/types/model/mode-converter/render-spec-operators/series-style-operator/waterfall-series-style-operator.d.ts +3 -0
- package/lib/types/model/mode-converter/render-spec-operators/stack.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/theme.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/title-style.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/tool-tip-operator.d.ts +3 -0
- package/lib/types/model/mode-converter/render-spec-operators/tools.d.ts +26 -0
- package/lib/types/model/mode-converter/render-spec-operators/trend-line/trend-line.operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/trend-line/trendline-util.d.ts +13 -0
- package/lib/types/model/mode-converter/render-spec-operators/visual-map-operator.d.ts +2 -0
- package/lib/types/model/mode-converter/render-spec-operators/watermark.operator.d.ts +2 -0
- package/lib/types/model/spec-converter/spec-converter.d.ts +1 -0
- package/lib/types/model/word-cloud-musk-image.service.d.ts +17 -0
- package/lib/types/models/chart-context/chart-field-selection.d.ts +3 -7
- package/lib/types/models/chart-data/build-chart-data.d.ts +1 -1
- package/lib/types/models/chart-host/chart-license.d.ts +5 -0
- package/lib/types/models/chart-model/chart-model.d.ts +3093 -48
- package/lib/types/models/chart-render/axes/axis-placement.d.ts +19 -0
- package/lib/types/models/chart-render/chart-field-button-layout.d.ts +51 -0
- package/lib/types/models/chart-render/converter/calendar-date-axis.d.ts +7 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/date-axis-label-layout.d.ts +5 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/error-bars.operator.d.ts +3 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/grid-operator.d.ts +3 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/legend-size.d.ts +24 -1
- package/lib/types/models/chart-render/converter/render-spec-operators/multi-level-category-axis-layout.d.ts +2 -1
- package/lib/types/models/chart-render/converter/render-spec-operators/pie-auto-label-layout.d.ts +4 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/title-size.d.ts +10 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/tool-tip-operator.d.ts +2 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/tools.d.ts +6 -3
- package/lib/types/models/chart-render/converter/render-spec-operators/value-axis-scale.d.ts +9 -0
- package/lib/types/models/chart-render/echart-render-model/echart-render-engine.d.ts +1 -0
- package/lib/types/models/chart-render/format/pie-data-label.d.ts +9 -0
- package/lib/types/models/chart-render/style/chart-runtime-style.d.ts +2 -1
- package/lib/types/models/common/constants/default-chart-style.d.ts +2 -1
- package/lib/types/types.d.ts +142 -11
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
|
@@ -30,6 +30,7 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
30
30
|
fontSize?: number | undefined;
|
|
31
31
|
fontColor?: string | undefined;
|
|
32
32
|
fontFamily?: string | undefined;
|
|
33
|
+
eastAsiaFontFamily?: string | undefined;
|
|
33
34
|
borderColor?: import("@univerjs/core").Nullable<string>;
|
|
34
35
|
borderWidth?: number | undefined;
|
|
35
36
|
plotArea?: {
|
|
@@ -38,18 +39,21 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
38
39
|
width?: number | undefined;
|
|
39
40
|
height?: number | undefined;
|
|
40
41
|
} | undefined;
|
|
42
|
+
automaticLayout?: "powerpoint" | undefined;
|
|
41
43
|
titles?: {
|
|
42
44
|
title?: {
|
|
43
45
|
manualLayout?: {
|
|
44
46
|
left?: number | undefined;
|
|
45
47
|
top?: number | undefined;
|
|
46
48
|
} | undefined;
|
|
49
|
+
eastAsiaFontFamily?: string | undefined;
|
|
47
50
|
bold?: boolean | undefined;
|
|
48
51
|
italic?: boolean | undefined;
|
|
49
52
|
fontSize?: number | undefined;
|
|
50
53
|
color?: string | undefined;
|
|
51
54
|
rotate?: number | undefined;
|
|
52
55
|
family?: string | undefined;
|
|
56
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
53
57
|
content?: string | undefined;
|
|
54
58
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
55
59
|
strikethrough?: boolean | undefined;
|
|
@@ -58,18 +62,21 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
58
62
|
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
59
63
|
showMaxLabel?: boolean | undefined;
|
|
60
64
|
showMinLabel?: boolean | undefined;
|
|
65
|
+
autoRotate?: boolean | undefined;
|
|
61
66
|
} | undefined;
|
|
62
67
|
subtitle?: {
|
|
63
68
|
manualLayout?: {
|
|
64
69
|
left?: number | undefined;
|
|
65
70
|
top?: number | undefined;
|
|
66
71
|
} | undefined;
|
|
72
|
+
eastAsiaFontFamily?: string | undefined;
|
|
67
73
|
bold?: boolean | undefined;
|
|
68
74
|
italic?: boolean | undefined;
|
|
69
75
|
fontSize?: number | undefined;
|
|
70
76
|
color?: string | undefined;
|
|
71
77
|
rotate?: number | undefined;
|
|
72
78
|
family?: string | undefined;
|
|
79
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
73
80
|
content?: string | undefined;
|
|
74
81
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
75
82
|
strikethrough?: boolean | undefined;
|
|
@@ -78,14 +85,21 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
78
85
|
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
79
86
|
showMaxLabel?: boolean | undefined;
|
|
80
87
|
showMinLabel?: boolean | undefined;
|
|
88
|
+
autoRotate?: boolean | undefined;
|
|
81
89
|
} | undefined;
|
|
82
90
|
xAxisTitle?: {
|
|
91
|
+
manualLayout?: {
|
|
92
|
+
left?: number | undefined;
|
|
93
|
+
top?: number | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
eastAsiaFontFamily?: string | undefined;
|
|
83
96
|
bold?: boolean | undefined;
|
|
84
97
|
italic?: boolean | undefined;
|
|
85
98
|
fontSize?: number | undefined;
|
|
86
99
|
color?: string | undefined;
|
|
87
100
|
rotate?: number | undefined;
|
|
88
101
|
family?: string | undefined;
|
|
102
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
89
103
|
content?: string | undefined;
|
|
90
104
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
91
105
|
strikethrough?: boolean | undefined;
|
|
@@ -94,14 +108,21 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
94
108
|
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
95
109
|
showMaxLabel?: boolean | undefined;
|
|
96
110
|
showMinLabel?: boolean | undefined;
|
|
111
|
+
autoRotate?: boolean | undefined;
|
|
97
112
|
} | undefined;
|
|
98
113
|
yAxisTitle?: {
|
|
114
|
+
manualLayout?: {
|
|
115
|
+
left?: number | undefined;
|
|
116
|
+
top?: number | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
eastAsiaFontFamily?: string | undefined;
|
|
99
119
|
bold?: boolean | undefined;
|
|
100
120
|
italic?: boolean | undefined;
|
|
101
121
|
fontSize?: number | undefined;
|
|
102
122
|
color?: string | undefined;
|
|
103
123
|
rotate?: number | undefined;
|
|
104
124
|
family?: string | undefined;
|
|
125
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
105
126
|
content?: string | undefined;
|
|
106
127
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
107
128
|
strikethrough?: boolean | undefined;
|
|
@@ -110,14 +131,21 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
110
131
|
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
111
132
|
showMaxLabel?: boolean | undefined;
|
|
112
133
|
showMinLabel?: boolean | undefined;
|
|
134
|
+
autoRotate?: boolean | undefined;
|
|
113
135
|
} | undefined;
|
|
114
136
|
rightYAxisTitle?: {
|
|
137
|
+
manualLayout?: {
|
|
138
|
+
left?: number | undefined;
|
|
139
|
+
top?: number | undefined;
|
|
140
|
+
} | undefined;
|
|
141
|
+
eastAsiaFontFamily?: string | undefined;
|
|
115
142
|
bold?: boolean | undefined;
|
|
116
143
|
italic?: boolean | undefined;
|
|
117
144
|
fontSize?: number | undefined;
|
|
118
145
|
color?: string | undefined;
|
|
119
146
|
rotate?: number | undefined;
|
|
120
147
|
family?: string | undefined;
|
|
148
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
121
149
|
content?: string | undefined;
|
|
122
150
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
123
151
|
strikethrough?: boolean | undefined;
|
|
@@ -126,31 +154,48 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
126
154
|
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
127
155
|
showMaxLabel?: boolean | undefined;
|
|
128
156
|
showMinLabel?: boolean | undefined;
|
|
157
|
+
autoRotate?: boolean | undefined;
|
|
129
158
|
} | undefined;
|
|
130
159
|
titlePosition?: TitlePositionEnum | undefined;
|
|
131
160
|
} | undefined;
|
|
132
161
|
legend?: {
|
|
133
162
|
position?: LegendPositionEnum | undefined;
|
|
134
163
|
label?: {
|
|
164
|
+
eastAsiaFontFamily?: string | undefined;
|
|
135
165
|
bold?: boolean | undefined;
|
|
136
166
|
italic?: boolean | undefined;
|
|
137
167
|
fontSize?: number | undefined;
|
|
138
168
|
color?: string | undefined;
|
|
139
169
|
rotate?: number | undefined;
|
|
140
170
|
family?: string | undefined;
|
|
171
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
141
172
|
strikethrough?: boolean | undefined;
|
|
142
173
|
underline?: boolean | undefined;
|
|
143
174
|
padAngle?: boolean | undefined;
|
|
144
175
|
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
145
176
|
showMaxLabel?: boolean | undefined;
|
|
146
177
|
showMinLabel?: boolean | undefined;
|
|
178
|
+
autoRotate?: boolean | undefined;
|
|
147
179
|
} | undefined;
|
|
148
180
|
selectMode?: import("../..").SelectModeEnum | undefined;
|
|
149
181
|
wrap?: boolean | undefined;
|
|
182
|
+
keySize?: number | undefined;
|
|
183
|
+
keyWidth?: number | undefined;
|
|
184
|
+
seriesOrder?: number[] | undefined;
|
|
185
|
+
layout?: {
|
|
186
|
+
itemWidth?: number | undefined;
|
|
187
|
+
itemHeight?: number | undefined;
|
|
188
|
+
itemGap?: number | undefined;
|
|
189
|
+
uniformColumns?: boolean | undefined;
|
|
190
|
+
} | undefined;
|
|
150
191
|
} | undefined;
|
|
151
192
|
xAxis?: {
|
|
193
|
+
visible?: boolean | undefined;
|
|
194
|
+
crossing?: "autoZero" | "min" | "max" | number | undefined;
|
|
195
|
+
tickLabelPosition?: "nextTo" | "low" | "high" | "none" | undefined;
|
|
152
196
|
lineVisible?: boolean | undefined;
|
|
153
197
|
label?: {
|
|
198
|
+
eastAsiaFontFamily?: string | undefined;
|
|
154
199
|
bold?: boolean | undefined;
|
|
155
200
|
italic?: boolean | undefined;
|
|
156
201
|
fontSize?: number | undefined;
|
|
@@ -158,12 +203,14 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
158
203
|
visible?: boolean | undefined;
|
|
159
204
|
rotate?: number | undefined;
|
|
160
205
|
family?: string | undefined;
|
|
206
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
161
207
|
strikethrough?: boolean | undefined;
|
|
162
208
|
underline?: boolean | undefined;
|
|
163
209
|
padAngle?: boolean | undefined;
|
|
164
210
|
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
165
211
|
showMaxLabel?: boolean | undefined;
|
|
166
212
|
showMinLabel?: boolean | undefined;
|
|
213
|
+
autoRotate?: boolean | undefined;
|
|
167
214
|
} | undefined;
|
|
168
215
|
lineStyle?: {
|
|
169
216
|
visible?: boolean | undefined;
|
|
@@ -187,11 +234,19 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
187
234
|
reverse?: boolean | undefined;
|
|
188
235
|
min?: number | null | undefined;
|
|
189
236
|
max?: number | null | undefined;
|
|
237
|
+
majorUnit?: number | undefined;
|
|
238
|
+
autoScale?: "office" | undefined;
|
|
239
|
+
baseTimeUnit?: "days" | "months" | "years" | undefined;
|
|
240
|
+
majorTimeUnit?: "days" | "months" | "years" | undefined;
|
|
190
241
|
format?: string | undefined;
|
|
191
242
|
} | undefined;
|
|
192
243
|
yAxis?: {
|
|
244
|
+
visible?: boolean | undefined;
|
|
245
|
+
crossing?: "autoZero" | "min" | "max" | number | undefined;
|
|
246
|
+
tickLabelPosition?: "nextTo" | "low" | "high" | "none" | undefined;
|
|
193
247
|
lineVisible?: boolean | undefined;
|
|
194
248
|
label?: {
|
|
249
|
+
eastAsiaFontFamily?: string | undefined;
|
|
195
250
|
bold?: boolean | undefined;
|
|
196
251
|
italic?: boolean | undefined;
|
|
197
252
|
fontSize?: number | undefined;
|
|
@@ -199,12 +254,14 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
199
254
|
visible?: boolean | undefined;
|
|
200
255
|
rotate?: number | undefined;
|
|
201
256
|
family?: string | undefined;
|
|
257
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
202
258
|
strikethrough?: boolean | undefined;
|
|
203
259
|
underline?: boolean | undefined;
|
|
204
260
|
padAngle?: boolean | undefined;
|
|
205
261
|
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
206
262
|
showMaxLabel?: boolean | undefined;
|
|
207
263
|
showMinLabel?: boolean | undefined;
|
|
264
|
+
autoRotate?: boolean | undefined;
|
|
208
265
|
} | undefined;
|
|
209
266
|
lineStyle?: {
|
|
210
267
|
visible?: boolean | undefined;
|
|
@@ -228,10 +285,15 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
228
285
|
reverse?: boolean | undefined;
|
|
229
286
|
min?: number | null | undefined;
|
|
230
287
|
max?: number | null | undefined;
|
|
288
|
+
majorUnit?: number | undefined;
|
|
289
|
+
autoScale?: "office" | undefined;
|
|
290
|
+
baseTimeUnit?: "days" | "months" | "years" | undefined;
|
|
291
|
+
majorTimeUnit?: "days" | "months" | "years" | undefined;
|
|
231
292
|
format?: string | undefined;
|
|
232
293
|
} | undefined;
|
|
233
294
|
rightYAxis?: {
|
|
234
295
|
label?: {
|
|
296
|
+
eastAsiaFontFamily?: string | undefined;
|
|
235
297
|
bold?: boolean | undefined;
|
|
236
298
|
italic?: boolean | undefined;
|
|
237
299
|
fontSize?: number | undefined;
|
|
@@ -239,14 +301,17 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
239
301
|
visible?: boolean | undefined;
|
|
240
302
|
rotate?: number | undefined;
|
|
241
303
|
family?: string | undefined;
|
|
304
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
242
305
|
strikethrough?: boolean | undefined;
|
|
243
306
|
underline?: boolean | undefined;
|
|
244
307
|
padAngle?: boolean | undefined;
|
|
245
308
|
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
246
309
|
showMaxLabel?: boolean | undefined;
|
|
247
310
|
showMinLabel?: boolean | undefined;
|
|
311
|
+
autoRotate?: boolean | undefined;
|
|
248
312
|
} | undefined;
|
|
249
313
|
min?: number | null | undefined;
|
|
314
|
+
visible?: boolean | undefined;
|
|
250
315
|
max?: number | null | undefined;
|
|
251
316
|
tick?: {
|
|
252
317
|
visible?: boolean | undefined;
|
|
@@ -262,6 +327,8 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
262
327
|
width?: number | undefined;
|
|
263
328
|
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
264
329
|
} | undefined;
|
|
330
|
+
crossing?: "autoZero" | "min" | "max" | number | undefined;
|
|
331
|
+
tickLabelPosition?: "nextTo" | "low" | "high" | "none" | undefined;
|
|
265
332
|
lineVisible?: boolean | undefined;
|
|
266
333
|
lineStyle?: {
|
|
267
334
|
visible?: boolean | undefined;
|
|
@@ -269,22 +336,37 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
269
336
|
width?: number | undefined;
|
|
270
337
|
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
271
338
|
} | undefined;
|
|
339
|
+
majorUnit?: number | undefined;
|
|
340
|
+
autoScale?: "office" | undefined;
|
|
341
|
+
baseTimeUnit?: "days" | "months" | "years" | undefined;
|
|
342
|
+
majorTimeUnit?: "days" | "months" | "years" | undefined;
|
|
272
343
|
} | undefined;
|
|
273
344
|
allSeriesStyle?: {
|
|
274
345
|
label?: {
|
|
275
346
|
contentType?: number | undefined;
|
|
276
347
|
position?: SeriesLabelPosition | undefined;
|
|
277
348
|
format?: string | undefined;
|
|
349
|
+
pointFormats?: {
|
|
350
|
+
[x: number]: string | undefined;
|
|
351
|
+
} | undefined;
|
|
278
352
|
customValues?: {
|
|
279
353
|
[x: number]: string | undefined;
|
|
280
354
|
} | undefined;
|
|
355
|
+
showLabelLine?: boolean | undefined;
|
|
356
|
+
labelLineStyle?: {
|
|
357
|
+
width?: number | undefined;
|
|
358
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
359
|
+
opacity?: number | undefined;
|
|
360
|
+
} | undefined;
|
|
281
361
|
visible?: boolean | undefined;
|
|
282
362
|
content?: string | undefined;
|
|
283
363
|
fontSize?: number | undefined;
|
|
284
364
|
color?: string | undefined;
|
|
365
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
285
366
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
286
367
|
bold?: boolean | undefined;
|
|
287
368
|
family?: string | undefined;
|
|
369
|
+
eastAsiaFontFamily?: string | undefined;
|
|
288
370
|
strikethrough?: boolean | undefined;
|
|
289
371
|
italic?: boolean | undefined;
|
|
290
372
|
underline?: boolean | undefined;
|
|
@@ -293,20 +375,25 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
293
375
|
showMaxLabel?: boolean | undefined;
|
|
294
376
|
showMinLabel?: boolean | undefined;
|
|
295
377
|
rotate?: number | undefined;
|
|
378
|
+
autoRotate?: boolean | undefined;
|
|
296
379
|
} | undefined;
|
|
297
380
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
298
381
|
point?: {
|
|
382
|
+
visible?: boolean | undefined;
|
|
299
383
|
shape?: import("../..").LinePointShape | undefined;
|
|
300
384
|
size?: number | undefined;
|
|
301
385
|
color?: import("@univerjs/core").Nullable<string>;
|
|
302
386
|
} | undefined;
|
|
303
387
|
waterfall?: {
|
|
304
388
|
positive?: {
|
|
305
|
-
|
|
389
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
390
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
306
391
|
rightYAxis?: boolean | undefined;
|
|
392
|
+
smooth?: boolean | undefined;
|
|
307
393
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
308
394
|
fillOpacity?: number | undefined;
|
|
309
395
|
border?: {
|
|
396
|
+
visible?: boolean | undefined;
|
|
310
397
|
opacity?: number | undefined;
|
|
311
398
|
color?: import("@univerjs/core").Nullable<string>;
|
|
312
399
|
width?: number | undefined;
|
|
@@ -316,16 +403,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
316
403
|
contentType?: number | undefined;
|
|
317
404
|
position?: SeriesLabelPosition | undefined;
|
|
318
405
|
format?: string | undefined;
|
|
406
|
+
pointFormats?: {
|
|
407
|
+
[x: number]: string | undefined;
|
|
408
|
+
} | undefined;
|
|
319
409
|
customValues?: {
|
|
320
410
|
[x: number]: string | undefined;
|
|
321
411
|
} | undefined;
|
|
412
|
+
showLabelLine?: boolean | undefined;
|
|
413
|
+
labelLineStyle?: {
|
|
414
|
+
width?: number | undefined;
|
|
415
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
416
|
+
opacity?: number | undefined;
|
|
417
|
+
} | undefined;
|
|
322
418
|
visible?: boolean | undefined;
|
|
323
419
|
content?: string | undefined;
|
|
324
420
|
fontSize?: number | undefined;
|
|
325
421
|
color?: string | undefined;
|
|
422
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
326
423
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
327
424
|
bold?: boolean | undefined;
|
|
328
425
|
family?: string | undefined;
|
|
426
|
+
eastAsiaFontFamily?: string | undefined;
|
|
329
427
|
strikethrough?: boolean | undefined;
|
|
330
428
|
italic?: boolean | undefined;
|
|
331
429
|
underline?: boolean | undefined;
|
|
@@ -334,29 +432,78 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
334
432
|
showMaxLabel?: boolean | undefined;
|
|
335
433
|
showMinLabel?: boolean | undefined;
|
|
336
434
|
rotate?: number | undefined;
|
|
435
|
+
autoRotate?: boolean | undefined;
|
|
337
436
|
} | undefined;
|
|
338
437
|
point?: {
|
|
438
|
+
visible?: boolean | undefined;
|
|
339
439
|
shape?: import("../..").LinePointShape | undefined;
|
|
340
440
|
size?: number | undefined;
|
|
341
441
|
color?: import("@univerjs/core").Nullable<string>;
|
|
342
442
|
} | undefined;
|
|
343
443
|
dataPoints?: {
|
|
344
444
|
[x: number]: {
|
|
445
|
+
border?: {
|
|
446
|
+
visible?: boolean | undefined;
|
|
447
|
+
opacity?: number | undefined;
|
|
448
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
449
|
+
width?: number | undefined;
|
|
450
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
451
|
+
} | undefined;
|
|
452
|
+
label?: {
|
|
453
|
+
contentType?: number | undefined;
|
|
454
|
+
position?: SeriesLabelPosition | undefined;
|
|
455
|
+
format?: string | undefined;
|
|
456
|
+
pointFormats?: {
|
|
457
|
+
[x: number]: string | undefined;
|
|
458
|
+
} | undefined;
|
|
459
|
+
customValues?: {
|
|
460
|
+
[x: number]: string | undefined;
|
|
461
|
+
} | undefined;
|
|
462
|
+
showLabelLine?: boolean | undefined;
|
|
463
|
+
labelLineStyle?: {
|
|
464
|
+
width?: number | undefined;
|
|
465
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
466
|
+
opacity?: number | undefined;
|
|
467
|
+
} | undefined;
|
|
468
|
+
visible?: boolean | undefined;
|
|
469
|
+
content?: string | undefined;
|
|
470
|
+
fontSize?: number | undefined;
|
|
471
|
+
color?: string | undefined;
|
|
472
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
473
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
474
|
+
bold?: boolean | undefined;
|
|
475
|
+
family?: string | undefined;
|
|
476
|
+
eastAsiaFontFamily?: string | undefined;
|
|
477
|
+
strikethrough?: boolean | undefined;
|
|
478
|
+
italic?: boolean | undefined;
|
|
479
|
+
underline?: boolean | undefined;
|
|
480
|
+
padAngle?: boolean | undefined;
|
|
481
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
482
|
+
showMaxLabel?: boolean | undefined;
|
|
483
|
+
showMinLabel?: boolean | undefined;
|
|
484
|
+
rotate?: number | undefined;
|
|
485
|
+
autoRotate?: boolean | undefined;
|
|
486
|
+
offset?: [number, number] | undefined;
|
|
487
|
+
} | undefined;
|
|
345
488
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
346
489
|
fillOpacity?: number | undefined;
|
|
347
490
|
size?: number | undefined;
|
|
348
491
|
shape?: import("../..").LinePointShape | undefined;
|
|
492
|
+
visible?: boolean | undefined;
|
|
349
493
|
} | undefined;
|
|
350
494
|
} | undefined;
|
|
351
495
|
waterfall?: /*elided*/ any | undefined;
|
|
352
496
|
name?: string | undefined;
|
|
353
497
|
} | undefined;
|
|
354
498
|
negative?: {
|
|
355
|
-
|
|
499
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
500
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
356
501
|
rightYAxis?: boolean | undefined;
|
|
502
|
+
smooth?: boolean | undefined;
|
|
357
503
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
358
504
|
fillOpacity?: number | undefined;
|
|
359
505
|
border?: {
|
|
506
|
+
visible?: boolean | undefined;
|
|
360
507
|
opacity?: number | undefined;
|
|
361
508
|
color?: import("@univerjs/core").Nullable<string>;
|
|
362
509
|
width?: number | undefined;
|
|
@@ -366,16 +513,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
366
513
|
contentType?: number | undefined;
|
|
367
514
|
position?: SeriesLabelPosition | undefined;
|
|
368
515
|
format?: string | undefined;
|
|
516
|
+
pointFormats?: {
|
|
517
|
+
[x: number]: string | undefined;
|
|
518
|
+
} | undefined;
|
|
369
519
|
customValues?: {
|
|
370
520
|
[x: number]: string | undefined;
|
|
371
521
|
} | undefined;
|
|
522
|
+
showLabelLine?: boolean | undefined;
|
|
523
|
+
labelLineStyle?: {
|
|
524
|
+
width?: number | undefined;
|
|
525
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
526
|
+
opacity?: number | undefined;
|
|
527
|
+
} | undefined;
|
|
372
528
|
visible?: boolean | undefined;
|
|
373
529
|
content?: string | undefined;
|
|
374
530
|
fontSize?: number | undefined;
|
|
375
531
|
color?: string | undefined;
|
|
532
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
376
533
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
377
534
|
bold?: boolean | undefined;
|
|
378
535
|
family?: string | undefined;
|
|
536
|
+
eastAsiaFontFamily?: string | undefined;
|
|
379
537
|
strikethrough?: boolean | undefined;
|
|
380
538
|
italic?: boolean | undefined;
|
|
381
539
|
underline?: boolean | undefined;
|
|
@@ -384,29 +542,78 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
384
542
|
showMaxLabel?: boolean | undefined;
|
|
385
543
|
showMinLabel?: boolean | undefined;
|
|
386
544
|
rotate?: number | undefined;
|
|
545
|
+
autoRotate?: boolean | undefined;
|
|
387
546
|
} | undefined;
|
|
388
547
|
point?: {
|
|
548
|
+
visible?: boolean | undefined;
|
|
389
549
|
shape?: import("../..").LinePointShape | undefined;
|
|
390
550
|
size?: number | undefined;
|
|
391
551
|
color?: import("@univerjs/core").Nullable<string>;
|
|
392
552
|
} | undefined;
|
|
393
553
|
dataPoints?: {
|
|
394
554
|
[x: number]: {
|
|
555
|
+
border?: {
|
|
556
|
+
visible?: boolean | undefined;
|
|
557
|
+
opacity?: number | undefined;
|
|
558
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
559
|
+
width?: number | undefined;
|
|
560
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
561
|
+
} | undefined;
|
|
562
|
+
label?: {
|
|
563
|
+
contentType?: number | undefined;
|
|
564
|
+
position?: SeriesLabelPosition | undefined;
|
|
565
|
+
format?: string | undefined;
|
|
566
|
+
pointFormats?: {
|
|
567
|
+
[x: number]: string | undefined;
|
|
568
|
+
} | undefined;
|
|
569
|
+
customValues?: {
|
|
570
|
+
[x: number]: string | undefined;
|
|
571
|
+
} | undefined;
|
|
572
|
+
showLabelLine?: boolean | undefined;
|
|
573
|
+
labelLineStyle?: {
|
|
574
|
+
width?: number | undefined;
|
|
575
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
576
|
+
opacity?: number | undefined;
|
|
577
|
+
} | undefined;
|
|
578
|
+
visible?: boolean | undefined;
|
|
579
|
+
content?: string | undefined;
|
|
580
|
+
fontSize?: number | undefined;
|
|
581
|
+
color?: string | undefined;
|
|
582
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
583
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
584
|
+
bold?: boolean | undefined;
|
|
585
|
+
family?: string | undefined;
|
|
586
|
+
eastAsiaFontFamily?: string | undefined;
|
|
587
|
+
strikethrough?: boolean | undefined;
|
|
588
|
+
italic?: boolean | undefined;
|
|
589
|
+
underline?: boolean | undefined;
|
|
590
|
+
padAngle?: boolean | undefined;
|
|
591
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
592
|
+
showMaxLabel?: boolean | undefined;
|
|
593
|
+
showMinLabel?: boolean | undefined;
|
|
594
|
+
rotate?: number | undefined;
|
|
595
|
+
autoRotate?: boolean | undefined;
|
|
596
|
+
offset?: [number, number] | undefined;
|
|
597
|
+
} | undefined;
|
|
395
598
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
396
599
|
fillOpacity?: number | undefined;
|
|
397
600
|
size?: number | undefined;
|
|
398
601
|
shape?: import("../..").LinePointShape | undefined;
|
|
602
|
+
visible?: boolean | undefined;
|
|
399
603
|
} | undefined;
|
|
400
604
|
} | undefined;
|
|
401
605
|
waterfall?: /*elided*/ any | undefined;
|
|
402
606
|
name?: string | undefined;
|
|
403
607
|
} | undefined;
|
|
404
608
|
subtotal?: {
|
|
405
|
-
|
|
609
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
610
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
406
611
|
rightYAxis?: boolean | undefined;
|
|
612
|
+
smooth?: boolean | undefined;
|
|
407
613
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
408
614
|
fillOpacity?: number | undefined;
|
|
409
615
|
border?: {
|
|
616
|
+
visible?: boolean | undefined;
|
|
410
617
|
opacity?: number | undefined;
|
|
411
618
|
color?: import("@univerjs/core").Nullable<string>;
|
|
412
619
|
width?: number | undefined;
|
|
@@ -416,16 +623,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
416
623
|
contentType?: number | undefined;
|
|
417
624
|
position?: SeriesLabelPosition | undefined;
|
|
418
625
|
format?: string | undefined;
|
|
626
|
+
pointFormats?: {
|
|
627
|
+
[x: number]: string | undefined;
|
|
628
|
+
} | undefined;
|
|
419
629
|
customValues?: {
|
|
420
630
|
[x: number]: string | undefined;
|
|
421
631
|
} | undefined;
|
|
632
|
+
showLabelLine?: boolean | undefined;
|
|
633
|
+
labelLineStyle?: {
|
|
634
|
+
width?: number | undefined;
|
|
635
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
636
|
+
opacity?: number | undefined;
|
|
637
|
+
} | undefined;
|
|
422
638
|
visible?: boolean | undefined;
|
|
423
639
|
content?: string | undefined;
|
|
424
640
|
fontSize?: number | undefined;
|
|
425
641
|
color?: string | undefined;
|
|
642
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
426
643
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
427
644
|
bold?: boolean | undefined;
|
|
428
645
|
family?: string | undefined;
|
|
646
|
+
eastAsiaFontFamily?: string | undefined;
|
|
429
647
|
strikethrough?: boolean | undefined;
|
|
430
648
|
italic?: boolean | undefined;
|
|
431
649
|
underline?: boolean | undefined;
|
|
@@ -434,40 +652,91 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
434
652
|
showMaxLabel?: boolean | undefined;
|
|
435
653
|
showMinLabel?: boolean | undefined;
|
|
436
654
|
rotate?: number | undefined;
|
|
655
|
+
autoRotate?: boolean | undefined;
|
|
437
656
|
} | undefined;
|
|
438
657
|
point?: {
|
|
658
|
+
visible?: boolean | undefined;
|
|
439
659
|
shape?: import("../..").LinePointShape | undefined;
|
|
440
660
|
size?: number | undefined;
|
|
441
661
|
color?: import("@univerjs/core").Nullable<string>;
|
|
442
662
|
} | undefined;
|
|
443
663
|
dataPoints?: {
|
|
444
664
|
[x: number]: {
|
|
665
|
+
border?: {
|
|
666
|
+
visible?: boolean | undefined;
|
|
667
|
+
opacity?: number | undefined;
|
|
668
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
669
|
+
width?: number | undefined;
|
|
670
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
671
|
+
} | undefined;
|
|
672
|
+
label?: {
|
|
673
|
+
contentType?: number | undefined;
|
|
674
|
+
position?: SeriesLabelPosition | undefined;
|
|
675
|
+
format?: string | undefined;
|
|
676
|
+
pointFormats?: {
|
|
677
|
+
[x: number]: string | undefined;
|
|
678
|
+
} | undefined;
|
|
679
|
+
customValues?: {
|
|
680
|
+
[x: number]: string | undefined;
|
|
681
|
+
} | undefined;
|
|
682
|
+
showLabelLine?: boolean | undefined;
|
|
683
|
+
labelLineStyle?: {
|
|
684
|
+
width?: number | undefined;
|
|
685
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
686
|
+
opacity?: number | undefined;
|
|
687
|
+
} | undefined;
|
|
688
|
+
visible?: boolean | undefined;
|
|
689
|
+
content?: string | undefined;
|
|
690
|
+
fontSize?: number | undefined;
|
|
691
|
+
color?: string | undefined;
|
|
692
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
693
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
694
|
+
bold?: boolean | undefined;
|
|
695
|
+
family?: string | undefined;
|
|
696
|
+
eastAsiaFontFamily?: string | undefined;
|
|
697
|
+
strikethrough?: boolean | undefined;
|
|
698
|
+
italic?: boolean | undefined;
|
|
699
|
+
underline?: boolean | undefined;
|
|
700
|
+
padAngle?: boolean | undefined;
|
|
701
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
702
|
+
showMaxLabel?: boolean | undefined;
|
|
703
|
+
showMinLabel?: boolean | undefined;
|
|
704
|
+
rotate?: number | undefined;
|
|
705
|
+
autoRotate?: boolean | undefined;
|
|
706
|
+
offset?: [number, number] | undefined;
|
|
707
|
+
} | undefined;
|
|
445
708
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
446
709
|
fillOpacity?: number | undefined;
|
|
447
710
|
size?: number | undefined;
|
|
448
711
|
shape?: import("../..").LinePointShape | undefined;
|
|
712
|
+
visible?: boolean | undefined;
|
|
449
713
|
} | undefined;
|
|
450
714
|
} | undefined;
|
|
451
715
|
waterfall?: /*elided*/ any | undefined;
|
|
452
716
|
name?: string | undefined;
|
|
453
717
|
} | undefined;
|
|
454
718
|
} | undefined;
|
|
455
|
-
fillOpacity?: number | undefined;
|
|
456
719
|
border?: {
|
|
720
|
+
visible?: boolean | undefined;
|
|
457
721
|
opacity?: number | undefined;
|
|
458
722
|
color?: import("@univerjs/core").Nullable<string>;
|
|
459
723
|
width?: number | undefined;
|
|
460
724
|
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
461
725
|
} | undefined;
|
|
726
|
+
fillOpacity?: number | undefined;
|
|
727
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
462
728
|
rightYAxis?: boolean | undefined;
|
|
463
729
|
} | undefined;
|
|
464
730
|
seriesStyleMap?: {
|
|
465
731
|
[x: string]: {
|
|
466
|
-
|
|
732
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
733
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
467
734
|
rightYAxis?: boolean | undefined;
|
|
735
|
+
smooth?: boolean | undefined;
|
|
468
736
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
469
737
|
fillOpacity?: number | undefined;
|
|
470
738
|
border?: {
|
|
739
|
+
visible?: boolean | undefined;
|
|
471
740
|
opacity?: number | undefined;
|
|
472
741
|
color?: import("@univerjs/core").Nullable<string>;
|
|
473
742
|
width?: number | undefined;
|
|
@@ -477,16 +746,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
477
746
|
contentType?: number | undefined;
|
|
478
747
|
position?: SeriesLabelPosition | undefined;
|
|
479
748
|
format?: string | undefined;
|
|
749
|
+
pointFormats?: {
|
|
750
|
+
[x: number]: string | undefined;
|
|
751
|
+
} | undefined;
|
|
480
752
|
customValues?: {
|
|
481
753
|
[x: number]: string | undefined;
|
|
482
754
|
} | undefined;
|
|
755
|
+
showLabelLine?: boolean | undefined;
|
|
756
|
+
labelLineStyle?: {
|
|
757
|
+
width?: number | undefined;
|
|
758
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
759
|
+
opacity?: number | undefined;
|
|
760
|
+
} | undefined;
|
|
483
761
|
visible?: boolean | undefined;
|
|
484
762
|
content?: string | undefined;
|
|
485
763
|
fontSize?: number | undefined;
|
|
486
764
|
color?: string | undefined;
|
|
765
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
487
766
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
488
767
|
bold?: boolean | undefined;
|
|
489
768
|
family?: string | undefined;
|
|
769
|
+
eastAsiaFontFamily?: string | undefined;
|
|
490
770
|
strikethrough?: boolean | undefined;
|
|
491
771
|
italic?: boolean | undefined;
|
|
492
772
|
underline?: boolean | undefined;
|
|
@@ -495,27 +775,76 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
495
775
|
showMaxLabel?: boolean | undefined;
|
|
496
776
|
showMinLabel?: boolean | undefined;
|
|
497
777
|
rotate?: number | undefined;
|
|
778
|
+
autoRotate?: boolean | undefined;
|
|
498
779
|
} | undefined;
|
|
499
780
|
point?: {
|
|
781
|
+
visible?: boolean | undefined;
|
|
500
782
|
shape?: import("../..").LinePointShape | undefined;
|
|
501
783
|
size?: number | undefined;
|
|
502
784
|
color?: import("@univerjs/core").Nullable<string>;
|
|
503
785
|
} | undefined;
|
|
504
786
|
dataPoints?: {
|
|
505
787
|
[x: number]: {
|
|
788
|
+
border?: {
|
|
789
|
+
visible?: boolean | undefined;
|
|
790
|
+
opacity?: number | undefined;
|
|
791
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
792
|
+
width?: number | undefined;
|
|
793
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
794
|
+
} | undefined;
|
|
795
|
+
label?: {
|
|
796
|
+
contentType?: number | undefined;
|
|
797
|
+
position?: SeriesLabelPosition | undefined;
|
|
798
|
+
format?: string | undefined;
|
|
799
|
+
pointFormats?: {
|
|
800
|
+
[x: number]: string | undefined;
|
|
801
|
+
} | undefined;
|
|
802
|
+
customValues?: {
|
|
803
|
+
[x: number]: string | undefined;
|
|
804
|
+
} | undefined;
|
|
805
|
+
showLabelLine?: boolean | undefined;
|
|
806
|
+
labelLineStyle?: {
|
|
807
|
+
width?: number | undefined;
|
|
808
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
809
|
+
opacity?: number | undefined;
|
|
810
|
+
} | undefined;
|
|
811
|
+
visible?: boolean | undefined;
|
|
812
|
+
content?: string | undefined;
|
|
813
|
+
fontSize?: number | undefined;
|
|
814
|
+
color?: string | undefined;
|
|
815
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
816
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
817
|
+
bold?: boolean | undefined;
|
|
818
|
+
family?: string | undefined;
|
|
819
|
+
eastAsiaFontFamily?: string | undefined;
|
|
820
|
+
strikethrough?: boolean | undefined;
|
|
821
|
+
italic?: boolean | undefined;
|
|
822
|
+
underline?: boolean | undefined;
|
|
823
|
+
padAngle?: boolean | undefined;
|
|
824
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
825
|
+
showMaxLabel?: boolean | undefined;
|
|
826
|
+
showMinLabel?: boolean | undefined;
|
|
827
|
+
rotate?: number | undefined;
|
|
828
|
+
autoRotate?: boolean | undefined;
|
|
829
|
+
offset?: [number, number] | undefined;
|
|
830
|
+
} | undefined;
|
|
506
831
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
507
832
|
fillOpacity?: number | undefined;
|
|
508
833
|
size?: number | undefined;
|
|
509
834
|
shape?: import("../..").LinePointShape | undefined;
|
|
835
|
+
visible?: boolean | undefined;
|
|
510
836
|
} | undefined;
|
|
511
837
|
} | undefined;
|
|
512
838
|
waterfall?: {
|
|
513
839
|
positive?: {
|
|
514
|
-
|
|
840
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
841
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
515
842
|
rightYAxis?: boolean | undefined;
|
|
843
|
+
smooth?: boolean | undefined;
|
|
516
844
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
517
845
|
fillOpacity?: number | undefined;
|
|
518
846
|
border?: {
|
|
847
|
+
visible?: boolean | undefined;
|
|
519
848
|
opacity?: number | undefined;
|
|
520
849
|
color?: import("@univerjs/core").Nullable<string>;
|
|
521
850
|
width?: number | undefined;
|
|
@@ -525,16 +854,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
525
854
|
contentType?: number | undefined;
|
|
526
855
|
position?: SeriesLabelPosition | undefined;
|
|
527
856
|
format?: string | undefined;
|
|
857
|
+
pointFormats?: {
|
|
858
|
+
[x: number]: string | undefined;
|
|
859
|
+
} | undefined;
|
|
528
860
|
customValues?: {
|
|
529
861
|
[x: number]: string | undefined;
|
|
530
862
|
} | undefined;
|
|
863
|
+
showLabelLine?: boolean | undefined;
|
|
864
|
+
labelLineStyle?: {
|
|
865
|
+
width?: number | undefined;
|
|
866
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
867
|
+
opacity?: number | undefined;
|
|
868
|
+
} | undefined;
|
|
531
869
|
visible?: boolean | undefined;
|
|
532
870
|
content?: string | undefined;
|
|
533
871
|
fontSize?: number | undefined;
|
|
534
872
|
color?: string | undefined;
|
|
873
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
535
874
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
536
875
|
bold?: boolean | undefined;
|
|
537
876
|
family?: string | undefined;
|
|
877
|
+
eastAsiaFontFamily?: string | undefined;
|
|
538
878
|
strikethrough?: boolean | undefined;
|
|
539
879
|
italic?: boolean | undefined;
|
|
540
880
|
underline?: boolean | undefined;
|
|
@@ -543,29 +883,78 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
543
883
|
showMaxLabel?: boolean | undefined;
|
|
544
884
|
showMinLabel?: boolean | undefined;
|
|
545
885
|
rotate?: number | undefined;
|
|
886
|
+
autoRotate?: boolean | undefined;
|
|
546
887
|
} | undefined;
|
|
547
888
|
point?: {
|
|
889
|
+
visible?: boolean | undefined;
|
|
548
890
|
shape?: import("../..").LinePointShape | undefined;
|
|
549
891
|
size?: number | undefined;
|
|
550
892
|
color?: import("@univerjs/core").Nullable<string>;
|
|
551
893
|
} | undefined;
|
|
552
894
|
dataPoints?: {
|
|
553
895
|
[x: number]: {
|
|
896
|
+
border?: {
|
|
897
|
+
visible?: boolean | undefined;
|
|
898
|
+
opacity?: number | undefined;
|
|
899
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
900
|
+
width?: number | undefined;
|
|
901
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
902
|
+
} | undefined;
|
|
903
|
+
label?: {
|
|
904
|
+
contentType?: number | undefined;
|
|
905
|
+
position?: SeriesLabelPosition | undefined;
|
|
906
|
+
format?: string | undefined;
|
|
907
|
+
pointFormats?: {
|
|
908
|
+
[x: number]: string | undefined;
|
|
909
|
+
} | undefined;
|
|
910
|
+
customValues?: {
|
|
911
|
+
[x: number]: string | undefined;
|
|
912
|
+
} | undefined;
|
|
913
|
+
showLabelLine?: boolean | undefined;
|
|
914
|
+
labelLineStyle?: {
|
|
915
|
+
width?: number | undefined;
|
|
916
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
917
|
+
opacity?: number | undefined;
|
|
918
|
+
} | undefined;
|
|
919
|
+
visible?: boolean | undefined;
|
|
920
|
+
content?: string | undefined;
|
|
921
|
+
fontSize?: number | undefined;
|
|
922
|
+
color?: string | undefined;
|
|
923
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
924
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
925
|
+
bold?: boolean | undefined;
|
|
926
|
+
family?: string | undefined;
|
|
927
|
+
eastAsiaFontFamily?: string | undefined;
|
|
928
|
+
strikethrough?: boolean | undefined;
|
|
929
|
+
italic?: boolean | undefined;
|
|
930
|
+
underline?: boolean | undefined;
|
|
931
|
+
padAngle?: boolean | undefined;
|
|
932
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
933
|
+
showMaxLabel?: boolean | undefined;
|
|
934
|
+
showMinLabel?: boolean | undefined;
|
|
935
|
+
rotate?: number | undefined;
|
|
936
|
+
autoRotate?: boolean | undefined;
|
|
937
|
+
offset?: [number, number] | undefined;
|
|
938
|
+
} | undefined;
|
|
554
939
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
555
940
|
fillOpacity?: number | undefined;
|
|
556
941
|
size?: number | undefined;
|
|
557
942
|
shape?: import("../..").LinePointShape | undefined;
|
|
943
|
+
visible?: boolean | undefined;
|
|
558
944
|
} | undefined;
|
|
559
945
|
} | undefined;
|
|
560
946
|
waterfall?: /*elided*/ any | undefined;
|
|
561
947
|
name?: string | undefined;
|
|
562
948
|
} | undefined;
|
|
563
949
|
negative?: {
|
|
564
|
-
|
|
950
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
951
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
565
952
|
rightYAxis?: boolean | undefined;
|
|
953
|
+
smooth?: boolean | undefined;
|
|
566
954
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
567
955
|
fillOpacity?: number | undefined;
|
|
568
956
|
border?: {
|
|
957
|
+
visible?: boolean | undefined;
|
|
569
958
|
opacity?: number | undefined;
|
|
570
959
|
color?: import("@univerjs/core").Nullable<string>;
|
|
571
960
|
width?: number | undefined;
|
|
@@ -575,16 +964,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
575
964
|
contentType?: number | undefined;
|
|
576
965
|
position?: SeriesLabelPosition | undefined;
|
|
577
966
|
format?: string | undefined;
|
|
967
|
+
pointFormats?: {
|
|
968
|
+
[x: number]: string | undefined;
|
|
969
|
+
} | undefined;
|
|
578
970
|
customValues?: {
|
|
579
971
|
[x: number]: string | undefined;
|
|
580
972
|
} | undefined;
|
|
973
|
+
showLabelLine?: boolean | undefined;
|
|
974
|
+
labelLineStyle?: {
|
|
975
|
+
width?: number | undefined;
|
|
976
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
977
|
+
opacity?: number | undefined;
|
|
978
|
+
} | undefined;
|
|
581
979
|
visible?: boolean | undefined;
|
|
582
980
|
content?: string | undefined;
|
|
583
981
|
fontSize?: number | undefined;
|
|
584
982
|
color?: string | undefined;
|
|
983
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
585
984
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
586
985
|
bold?: boolean | undefined;
|
|
587
986
|
family?: string | undefined;
|
|
987
|
+
eastAsiaFontFamily?: string | undefined;
|
|
588
988
|
strikethrough?: boolean | undefined;
|
|
589
989
|
italic?: boolean | undefined;
|
|
590
990
|
underline?: boolean | undefined;
|
|
@@ -593,29 +993,78 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
593
993
|
showMaxLabel?: boolean | undefined;
|
|
594
994
|
showMinLabel?: boolean | undefined;
|
|
595
995
|
rotate?: number | undefined;
|
|
996
|
+
autoRotate?: boolean | undefined;
|
|
596
997
|
} | undefined;
|
|
597
998
|
point?: {
|
|
999
|
+
visible?: boolean | undefined;
|
|
598
1000
|
shape?: import("../..").LinePointShape | undefined;
|
|
599
1001
|
size?: number | undefined;
|
|
600
1002
|
color?: import("@univerjs/core").Nullable<string>;
|
|
601
1003
|
} | undefined;
|
|
602
1004
|
dataPoints?: {
|
|
603
1005
|
[x: number]: {
|
|
1006
|
+
border?: {
|
|
1007
|
+
visible?: boolean | undefined;
|
|
1008
|
+
opacity?: number | undefined;
|
|
1009
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1010
|
+
width?: number | undefined;
|
|
1011
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
1012
|
+
} | undefined;
|
|
1013
|
+
label?: {
|
|
1014
|
+
contentType?: number | undefined;
|
|
1015
|
+
position?: SeriesLabelPosition | undefined;
|
|
1016
|
+
format?: string | undefined;
|
|
1017
|
+
pointFormats?: {
|
|
1018
|
+
[x: number]: string | undefined;
|
|
1019
|
+
} | undefined;
|
|
1020
|
+
customValues?: {
|
|
1021
|
+
[x: number]: string | undefined;
|
|
1022
|
+
} | undefined;
|
|
1023
|
+
showLabelLine?: boolean | undefined;
|
|
1024
|
+
labelLineStyle?: {
|
|
1025
|
+
width?: number | undefined;
|
|
1026
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1027
|
+
opacity?: number | undefined;
|
|
1028
|
+
} | undefined;
|
|
1029
|
+
visible?: boolean | undefined;
|
|
1030
|
+
content?: string | undefined;
|
|
1031
|
+
fontSize?: number | undefined;
|
|
1032
|
+
color?: string | undefined;
|
|
1033
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1034
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
1035
|
+
bold?: boolean | undefined;
|
|
1036
|
+
family?: string | undefined;
|
|
1037
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1038
|
+
strikethrough?: boolean | undefined;
|
|
1039
|
+
italic?: boolean | undefined;
|
|
1040
|
+
underline?: boolean | undefined;
|
|
1041
|
+
padAngle?: boolean | undefined;
|
|
1042
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
1043
|
+
showMaxLabel?: boolean | undefined;
|
|
1044
|
+
showMinLabel?: boolean | undefined;
|
|
1045
|
+
rotate?: number | undefined;
|
|
1046
|
+
autoRotate?: boolean | undefined;
|
|
1047
|
+
offset?: [number, number] | undefined;
|
|
1048
|
+
} | undefined;
|
|
604
1049
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
605
1050
|
fillOpacity?: number | undefined;
|
|
606
1051
|
size?: number | undefined;
|
|
607
1052
|
shape?: import("../..").LinePointShape | undefined;
|
|
1053
|
+
visible?: boolean | undefined;
|
|
608
1054
|
} | undefined;
|
|
609
1055
|
} | undefined;
|
|
610
1056
|
waterfall?: /*elided*/ any | undefined;
|
|
611
1057
|
name?: string | undefined;
|
|
612
1058
|
} | undefined;
|
|
613
1059
|
subtotal?: {
|
|
614
|
-
|
|
1060
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
1061
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
615
1062
|
rightYAxis?: boolean | undefined;
|
|
1063
|
+
smooth?: boolean | undefined;
|
|
616
1064
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
617
1065
|
fillOpacity?: number | undefined;
|
|
618
1066
|
border?: {
|
|
1067
|
+
visible?: boolean | undefined;
|
|
619
1068
|
opacity?: number | undefined;
|
|
620
1069
|
color?: import("@univerjs/core").Nullable<string>;
|
|
621
1070
|
width?: number | undefined;
|
|
@@ -625,16 +1074,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
625
1074
|
contentType?: number | undefined;
|
|
626
1075
|
position?: SeriesLabelPosition | undefined;
|
|
627
1076
|
format?: string | undefined;
|
|
1077
|
+
pointFormats?: {
|
|
1078
|
+
[x: number]: string | undefined;
|
|
1079
|
+
} | undefined;
|
|
628
1080
|
customValues?: {
|
|
629
1081
|
[x: number]: string | undefined;
|
|
630
1082
|
} | undefined;
|
|
1083
|
+
showLabelLine?: boolean | undefined;
|
|
1084
|
+
labelLineStyle?: {
|
|
1085
|
+
width?: number | undefined;
|
|
1086
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1087
|
+
opacity?: number | undefined;
|
|
1088
|
+
} | undefined;
|
|
631
1089
|
visible?: boolean | undefined;
|
|
632
1090
|
content?: string | undefined;
|
|
633
1091
|
fontSize?: number | undefined;
|
|
634
1092
|
color?: string | undefined;
|
|
1093
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
635
1094
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
636
1095
|
bold?: boolean | undefined;
|
|
637
1096
|
family?: string | undefined;
|
|
1097
|
+
eastAsiaFontFamily?: string | undefined;
|
|
638
1098
|
strikethrough?: boolean | undefined;
|
|
639
1099
|
italic?: boolean | undefined;
|
|
640
1100
|
underline?: boolean | undefined;
|
|
@@ -643,18 +1103,64 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
643
1103
|
showMaxLabel?: boolean | undefined;
|
|
644
1104
|
showMinLabel?: boolean | undefined;
|
|
645
1105
|
rotate?: number | undefined;
|
|
1106
|
+
autoRotate?: boolean | undefined;
|
|
646
1107
|
} | undefined;
|
|
647
1108
|
point?: {
|
|
1109
|
+
visible?: boolean | undefined;
|
|
648
1110
|
shape?: import("../..").LinePointShape | undefined;
|
|
649
1111
|
size?: number | undefined;
|
|
650
1112
|
color?: import("@univerjs/core").Nullable<string>;
|
|
651
1113
|
} | undefined;
|
|
652
1114
|
dataPoints?: {
|
|
653
1115
|
[x: number]: {
|
|
1116
|
+
border?: {
|
|
1117
|
+
visible?: boolean | undefined;
|
|
1118
|
+
opacity?: number | undefined;
|
|
1119
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1120
|
+
width?: number | undefined;
|
|
1121
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
1122
|
+
} | undefined;
|
|
1123
|
+
label?: {
|
|
1124
|
+
contentType?: number | undefined;
|
|
1125
|
+
position?: SeriesLabelPosition | undefined;
|
|
1126
|
+
format?: string | undefined;
|
|
1127
|
+
pointFormats?: {
|
|
1128
|
+
[x: number]: string | undefined;
|
|
1129
|
+
} | undefined;
|
|
1130
|
+
customValues?: {
|
|
1131
|
+
[x: number]: string | undefined;
|
|
1132
|
+
} | undefined;
|
|
1133
|
+
showLabelLine?: boolean | undefined;
|
|
1134
|
+
labelLineStyle?: {
|
|
1135
|
+
width?: number | undefined;
|
|
1136
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1137
|
+
opacity?: number | undefined;
|
|
1138
|
+
} | undefined;
|
|
1139
|
+
visible?: boolean | undefined;
|
|
1140
|
+
content?: string | undefined;
|
|
1141
|
+
fontSize?: number | undefined;
|
|
1142
|
+
color?: string | undefined;
|
|
1143
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1144
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
1145
|
+
bold?: boolean | undefined;
|
|
1146
|
+
family?: string | undefined;
|
|
1147
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1148
|
+
strikethrough?: boolean | undefined;
|
|
1149
|
+
italic?: boolean | undefined;
|
|
1150
|
+
underline?: boolean | undefined;
|
|
1151
|
+
padAngle?: boolean | undefined;
|
|
1152
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
1153
|
+
showMaxLabel?: boolean | undefined;
|
|
1154
|
+
showMinLabel?: boolean | undefined;
|
|
1155
|
+
rotate?: number | undefined;
|
|
1156
|
+
autoRotate?: boolean | undefined;
|
|
1157
|
+
offset?: [number, number] | undefined;
|
|
1158
|
+
} | undefined;
|
|
654
1159
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
655
1160
|
fillOpacity?: number | undefined;
|
|
656
1161
|
size?: number | undefined;
|
|
657
1162
|
shape?: import("../..").LinePointShape | undefined;
|
|
1163
|
+
visible?: boolean | undefined;
|
|
658
1164
|
} | undefined;
|
|
659
1165
|
} | undefined;
|
|
660
1166
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -676,6 +1182,7 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
676
1182
|
sizeRepresents?: "area" | "width" | undefined;
|
|
677
1183
|
} | undefined;
|
|
678
1184
|
trendlines?: import("../..").ITrendLine[] | undefined;
|
|
1185
|
+
errorBars?: import("../../types").IChartErrorBars[] | undefined;
|
|
679
1186
|
pie?: {
|
|
680
1187
|
composite?: {
|
|
681
1188
|
enabled?: boolean | undefined;
|
|
@@ -721,6 +1228,10 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
721
1228
|
contentType?: number | undefined;
|
|
722
1229
|
position?: import("../..").PieLabelPosition | undefined;
|
|
723
1230
|
format?: string | undefined;
|
|
1231
|
+
pointFormats?: {
|
|
1232
|
+
[x: number]: string | undefined;
|
|
1233
|
+
} | undefined;
|
|
1234
|
+
eastAsiaFontFamily?: string | undefined;
|
|
724
1235
|
bold?: boolean | undefined;
|
|
725
1236
|
italic?: boolean | undefined;
|
|
726
1237
|
fontSize?: number | undefined;
|
|
@@ -728,12 +1239,14 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
728
1239
|
visible?: boolean | undefined;
|
|
729
1240
|
rotate?: number | undefined;
|
|
730
1241
|
family?: string | undefined;
|
|
1242
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
731
1243
|
strikethrough?: boolean | undefined;
|
|
732
1244
|
underline?: boolean | undefined;
|
|
733
1245
|
padAngle?: boolean | undefined;
|
|
734
1246
|
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
735
1247
|
showMaxLabel?: boolean | undefined;
|
|
736
1248
|
showMinLabel?: boolean | undefined;
|
|
1249
|
+
autoRotate?: boolean | undefined;
|
|
737
1250
|
} | undefined;
|
|
738
1251
|
borderColor?: string | undefined;
|
|
739
1252
|
hasPaddingAngle?: boolean | undefined;
|
|
@@ -741,6 +1254,11 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
741
1254
|
isHalfPie?: boolean | undefined;
|
|
742
1255
|
rosePie?: boolean | undefined;
|
|
743
1256
|
showLabelLine?: boolean | undefined;
|
|
1257
|
+
labelLineStyle?: {
|
|
1258
|
+
width?: number | undefined;
|
|
1259
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1260
|
+
opacity?: number | undefined;
|
|
1261
|
+
} | undefined;
|
|
744
1262
|
valueScale?: number | undefined;
|
|
745
1263
|
sliceStyles?: {
|
|
746
1264
|
[x: number]: {
|
|
@@ -799,11 +1317,14 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
799
1317
|
} | undefined;
|
|
800
1318
|
pareto?: {
|
|
801
1319
|
lineStyle?: {
|
|
802
|
-
|
|
1320
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
1321
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
803
1322
|
rightYAxis?: boolean | undefined;
|
|
1323
|
+
smooth?: boolean | undefined;
|
|
804
1324
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
805
1325
|
fillOpacity?: number | undefined;
|
|
806
1326
|
border?: {
|
|
1327
|
+
visible?: boolean | undefined;
|
|
807
1328
|
opacity?: number | undefined;
|
|
808
1329
|
color?: import("@univerjs/core").Nullable<string>;
|
|
809
1330
|
width?: number | undefined;
|
|
@@ -813,16 +1334,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
813
1334
|
contentType?: number | undefined;
|
|
814
1335
|
position?: SeriesLabelPosition | undefined;
|
|
815
1336
|
format?: string | undefined;
|
|
1337
|
+
pointFormats?: {
|
|
1338
|
+
[x: number]: string | undefined;
|
|
1339
|
+
} | undefined;
|
|
816
1340
|
customValues?: {
|
|
817
1341
|
[x: number]: string | undefined;
|
|
818
1342
|
} | undefined;
|
|
1343
|
+
showLabelLine?: boolean | undefined;
|
|
1344
|
+
labelLineStyle?: {
|
|
1345
|
+
width?: number | undefined;
|
|
1346
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1347
|
+
opacity?: number | undefined;
|
|
1348
|
+
} | undefined;
|
|
819
1349
|
visible?: boolean | undefined;
|
|
820
1350
|
content?: string | undefined;
|
|
821
1351
|
fontSize?: number | undefined;
|
|
822
1352
|
color?: string | undefined;
|
|
1353
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
823
1354
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
824
1355
|
bold?: boolean | undefined;
|
|
825
1356
|
family?: string | undefined;
|
|
1357
|
+
eastAsiaFontFamily?: string | undefined;
|
|
826
1358
|
strikethrough?: boolean | undefined;
|
|
827
1359
|
italic?: boolean | undefined;
|
|
828
1360
|
underline?: boolean | undefined;
|
|
@@ -831,27 +1363,76 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
831
1363
|
showMaxLabel?: boolean | undefined;
|
|
832
1364
|
showMinLabel?: boolean | undefined;
|
|
833
1365
|
rotate?: number | undefined;
|
|
1366
|
+
autoRotate?: boolean | undefined;
|
|
834
1367
|
} | undefined;
|
|
835
1368
|
point?: {
|
|
1369
|
+
visible?: boolean | undefined;
|
|
836
1370
|
shape?: import("../..").LinePointShape | undefined;
|
|
837
1371
|
size?: number | undefined;
|
|
838
1372
|
color?: import("@univerjs/core").Nullable<string>;
|
|
839
1373
|
} | undefined;
|
|
840
1374
|
dataPoints?: {
|
|
841
1375
|
[x: number]: {
|
|
1376
|
+
border?: {
|
|
1377
|
+
visible?: boolean | undefined;
|
|
1378
|
+
opacity?: number | undefined;
|
|
1379
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1380
|
+
width?: number | undefined;
|
|
1381
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
1382
|
+
} | undefined;
|
|
1383
|
+
label?: {
|
|
1384
|
+
contentType?: number | undefined;
|
|
1385
|
+
position?: SeriesLabelPosition | undefined;
|
|
1386
|
+
format?: string | undefined;
|
|
1387
|
+
pointFormats?: {
|
|
1388
|
+
[x: number]: string | undefined;
|
|
1389
|
+
} | undefined;
|
|
1390
|
+
customValues?: {
|
|
1391
|
+
[x: number]: string | undefined;
|
|
1392
|
+
} | undefined;
|
|
1393
|
+
showLabelLine?: boolean | undefined;
|
|
1394
|
+
labelLineStyle?: {
|
|
1395
|
+
width?: number | undefined;
|
|
1396
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1397
|
+
opacity?: number | undefined;
|
|
1398
|
+
} | undefined;
|
|
1399
|
+
visible?: boolean | undefined;
|
|
1400
|
+
content?: string | undefined;
|
|
1401
|
+
fontSize?: number | undefined;
|
|
1402
|
+
color?: string | undefined;
|
|
1403
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1404
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
1405
|
+
bold?: boolean | undefined;
|
|
1406
|
+
family?: string | undefined;
|
|
1407
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1408
|
+
strikethrough?: boolean | undefined;
|
|
1409
|
+
italic?: boolean | undefined;
|
|
1410
|
+
underline?: boolean | undefined;
|
|
1411
|
+
padAngle?: boolean | undefined;
|
|
1412
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
1413
|
+
showMaxLabel?: boolean | undefined;
|
|
1414
|
+
showMinLabel?: boolean | undefined;
|
|
1415
|
+
rotate?: number | undefined;
|
|
1416
|
+
autoRotate?: boolean | undefined;
|
|
1417
|
+
offset?: [number, number] | undefined;
|
|
1418
|
+
} | undefined;
|
|
842
1419
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
843
1420
|
fillOpacity?: number | undefined;
|
|
844
1421
|
size?: number | undefined;
|
|
845
1422
|
shape?: import("../..").LinePointShape | undefined;
|
|
1423
|
+
visible?: boolean | undefined;
|
|
846
1424
|
} | undefined;
|
|
847
1425
|
} | undefined;
|
|
848
1426
|
waterfall?: {
|
|
849
1427
|
positive?: {
|
|
850
|
-
|
|
1428
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
1429
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
851
1430
|
rightYAxis?: boolean | undefined;
|
|
1431
|
+
smooth?: boolean | undefined;
|
|
852
1432
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
853
1433
|
fillOpacity?: number | undefined;
|
|
854
1434
|
border?: {
|
|
1435
|
+
visible?: boolean | undefined;
|
|
855
1436
|
opacity?: number | undefined;
|
|
856
1437
|
color?: import("@univerjs/core").Nullable<string>;
|
|
857
1438
|
width?: number | undefined;
|
|
@@ -861,16 +1442,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
861
1442
|
contentType?: number | undefined;
|
|
862
1443
|
position?: SeriesLabelPosition | undefined;
|
|
863
1444
|
format?: string | undefined;
|
|
1445
|
+
pointFormats?: {
|
|
1446
|
+
[x: number]: string | undefined;
|
|
1447
|
+
} | undefined;
|
|
864
1448
|
customValues?: {
|
|
865
1449
|
[x: number]: string | undefined;
|
|
866
1450
|
} | undefined;
|
|
1451
|
+
showLabelLine?: boolean | undefined;
|
|
1452
|
+
labelLineStyle?: {
|
|
1453
|
+
width?: number | undefined;
|
|
1454
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1455
|
+
opacity?: number | undefined;
|
|
1456
|
+
} | undefined;
|
|
867
1457
|
visible?: boolean | undefined;
|
|
868
1458
|
content?: string | undefined;
|
|
869
1459
|
fontSize?: number | undefined;
|
|
870
1460
|
color?: string | undefined;
|
|
1461
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
871
1462
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
872
1463
|
bold?: boolean | undefined;
|
|
873
1464
|
family?: string | undefined;
|
|
1465
|
+
eastAsiaFontFamily?: string | undefined;
|
|
874
1466
|
strikethrough?: boolean | undefined;
|
|
875
1467
|
italic?: boolean | undefined;
|
|
876
1468
|
underline?: boolean | undefined;
|
|
@@ -879,29 +1471,78 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
879
1471
|
showMaxLabel?: boolean | undefined;
|
|
880
1472
|
showMinLabel?: boolean | undefined;
|
|
881
1473
|
rotate?: number | undefined;
|
|
1474
|
+
autoRotate?: boolean | undefined;
|
|
882
1475
|
} | undefined;
|
|
883
1476
|
point?: {
|
|
1477
|
+
visible?: boolean | undefined;
|
|
884
1478
|
shape?: import("../..").LinePointShape | undefined;
|
|
885
1479
|
size?: number | undefined;
|
|
886
1480
|
color?: import("@univerjs/core").Nullable<string>;
|
|
887
1481
|
} | undefined;
|
|
888
1482
|
dataPoints?: {
|
|
889
1483
|
[x: number]: {
|
|
1484
|
+
border?: {
|
|
1485
|
+
visible?: boolean | undefined;
|
|
1486
|
+
opacity?: number | undefined;
|
|
1487
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1488
|
+
width?: number | undefined;
|
|
1489
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
1490
|
+
} | undefined;
|
|
1491
|
+
label?: {
|
|
1492
|
+
contentType?: number | undefined;
|
|
1493
|
+
position?: SeriesLabelPosition | undefined;
|
|
1494
|
+
format?: string | undefined;
|
|
1495
|
+
pointFormats?: {
|
|
1496
|
+
[x: number]: string | undefined;
|
|
1497
|
+
} | undefined;
|
|
1498
|
+
customValues?: {
|
|
1499
|
+
[x: number]: string | undefined;
|
|
1500
|
+
} | undefined;
|
|
1501
|
+
showLabelLine?: boolean | undefined;
|
|
1502
|
+
labelLineStyle?: {
|
|
1503
|
+
width?: number | undefined;
|
|
1504
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1505
|
+
opacity?: number | undefined;
|
|
1506
|
+
} | undefined;
|
|
1507
|
+
visible?: boolean | undefined;
|
|
1508
|
+
content?: string | undefined;
|
|
1509
|
+
fontSize?: number | undefined;
|
|
1510
|
+
color?: string | undefined;
|
|
1511
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1512
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
1513
|
+
bold?: boolean | undefined;
|
|
1514
|
+
family?: string | undefined;
|
|
1515
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1516
|
+
strikethrough?: boolean | undefined;
|
|
1517
|
+
italic?: boolean | undefined;
|
|
1518
|
+
underline?: boolean | undefined;
|
|
1519
|
+
padAngle?: boolean | undefined;
|
|
1520
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
1521
|
+
showMaxLabel?: boolean | undefined;
|
|
1522
|
+
showMinLabel?: boolean | undefined;
|
|
1523
|
+
rotate?: number | undefined;
|
|
1524
|
+
autoRotate?: boolean | undefined;
|
|
1525
|
+
offset?: [number, number] | undefined;
|
|
1526
|
+
} | undefined;
|
|
890
1527
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
891
1528
|
fillOpacity?: number | undefined;
|
|
892
1529
|
size?: number | undefined;
|
|
893
1530
|
shape?: import("../..").LinePointShape | undefined;
|
|
1531
|
+
visible?: boolean | undefined;
|
|
894
1532
|
} | undefined;
|
|
895
1533
|
} | undefined;
|
|
896
1534
|
waterfall?: /*elided*/ any | undefined;
|
|
897
1535
|
name?: string | undefined;
|
|
898
1536
|
} | undefined;
|
|
899
1537
|
negative?: {
|
|
900
|
-
|
|
1538
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
1539
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
901
1540
|
rightYAxis?: boolean | undefined;
|
|
1541
|
+
smooth?: boolean | undefined;
|
|
902
1542
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
903
1543
|
fillOpacity?: number | undefined;
|
|
904
1544
|
border?: {
|
|
1545
|
+
visible?: boolean | undefined;
|
|
905
1546
|
opacity?: number | undefined;
|
|
906
1547
|
color?: import("@univerjs/core").Nullable<string>;
|
|
907
1548
|
width?: number | undefined;
|
|
@@ -911,16 +1552,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
911
1552
|
contentType?: number | undefined;
|
|
912
1553
|
position?: SeriesLabelPosition | undefined;
|
|
913
1554
|
format?: string | undefined;
|
|
1555
|
+
pointFormats?: {
|
|
1556
|
+
[x: number]: string | undefined;
|
|
1557
|
+
} | undefined;
|
|
914
1558
|
customValues?: {
|
|
915
1559
|
[x: number]: string | undefined;
|
|
916
1560
|
} | undefined;
|
|
1561
|
+
showLabelLine?: boolean | undefined;
|
|
1562
|
+
labelLineStyle?: {
|
|
1563
|
+
width?: number | undefined;
|
|
1564
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1565
|
+
opacity?: number | undefined;
|
|
1566
|
+
} | undefined;
|
|
917
1567
|
visible?: boolean | undefined;
|
|
918
1568
|
content?: string | undefined;
|
|
919
1569
|
fontSize?: number | undefined;
|
|
920
1570
|
color?: string | undefined;
|
|
1571
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
921
1572
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
922
1573
|
bold?: boolean | undefined;
|
|
923
1574
|
family?: string | undefined;
|
|
1575
|
+
eastAsiaFontFamily?: string | undefined;
|
|
924
1576
|
strikethrough?: boolean | undefined;
|
|
925
1577
|
italic?: boolean | undefined;
|
|
926
1578
|
underline?: boolean | undefined;
|
|
@@ -929,29 +1581,78 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
929
1581
|
showMaxLabel?: boolean | undefined;
|
|
930
1582
|
showMinLabel?: boolean | undefined;
|
|
931
1583
|
rotate?: number | undefined;
|
|
1584
|
+
autoRotate?: boolean | undefined;
|
|
932
1585
|
} | undefined;
|
|
933
1586
|
point?: {
|
|
1587
|
+
visible?: boolean | undefined;
|
|
934
1588
|
shape?: import("../..").LinePointShape | undefined;
|
|
935
1589
|
size?: number | undefined;
|
|
936
1590
|
color?: import("@univerjs/core").Nullable<string>;
|
|
937
1591
|
} | undefined;
|
|
938
1592
|
dataPoints?: {
|
|
939
1593
|
[x: number]: {
|
|
1594
|
+
border?: {
|
|
1595
|
+
visible?: boolean | undefined;
|
|
1596
|
+
opacity?: number | undefined;
|
|
1597
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1598
|
+
width?: number | undefined;
|
|
1599
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
1600
|
+
} | undefined;
|
|
1601
|
+
label?: {
|
|
1602
|
+
contentType?: number | undefined;
|
|
1603
|
+
position?: SeriesLabelPosition | undefined;
|
|
1604
|
+
format?: string | undefined;
|
|
1605
|
+
pointFormats?: {
|
|
1606
|
+
[x: number]: string | undefined;
|
|
1607
|
+
} | undefined;
|
|
1608
|
+
customValues?: {
|
|
1609
|
+
[x: number]: string | undefined;
|
|
1610
|
+
} | undefined;
|
|
1611
|
+
showLabelLine?: boolean | undefined;
|
|
1612
|
+
labelLineStyle?: {
|
|
1613
|
+
width?: number | undefined;
|
|
1614
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1615
|
+
opacity?: number | undefined;
|
|
1616
|
+
} | undefined;
|
|
1617
|
+
visible?: boolean | undefined;
|
|
1618
|
+
content?: string | undefined;
|
|
1619
|
+
fontSize?: number | undefined;
|
|
1620
|
+
color?: string | undefined;
|
|
1621
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1622
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
1623
|
+
bold?: boolean | undefined;
|
|
1624
|
+
family?: string | undefined;
|
|
1625
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1626
|
+
strikethrough?: boolean | undefined;
|
|
1627
|
+
italic?: boolean | undefined;
|
|
1628
|
+
underline?: boolean | undefined;
|
|
1629
|
+
padAngle?: boolean | undefined;
|
|
1630
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
1631
|
+
showMaxLabel?: boolean | undefined;
|
|
1632
|
+
showMinLabel?: boolean | undefined;
|
|
1633
|
+
rotate?: number | undefined;
|
|
1634
|
+
autoRotate?: boolean | undefined;
|
|
1635
|
+
offset?: [number, number] | undefined;
|
|
1636
|
+
} | undefined;
|
|
940
1637
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
941
1638
|
fillOpacity?: number | undefined;
|
|
942
1639
|
size?: number | undefined;
|
|
943
1640
|
shape?: import("../..").LinePointShape | undefined;
|
|
1641
|
+
visible?: boolean | undefined;
|
|
944
1642
|
} | undefined;
|
|
945
1643
|
} | undefined;
|
|
946
1644
|
waterfall?: /*elided*/ any | undefined;
|
|
947
1645
|
name?: string | undefined;
|
|
948
1646
|
} | undefined;
|
|
949
1647
|
subtotal?: {
|
|
950
|
-
|
|
1648
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
1649
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
951
1650
|
rightYAxis?: boolean | undefined;
|
|
1651
|
+
smooth?: boolean | undefined;
|
|
952
1652
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
953
1653
|
fillOpacity?: number | undefined;
|
|
954
1654
|
border?: {
|
|
1655
|
+
visible?: boolean | undefined;
|
|
955
1656
|
opacity?: number | undefined;
|
|
956
1657
|
color?: import("@univerjs/core").Nullable<string>;
|
|
957
1658
|
width?: number | undefined;
|
|
@@ -961,16 +1662,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
961
1662
|
contentType?: number | undefined;
|
|
962
1663
|
position?: SeriesLabelPosition | undefined;
|
|
963
1664
|
format?: string | undefined;
|
|
1665
|
+
pointFormats?: {
|
|
1666
|
+
[x: number]: string | undefined;
|
|
1667
|
+
} | undefined;
|
|
964
1668
|
customValues?: {
|
|
965
1669
|
[x: number]: string | undefined;
|
|
966
1670
|
} | undefined;
|
|
1671
|
+
showLabelLine?: boolean | undefined;
|
|
1672
|
+
labelLineStyle?: {
|
|
1673
|
+
width?: number | undefined;
|
|
1674
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1675
|
+
opacity?: number | undefined;
|
|
1676
|
+
} | undefined;
|
|
967
1677
|
visible?: boolean | undefined;
|
|
968
1678
|
content?: string | undefined;
|
|
969
1679
|
fontSize?: number | undefined;
|
|
970
1680
|
color?: string | undefined;
|
|
1681
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
971
1682
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
972
1683
|
bold?: boolean | undefined;
|
|
973
1684
|
family?: string | undefined;
|
|
1685
|
+
eastAsiaFontFamily?: string | undefined;
|
|
974
1686
|
strikethrough?: boolean | undefined;
|
|
975
1687
|
italic?: boolean | undefined;
|
|
976
1688
|
underline?: boolean | undefined;
|
|
@@ -979,18 +1691,64 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
979
1691
|
showMaxLabel?: boolean | undefined;
|
|
980
1692
|
showMinLabel?: boolean | undefined;
|
|
981
1693
|
rotate?: number | undefined;
|
|
1694
|
+
autoRotate?: boolean | undefined;
|
|
982
1695
|
} | undefined;
|
|
983
1696
|
point?: {
|
|
1697
|
+
visible?: boolean | undefined;
|
|
984
1698
|
shape?: import("../..").LinePointShape | undefined;
|
|
985
1699
|
size?: number | undefined;
|
|
986
1700
|
color?: import("@univerjs/core").Nullable<string>;
|
|
987
1701
|
} | undefined;
|
|
988
1702
|
dataPoints?: {
|
|
989
1703
|
[x: number]: {
|
|
1704
|
+
border?: {
|
|
1705
|
+
visible?: boolean | undefined;
|
|
1706
|
+
opacity?: number | undefined;
|
|
1707
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1708
|
+
width?: number | undefined;
|
|
1709
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
1710
|
+
} | undefined;
|
|
1711
|
+
label?: {
|
|
1712
|
+
contentType?: number | undefined;
|
|
1713
|
+
position?: SeriesLabelPosition | undefined;
|
|
1714
|
+
format?: string | undefined;
|
|
1715
|
+
pointFormats?: {
|
|
1716
|
+
[x: number]: string | undefined;
|
|
1717
|
+
} | undefined;
|
|
1718
|
+
customValues?: {
|
|
1719
|
+
[x: number]: string | undefined;
|
|
1720
|
+
} | undefined;
|
|
1721
|
+
showLabelLine?: boolean | undefined;
|
|
1722
|
+
labelLineStyle?: {
|
|
1723
|
+
width?: number | undefined;
|
|
1724
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1725
|
+
opacity?: number | undefined;
|
|
1726
|
+
} | undefined;
|
|
1727
|
+
visible?: boolean | undefined;
|
|
1728
|
+
content?: string | undefined;
|
|
1729
|
+
fontSize?: number | undefined;
|
|
1730
|
+
color?: string | undefined;
|
|
1731
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1732
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
1733
|
+
bold?: boolean | undefined;
|
|
1734
|
+
family?: string | undefined;
|
|
1735
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1736
|
+
strikethrough?: boolean | undefined;
|
|
1737
|
+
italic?: boolean | undefined;
|
|
1738
|
+
underline?: boolean | undefined;
|
|
1739
|
+
padAngle?: boolean | undefined;
|
|
1740
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
1741
|
+
showMaxLabel?: boolean | undefined;
|
|
1742
|
+
showMinLabel?: boolean | undefined;
|
|
1743
|
+
rotate?: number | undefined;
|
|
1744
|
+
autoRotate?: boolean | undefined;
|
|
1745
|
+
offset?: [number, number] | undefined;
|
|
1746
|
+
} | undefined;
|
|
990
1747
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
991
1748
|
fillOpacity?: number | undefined;
|
|
992
1749
|
size?: number | undefined;
|
|
993
1750
|
shape?: import("../..").LinePointShape | undefined;
|
|
1751
|
+
visible?: boolean | undefined;
|
|
994
1752
|
} | undefined;
|
|
995
1753
|
} | undefined;
|
|
996
1754
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -999,11 +1757,14 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
999
1757
|
} | undefined;
|
|
1000
1758
|
} | undefined;
|
|
1001
1759
|
barStyle?: {
|
|
1002
|
-
|
|
1760
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
1761
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
1003
1762
|
rightYAxis?: boolean | undefined;
|
|
1763
|
+
smooth?: boolean | undefined;
|
|
1004
1764
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
1005
1765
|
fillOpacity?: number | undefined;
|
|
1006
1766
|
border?: {
|
|
1767
|
+
visible?: boolean | undefined;
|
|
1007
1768
|
opacity?: number | undefined;
|
|
1008
1769
|
color?: import("@univerjs/core").Nullable<string>;
|
|
1009
1770
|
width?: number | undefined;
|
|
@@ -1013,16 +1774,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1013
1774
|
contentType?: number | undefined;
|
|
1014
1775
|
position?: SeriesLabelPosition | undefined;
|
|
1015
1776
|
format?: string | undefined;
|
|
1777
|
+
pointFormats?: {
|
|
1778
|
+
[x: number]: string | undefined;
|
|
1779
|
+
} | undefined;
|
|
1016
1780
|
customValues?: {
|
|
1017
1781
|
[x: number]: string | undefined;
|
|
1018
1782
|
} | undefined;
|
|
1783
|
+
showLabelLine?: boolean | undefined;
|
|
1784
|
+
labelLineStyle?: {
|
|
1785
|
+
width?: number | undefined;
|
|
1786
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1787
|
+
opacity?: number | undefined;
|
|
1788
|
+
} | undefined;
|
|
1019
1789
|
visible?: boolean | undefined;
|
|
1020
1790
|
content?: string | undefined;
|
|
1021
1791
|
fontSize?: number | undefined;
|
|
1022
1792
|
color?: string | undefined;
|
|
1793
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1023
1794
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
1024
1795
|
bold?: boolean | undefined;
|
|
1025
1796
|
family?: string | undefined;
|
|
1797
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1026
1798
|
strikethrough?: boolean | undefined;
|
|
1027
1799
|
italic?: boolean | undefined;
|
|
1028
1800
|
underline?: boolean | undefined;
|
|
@@ -1031,27 +1803,76 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1031
1803
|
showMaxLabel?: boolean | undefined;
|
|
1032
1804
|
showMinLabel?: boolean | undefined;
|
|
1033
1805
|
rotate?: number | undefined;
|
|
1806
|
+
autoRotate?: boolean | undefined;
|
|
1034
1807
|
} | undefined;
|
|
1035
1808
|
point?: {
|
|
1809
|
+
visible?: boolean | undefined;
|
|
1036
1810
|
shape?: import("../..").LinePointShape | undefined;
|
|
1037
1811
|
size?: number | undefined;
|
|
1038
1812
|
color?: import("@univerjs/core").Nullable<string>;
|
|
1039
1813
|
} | undefined;
|
|
1040
1814
|
dataPoints?: {
|
|
1041
1815
|
[x: number]: {
|
|
1816
|
+
border?: {
|
|
1817
|
+
visible?: boolean | undefined;
|
|
1818
|
+
opacity?: number | undefined;
|
|
1819
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1820
|
+
width?: number | undefined;
|
|
1821
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
1822
|
+
} | undefined;
|
|
1823
|
+
label?: {
|
|
1824
|
+
contentType?: number | undefined;
|
|
1825
|
+
position?: SeriesLabelPosition | undefined;
|
|
1826
|
+
format?: string | undefined;
|
|
1827
|
+
pointFormats?: {
|
|
1828
|
+
[x: number]: string | undefined;
|
|
1829
|
+
} | undefined;
|
|
1830
|
+
customValues?: {
|
|
1831
|
+
[x: number]: string | undefined;
|
|
1832
|
+
} | undefined;
|
|
1833
|
+
showLabelLine?: boolean | undefined;
|
|
1834
|
+
labelLineStyle?: {
|
|
1835
|
+
width?: number | undefined;
|
|
1836
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1837
|
+
opacity?: number | undefined;
|
|
1838
|
+
} | undefined;
|
|
1839
|
+
visible?: boolean | undefined;
|
|
1840
|
+
content?: string | undefined;
|
|
1841
|
+
fontSize?: number | undefined;
|
|
1842
|
+
color?: string | undefined;
|
|
1843
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1844
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
1845
|
+
bold?: boolean | undefined;
|
|
1846
|
+
family?: string | undefined;
|
|
1847
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1848
|
+
strikethrough?: boolean | undefined;
|
|
1849
|
+
italic?: boolean | undefined;
|
|
1850
|
+
underline?: boolean | undefined;
|
|
1851
|
+
padAngle?: boolean | undefined;
|
|
1852
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
1853
|
+
showMaxLabel?: boolean | undefined;
|
|
1854
|
+
showMinLabel?: boolean | undefined;
|
|
1855
|
+
rotate?: number | undefined;
|
|
1856
|
+
autoRotate?: boolean | undefined;
|
|
1857
|
+
offset?: [number, number] | undefined;
|
|
1858
|
+
} | undefined;
|
|
1042
1859
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
1043
1860
|
fillOpacity?: number | undefined;
|
|
1044
1861
|
size?: number | undefined;
|
|
1045
1862
|
shape?: import("../..").LinePointShape | undefined;
|
|
1863
|
+
visible?: boolean | undefined;
|
|
1046
1864
|
} | undefined;
|
|
1047
1865
|
} | undefined;
|
|
1048
1866
|
waterfall?: {
|
|
1049
1867
|
positive?: {
|
|
1050
|
-
|
|
1868
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
1869
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
1051
1870
|
rightYAxis?: boolean | undefined;
|
|
1871
|
+
smooth?: boolean | undefined;
|
|
1052
1872
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
1053
1873
|
fillOpacity?: number | undefined;
|
|
1054
1874
|
border?: {
|
|
1875
|
+
visible?: boolean | undefined;
|
|
1055
1876
|
opacity?: number | undefined;
|
|
1056
1877
|
color?: import("@univerjs/core").Nullable<string>;
|
|
1057
1878
|
width?: number | undefined;
|
|
@@ -1061,16 +1882,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1061
1882
|
contentType?: number | undefined;
|
|
1062
1883
|
position?: SeriesLabelPosition | undefined;
|
|
1063
1884
|
format?: string | undefined;
|
|
1885
|
+
pointFormats?: {
|
|
1886
|
+
[x: number]: string | undefined;
|
|
1887
|
+
} | undefined;
|
|
1064
1888
|
customValues?: {
|
|
1065
1889
|
[x: number]: string | undefined;
|
|
1066
1890
|
} | undefined;
|
|
1891
|
+
showLabelLine?: boolean | undefined;
|
|
1892
|
+
labelLineStyle?: {
|
|
1893
|
+
width?: number | undefined;
|
|
1894
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1895
|
+
opacity?: number | undefined;
|
|
1896
|
+
} | undefined;
|
|
1067
1897
|
visible?: boolean | undefined;
|
|
1068
1898
|
content?: string | undefined;
|
|
1069
1899
|
fontSize?: number | undefined;
|
|
1070
1900
|
color?: string | undefined;
|
|
1901
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1071
1902
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
1072
1903
|
bold?: boolean | undefined;
|
|
1073
1904
|
family?: string | undefined;
|
|
1905
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1074
1906
|
strikethrough?: boolean | undefined;
|
|
1075
1907
|
italic?: boolean | undefined;
|
|
1076
1908
|
underline?: boolean | undefined;
|
|
@@ -1079,29 +1911,78 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1079
1911
|
showMaxLabel?: boolean | undefined;
|
|
1080
1912
|
showMinLabel?: boolean | undefined;
|
|
1081
1913
|
rotate?: number | undefined;
|
|
1914
|
+
autoRotate?: boolean | undefined;
|
|
1082
1915
|
} | undefined;
|
|
1083
1916
|
point?: {
|
|
1917
|
+
visible?: boolean | undefined;
|
|
1084
1918
|
shape?: import("../..").LinePointShape | undefined;
|
|
1085
1919
|
size?: number | undefined;
|
|
1086
1920
|
color?: import("@univerjs/core").Nullable<string>;
|
|
1087
1921
|
} | undefined;
|
|
1088
1922
|
dataPoints?: {
|
|
1089
1923
|
[x: number]: {
|
|
1924
|
+
border?: {
|
|
1925
|
+
visible?: boolean | undefined;
|
|
1926
|
+
opacity?: number | undefined;
|
|
1927
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1928
|
+
width?: number | undefined;
|
|
1929
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
1930
|
+
} | undefined;
|
|
1931
|
+
label?: {
|
|
1932
|
+
contentType?: number | undefined;
|
|
1933
|
+
position?: SeriesLabelPosition | undefined;
|
|
1934
|
+
format?: string | undefined;
|
|
1935
|
+
pointFormats?: {
|
|
1936
|
+
[x: number]: string | undefined;
|
|
1937
|
+
} | undefined;
|
|
1938
|
+
customValues?: {
|
|
1939
|
+
[x: number]: string | undefined;
|
|
1940
|
+
} | undefined;
|
|
1941
|
+
showLabelLine?: boolean | undefined;
|
|
1942
|
+
labelLineStyle?: {
|
|
1943
|
+
width?: number | undefined;
|
|
1944
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
1945
|
+
opacity?: number | undefined;
|
|
1946
|
+
} | undefined;
|
|
1947
|
+
visible?: boolean | undefined;
|
|
1948
|
+
content?: string | undefined;
|
|
1949
|
+
fontSize?: number | undefined;
|
|
1950
|
+
color?: string | undefined;
|
|
1951
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1952
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
1953
|
+
bold?: boolean | undefined;
|
|
1954
|
+
family?: string | undefined;
|
|
1955
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1956
|
+
strikethrough?: boolean | undefined;
|
|
1957
|
+
italic?: boolean | undefined;
|
|
1958
|
+
underline?: boolean | undefined;
|
|
1959
|
+
padAngle?: boolean | undefined;
|
|
1960
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
1961
|
+
showMaxLabel?: boolean | undefined;
|
|
1962
|
+
showMinLabel?: boolean | undefined;
|
|
1963
|
+
rotate?: number | undefined;
|
|
1964
|
+
autoRotate?: boolean | undefined;
|
|
1965
|
+
offset?: [number, number] | undefined;
|
|
1966
|
+
} | undefined;
|
|
1090
1967
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
1091
1968
|
fillOpacity?: number | undefined;
|
|
1092
1969
|
size?: number | undefined;
|
|
1093
1970
|
shape?: import("../..").LinePointShape | undefined;
|
|
1971
|
+
visible?: boolean | undefined;
|
|
1094
1972
|
} | undefined;
|
|
1095
1973
|
} | undefined;
|
|
1096
1974
|
waterfall?: /*elided*/ any | undefined;
|
|
1097
1975
|
name?: string | undefined;
|
|
1098
1976
|
} | undefined;
|
|
1099
1977
|
negative?: {
|
|
1100
|
-
|
|
1978
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
1979
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
1101
1980
|
rightYAxis?: boolean | undefined;
|
|
1981
|
+
smooth?: boolean | undefined;
|
|
1102
1982
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
1103
1983
|
fillOpacity?: number | undefined;
|
|
1104
1984
|
border?: {
|
|
1985
|
+
visible?: boolean | undefined;
|
|
1105
1986
|
opacity?: number | undefined;
|
|
1106
1987
|
color?: import("@univerjs/core").Nullable<string>;
|
|
1107
1988
|
width?: number | undefined;
|
|
@@ -1111,16 +1992,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1111
1992
|
contentType?: number | undefined;
|
|
1112
1993
|
position?: SeriesLabelPosition | undefined;
|
|
1113
1994
|
format?: string | undefined;
|
|
1995
|
+
pointFormats?: {
|
|
1996
|
+
[x: number]: string | undefined;
|
|
1997
|
+
} | undefined;
|
|
1114
1998
|
customValues?: {
|
|
1115
1999
|
[x: number]: string | undefined;
|
|
1116
2000
|
} | undefined;
|
|
2001
|
+
showLabelLine?: boolean | undefined;
|
|
2002
|
+
labelLineStyle?: {
|
|
2003
|
+
width?: number | undefined;
|
|
2004
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
2005
|
+
opacity?: number | undefined;
|
|
2006
|
+
} | undefined;
|
|
1117
2007
|
visible?: boolean | undefined;
|
|
1118
2008
|
content?: string | undefined;
|
|
1119
2009
|
fontSize?: number | undefined;
|
|
1120
2010
|
color?: string | undefined;
|
|
2011
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1121
2012
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
1122
2013
|
bold?: boolean | undefined;
|
|
1123
2014
|
family?: string | undefined;
|
|
2015
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1124
2016
|
strikethrough?: boolean | undefined;
|
|
1125
2017
|
italic?: boolean | undefined;
|
|
1126
2018
|
underline?: boolean | undefined;
|
|
@@ -1129,29 +2021,78 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1129
2021
|
showMaxLabel?: boolean | undefined;
|
|
1130
2022
|
showMinLabel?: boolean | undefined;
|
|
1131
2023
|
rotate?: number | undefined;
|
|
2024
|
+
autoRotate?: boolean | undefined;
|
|
1132
2025
|
} | undefined;
|
|
1133
2026
|
point?: {
|
|
2027
|
+
visible?: boolean | undefined;
|
|
1134
2028
|
shape?: import("../..").LinePointShape | undefined;
|
|
1135
2029
|
size?: number | undefined;
|
|
1136
2030
|
color?: import("@univerjs/core").Nullable<string>;
|
|
1137
2031
|
} | undefined;
|
|
1138
2032
|
dataPoints?: {
|
|
1139
2033
|
[x: number]: {
|
|
2034
|
+
border?: {
|
|
2035
|
+
visible?: boolean | undefined;
|
|
2036
|
+
opacity?: number | undefined;
|
|
2037
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
2038
|
+
width?: number | undefined;
|
|
2039
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
2040
|
+
} | undefined;
|
|
2041
|
+
label?: {
|
|
2042
|
+
contentType?: number | undefined;
|
|
2043
|
+
position?: SeriesLabelPosition | undefined;
|
|
2044
|
+
format?: string | undefined;
|
|
2045
|
+
pointFormats?: {
|
|
2046
|
+
[x: number]: string | undefined;
|
|
2047
|
+
} | undefined;
|
|
2048
|
+
customValues?: {
|
|
2049
|
+
[x: number]: string | undefined;
|
|
2050
|
+
} | undefined;
|
|
2051
|
+
showLabelLine?: boolean | undefined;
|
|
2052
|
+
labelLineStyle?: {
|
|
2053
|
+
width?: number | undefined;
|
|
2054
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
2055
|
+
opacity?: number | undefined;
|
|
2056
|
+
} | undefined;
|
|
2057
|
+
visible?: boolean | undefined;
|
|
2058
|
+
content?: string | undefined;
|
|
2059
|
+
fontSize?: number | undefined;
|
|
2060
|
+
color?: string | undefined;
|
|
2061
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
2062
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
2063
|
+
bold?: boolean | undefined;
|
|
2064
|
+
family?: string | undefined;
|
|
2065
|
+
eastAsiaFontFamily?: string | undefined;
|
|
2066
|
+
strikethrough?: boolean | undefined;
|
|
2067
|
+
italic?: boolean | undefined;
|
|
2068
|
+
underline?: boolean | undefined;
|
|
2069
|
+
padAngle?: boolean | undefined;
|
|
2070
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
2071
|
+
showMaxLabel?: boolean | undefined;
|
|
2072
|
+
showMinLabel?: boolean | undefined;
|
|
2073
|
+
rotate?: number | undefined;
|
|
2074
|
+
autoRotate?: boolean | undefined;
|
|
2075
|
+
offset?: [number, number] | undefined;
|
|
2076
|
+
} | undefined;
|
|
1140
2077
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
1141
2078
|
fillOpacity?: number | undefined;
|
|
1142
2079
|
size?: number | undefined;
|
|
1143
2080
|
shape?: import("../..").LinePointShape | undefined;
|
|
2081
|
+
visible?: boolean | undefined;
|
|
1144
2082
|
} | undefined;
|
|
1145
2083
|
} | undefined;
|
|
1146
2084
|
waterfall?: /*elided*/ any | undefined;
|
|
1147
2085
|
name?: string | undefined;
|
|
1148
2086
|
} | undefined;
|
|
1149
2087
|
subtotal?: {
|
|
1150
|
-
|
|
2088
|
+
scatterLine?: import("../..").ScatterLineType | undefined;
|
|
2089
|
+
chartType?: (ChartTypeBits.Line | ChartTypeBits.Scatter | ChartTypeBits.Bar | ChartTypeBits.BarStacked | ChartTypeBits.Column | ChartTypeBits.ColumnStacked | ChartTypeBits.Area | ChartTypeBits.AreaStacked) | undefined;
|
|
1151
2090
|
rightYAxis?: boolean | undefined;
|
|
2091
|
+
smooth?: boolean | undefined;
|
|
1152
2092
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
1153
2093
|
fillOpacity?: number | undefined;
|
|
1154
2094
|
border?: {
|
|
2095
|
+
visible?: boolean | undefined;
|
|
1155
2096
|
opacity?: number | undefined;
|
|
1156
2097
|
color?: import("@univerjs/core").Nullable<string>;
|
|
1157
2098
|
width?: number | undefined;
|
|
@@ -1161,16 +2102,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1161
2102
|
contentType?: number | undefined;
|
|
1162
2103
|
position?: SeriesLabelPosition | undefined;
|
|
1163
2104
|
format?: string | undefined;
|
|
2105
|
+
pointFormats?: {
|
|
2106
|
+
[x: number]: string | undefined;
|
|
2107
|
+
} | undefined;
|
|
1164
2108
|
customValues?: {
|
|
1165
2109
|
[x: number]: string | undefined;
|
|
1166
2110
|
} | undefined;
|
|
2111
|
+
showLabelLine?: boolean | undefined;
|
|
2112
|
+
labelLineStyle?: {
|
|
2113
|
+
width?: number | undefined;
|
|
2114
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
2115
|
+
opacity?: number | undefined;
|
|
2116
|
+
} | undefined;
|
|
1167
2117
|
visible?: boolean | undefined;
|
|
1168
2118
|
content?: string | undefined;
|
|
1169
2119
|
fontSize?: number | undefined;
|
|
1170
2120
|
color?: string | undefined;
|
|
2121
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1171
2122
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
1172
2123
|
bold?: boolean | undefined;
|
|
1173
2124
|
family?: string | undefined;
|
|
2125
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1174
2126
|
strikethrough?: boolean | undefined;
|
|
1175
2127
|
italic?: boolean | undefined;
|
|
1176
2128
|
underline?: boolean | undefined;
|
|
@@ -1179,18 +2131,64 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1179
2131
|
showMaxLabel?: boolean | undefined;
|
|
1180
2132
|
showMinLabel?: boolean | undefined;
|
|
1181
2133
|
rotate?: number | undefined;
|
|
2134
|
+
autoRotate?: boolean | undefined;
|
|
1182
2135
|
} | undefined;
|
|
1183
2136
|
point?: {
|
|
2137
|
+
visible?: boolean | undefined;
|
|
1184
2138
|
shape?: import("../..").LinePointShape | undefined;
|
|
1185
2139
|
size?: number | undefined;
|
|
1186
2140
|
color?: import("@univerjs/core").Nullable<string>;
|
|
1187
2141
|
} | undefined;
|
|
1188
2142
|
dataPoints?: {
|
|
1189
2143
|
[x: number]: {
|
|
2144
|
+
border?: {
|
|
2145
|
+
visible?: boolean | undefined;
|
|
2146
|
+
opacity?: number | undefined;
|
|
2147
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
2148
|
+
width?: number | undefined;
|
|
2149
|
+
dashType?: import("../..").ChartBorderDashType | undefined;
|
|
2150
|
+
} | undefined;
|
|
2151
|
+
label?: {
|
|
2152
|
+
contentType?: number | undefined;
|
|
2153
|
+
position?: SeriesLabelPosition | undefined;
|
|
2154
|
+
format?: string | undefined;
|
|
2155
|
+
pointFormats?: {
|
|
2156
|
+
[x: number]: string | undefined;
|
|
2157
|
+
} | undefined;
|
|
2158
|
+
customValues?: {
|
|
2159
|
+
[x: number]: string | undefined;
|
|
2160
|
+
} | undefined;
|
|
2161
|
+
showLabelLine?: boolean | undefined;
|
|
2162
|
+
labelLineStyle?: {
|
|
2163
|
+
width?: number | undefined;
|
|
2164
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
2165
|
+
opacity?: number | undefined;
|
|
2166
|
+
} | undefined;
|
|
2167
|
+
visible?: boolean | undefined;
|
|
2168
|
+
content?: string | undefined;
|
|
2169
|
+
fontSize?: number | undefined;
|
|
2170
|
+
color?: string | undefined;
|
|
2171
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
2172
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
2173
|
+
bold?: boolean | undefined;
|
|
2174
|
+
family?: string | undefined;
|
|
2175
|
+
eastAsiaFontFamily?: string | undefined;
|
|
2176
|
+
strikethrough?: boolean | undefined;
|
|
2177
|
+
italic?: boolean | undefined;
|
|
2178
|
+
underline?: boolean | undefined;
|
|
2179
|
+
padAngle?: boolean | undefined;
|
|
2180
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
2181
|
+
showMaxLabel?: boolean | undefined;
|
|
2182
|
+
showMinLabel?: boolean | undefined;
|
|
2183
|
+
rotate?: number | undefined;
|
|
2184
|
+
autoRotate?: boolean | undefined;
|
|
2185
|
+
offset?: [number, number] | undefined;
|
|
2186
|
+
} | undefined;
|
|
1190
2187
|
color?: import("@univerjs/core").Nullable<ChartColor>;
|
|
1191
2188
|
fillOpacity?: number | undefined;
|
|
1192
2189
|
size?: number | undefined;
|
|
1193
2190
|
shape?: import("../..").LinePointShape | undefined;
|
|
2191
|
+
visible?: boolean | undefined;
|
|
1194
2192
|
} | undefined;
|
|
1195
2193
|
} | undefined;
|
|
1196
2194
|
waterfall?: /*elided*/ any | undefined;
|
|
@@ -1209,16 +2207,27 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1209
2207
|
contentType?: number | undefined;
|
|
1210
2208
|
position?: SeriesLabelPosition | undefined;
|
|
1211
2209
|
format?: string | undefined;
|
|
2210
|
+
pointFormats?: {
|
|
2211
|
+
[x: number]: string | undefined;
|
|
2212
|
+
} | undefined;
|
|
1212
2213
|
customValues?: {
|
|
1213
2214
|
[x: number]: string | undefined;
|
|
1214
2215
|
} | undefined;
|
|
2216
|
+
showLabelLine?: boolean | undefined;
|
|
2217
|
+
labelLineStyle?: {
|
|
2218
|
+
width?: number | undefined;
|
|
2219
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
2220
|
+
opacity?: number | undefined;
|
|
2221
|
+
} | undefined;
|
|
1215
2222
|
visible?: boolean | undefined;
|
|
1216
2223
|
content?: string | undefined;
|
|
1217
2224
|
fontSize?: number | undefined;
|
|
1218
2225
|
color?: string | undefined;
|
|
2226
|
+
backgroundColor?: (ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
1219
2227
|
align?: import("../..").LabelAlignEnum | undefined;
|
|
1220
2228
|
bold?: boolean | undefined;
|
|
1221
2229
|
family?: string | undefined;
|
|
2230
|
+
eastAsiaFontFamily?: string | undefined;
|
|
1222
2231
|
strikethrough?: boolean | undefined;
|
|
1223
2232
|
italic?: boolean | undefined;
|
|
1224
2233
|
underline?: boolean | undefined;
|
|
@@ -1227,12 +2236,14 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1227
2236
|
showMaxLabel?: boolean | undefined;
|
|
1228
2237
|
showMinLabel?: boolean | undefined;
|
|
1229
2238
|
rotate?: number | undefined;
|
|
2239
|
+
autoRotate?: boolean | undefined;
|
|
1230
2240
|
} | undefined;
|
|
1231
2241
|
} | undefined;
|
|
1232
2242
|
candlestick?: {
|
|
1233
2243
|
highLowLine?: {
|
|
1234
2244
|
visible?: boolean | undefined;
|
|
1235
2245
|
border?: {
|
|
2246
|
+
visible?: boolean | undefined;
|
|
1236
2247
|
opacity?: number | undefined;
|
|
1237
2248
|
color?: import("@univerjs/core").Nullable<string>;
|
|
1238
2249
|
width?: number | undefined;
|
|
@@ -1242,6 +2253,7 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1242
2253
|
closeMarker?: {
|
|
1243
2254
|
visible?: boolean | undefined;
|
|
1244
2255
|
point?: {
|
|
2256
|
+
visible?: boolean | undefined;
|
|
1245
2257
|
shape?: import("../..").LinePointShape | undefined;
|
|
1246
2258
|
size?: number | undefined;
|
|
1247
2259
|
color?: import("@univerjs/core").Nullable<string>;
|
|
@@ -1285,6 +2297,7 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1285
2297
|
treemap?: {
|
|
1286
2298
|
parentLabelLayout?: import("../..").TreemapParentLabelLayout | undefined;
|
|
1287
2299
|
label?: {
|
|
2300
|
+
backgroundColor?: ChartColor | import("../../types").IChartLabelPattern | undefined;
|
|
1288
2301
|
visible?: boolean | undefined;
|
|
1289
2302
|
contentType?: LabelContentType | undefined;
|
|
1290
2303
|
color?: string | undefined;
|
|
@@ -1306,6 +2319,7 @@ export declare function mergeChartModelConfigPatch(chartModel: ChartModel, pendi
|
|
|
1306
2319
|
format?: string | undefined;
|
|
1307
2320
|
} | undefined;
|
|
1308
2321
|
label?: {
|
|
2322
|
+
backgroundColor?: ChartColor | import("../../types").IChartLabelPattern | undefined;
|
|
1309
2323
|
visible?: boolean | undefined;
|
|
1310
2324
|
contentType?: LabelContentType | undefined;
|
|
1311
2325
|
position?: import("../..").ChartSunburstLabelPosition | undefined;
|