@univerjs-pro/sheets-chart-ui 0.6.2 → 0.6.3-nightly.202503051607
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/en-US.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/ru-RU.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-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.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/ru-RU.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-TW.js +1 -1
- package/lib/types/facade/chart-builder/chart-builder-base.d.ts +247 -121
- package/lib/types/facade/chart-builder/line-chart-builder.d.ts +92 -8
- package/lib/types/facade/chart-builder/pie-chart-builder.d.ts +120 -10
- package/lib/types/facade/chart-builder/radar-chart-builder.d.ts +39 -23
- package/lib/types/facade/f-chart.d.ts +31 -12
- package/lib/types/facade/f-enum.d.ts +123 -55
- package/lib/types/facade/f-worksheet.d.ts +101 -35
- package/lib/types/services/chart-render.service.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/ru-RU.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-TW.js +1 -1
- package/package.json +15 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AxisAlignEnum, ChartBorderDashType, ChartTypeBits, LegendPositionEnum, LinePointShape, SelectModeEnum, TitlePositionEnum } from '@univerjs-pro/sheets-chart';
|
|
1
|
+
import { AxisAlignEnum, ChartBorderDashType, ChartTypeBits, LegendPositionEnum, LinePointShape, RadarShape, SelectModeEnum, TitlePositionEnum } from '@univerjs-pro/sheets-chart';
|
|
2
2
|
/**
|
|
3
3
|
* @ignore
|
|
4
4
|
*/
|
|
@@ -10,14 +10,16 @@ export interface IChartEnumMixin {
|
|
|
10
10
|
* @example
|
|
11
11
|
* ```ts
|
|
12
12
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
13
|
-
* const
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* .
|
|
17
|
-
* .
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
13
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
14
|
+
*
|
|
15
|
+
* // Create a column chart with data source A1:D6.
|
|
16
|
+
* // The starting position is upper-left corner of cell B2.
|
|
17
|
+
* const chartInfo = fWorksheet.newChart()
|
|
18
|
+
* .setChartType(univerAPI.Enum.ChartType.Column)
|
|
19
|
+
* .addRange('A1:D6')
|
|
20
|
+
* .setPosition(1, 1, 0, 0)
|
|
21
|
+
* .build();
|
|
22
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
21
23
|
* ```
|
|
22
24
|
*/
|
|
23
25
|
ChartType: typeof ChartTypeBits;
|
|
@@ -28,13 +30,18 @@ export interface IChartEnumMixin {
|
|
|
28
30
|
* @example
|
|
29
31
|
* ```ts
|
|
30
32
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
31
|
-
* const
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* .
|
|
35
|
-
*
|
|
36
|
-
* .
|
|
37
|
-
*
|
|
33
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
34
|
+
*
|
|
35
|
+
* // Create a line chart with data source A1:D6.
|
|
36
|
+
* // The starting position is upper-left corner of cell B2.
|
|
37
|
+
* // The legend is positioned at the top of the chart.
|
|
38
|
+
* const chartInfo = fWorksheet.newChart()
|
|
39
|
+
* .asLineChart()
|
|
40
|
+
* .addRange('A1:D6')
|
|
41
|
+
* .setPosition(1, 1, 0, 0)
|
|
42
|
+
* .setOptions('legend.position', univerAPI.Enum.LegendPositionEnum.Top)
|
|
43
|
+
* .build();
|
|
44
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
38
45
|
* ```
|
|
39
46
|
*/
|
|
40
47
|
LegendPositionEnum: typeof LegendPositionEnum;
|
|
@@ -45,13 +52,18 @@ export interface IChartEnumMixin {
|
|
|
45
52
|
* @example
|
|
46
53
|
* ```ts
|
|
47
54
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
48
|
-
* const
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* .
|
|
52
|
-
*
|
|
53
|
-
* .
|
|
54
|
-
*
|
|
55
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
56
|
+
*
|
|
57
|
+
* // Create a line chart with data source A1:D6.
|
|
58
|
+
* // The starting position is upper-left corner of cell B2.
|
|
59
|
+
* // The legend is in single selection mode.
|
|
60
|
+
* const chartInfo = fWorksheet.newChart()
|
|
61
|
+
* .asLineChart()
|
|
62
|
+
* .addRange('A1:D6')
|
|
63
|
+
* .setPosition(1, 1, 0, 0)
|
|
64
|
+
* .setOptions('legend.selectMode', univerAPI.Enum.SelectModeEnum.Single)
|
|
65
|
+
* .build();
|
|
66
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
55
67
|
* ```
|
|
56
68
|
*/
|
|
57
69
|
SelectModeEnum: typeof SelectModeEnum;
|
|
@@ -62,13 +74,24 @@ export interface IChartEnumMixin {
|
|
|
62
74
|
* @example
|
|
63
75
|
* ```ts
|
|
64
76
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
65
|
-
* const
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* .
|
|
69
|
-
* .
|
|
70
|
-
* .
|
|
71
|
-
*
|
|
77
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
78
|
+
*
|
|
79
|
+
* // Create a line chart with data source A1:D6.
|
|
80
|
+
* // The starting position is upper-left corner of cell B2.
|
|
81
|
+
* // The x-axis title is set to 'X Axis Title' with red font color and aligned to the end of the axis.
|
|
82
|
+
* const chartInfo = fWorksheet.newChart()
|
|
83
|
+
* .asLineChart()
|
|
84
|
+
* .addRange('A1:D6')
|
|
85
|
+
* .setPosition(1, 1, 0, 0)
|
|
86
|
+
* .setOptions('', {
|
|
87
|
+
* xAxisTitle: {
|
|
88
|
+
* content: 'X Axis Title',
|
|
89
|
+
* fontColor: '#ff0000',
|
|
90
|
+
* axisAlignment: univerAPI.Enum.AxisAlignEnum.End,
|
|
91
|
+
* }
|
|
92
|
+
* })
|
|
93
|
+
* .build();
|
|
94
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
72
95
|
* ```
|
|
73
96
|
*/
|
|
74
97
|
AxisAlignEnum: typeof AxisAlignEnum;
|
|
@@ -79,18 +102,23 @@ export interface IChartEnumMixin {
|
|
|
79
102
|
* @example
|
|
80
103
|
* ```ts
|
|
81
104
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
82
|
-
* const
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
* .
|
|
86
|
-
* .
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
105
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
106
|
+
*
|
|
107
|
+
* // Create a line chart with data source A1:D6.
|
|
108
|
+
* // The starting position is upper-left corner of cell B2.
|
|
109
|
+
* // The axis pointer style is set.
|
|
110
|
+
* const chartInfo = fWorksheet.newChart()
|
|
111
|
+
* .asLineChart()
|
|
112
|
+
* .addRange('A1:D6')
|
|
113
|
+
* .setPosition(1, 1, 0, 0)
|
|
114
|
+
* .setAxisPointerStyle({
|
|
115
|
+
* indicatorLabelColor: '#ff0000',
|
|
116
|
+
* indicatorLineType: univerAPI.Enum.ChartBorderDashType.Solid,
|
|
117
|
+
* indicatorLineColor: '#00ff00',
|
|
118
|
+
* indicatorLabelTextColor: '#0000ff',
|
|
119
|
+
* })
|
|
120
|
+
* .build();
|
|
121
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
94
122
|
* ```
|
|
95
123
|
*/
|
|
96
124
|
ChartBorderDashType: typeof ChartBorderDashType;
|
|
@@ -100,13 +128,20 @@ export interface IChartEnumMixin {
|
|
|
100
128
|
* @example
|
|
101
129
|
* ```ts
|
|
102
130
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
103
|
-
* const
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* .
|
|
107
|
-
* .
|
|
108
|
-
* .
|
|
109
|
-
*
|
|
131
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
132
|
+
*
|
|
133
|
+
* // Create a line chart with data source A1:D6.
|
|
134
|
+
* // The starting position is upper-left corner of cell B2.
|
|
135
|
+
* // The data point shape is set to circle, color is red, and size is 10.
|
|
136
|
+
* const chartInfo = fWorksheet.newChart()
|
|
137
|
+
* .asLineChart()
|
|
138
|
+
* .addRange('A1:D6')
|
|
139
|
+
* .setPosition(1, 1, 0, 0)
|
|
140
|
+
* .setDataPointShape(univerAPI.Enum.LinePointShape.CIRCLE)
|
|
141
|
+
* .setDataPointColor('#ff0000')
|
|
142
|
+
* .setDataPointSize(10)
|
|
143
|
+
* .build();
|
|
144
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
110
145
|
* ```
|
|
111
146
|
*/
|
|
112
147
|
LinePointShape: typeof LinePointShape;
|
|
@@ -116,15 +151,48 @@ export interface IChartEnumMixin {
|
|
|
116
151
|
* @example
|
|
117
152
|
* ```ts
|
|
118
153
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
119
|
-
* const
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
* .
|
|
124
|
-
*
|
|
154
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
155
|
+
*
|
|
156
|
+
* // Create a line chart with data source A1:D6.
|
|
157
|
+
* // The starting position is upper-left corner of cell B2.
|
|
158
|
+
* // The title is positioned at the top of the chart.
|
|
159
|
+
* const chartInfo = fWorksheet.newChart()
|
|
160
|
+
* .asLineChart()
|
|
161
|
+
* .addRange('A1:D6')
|
|
162
|
+
* .setPosition(1, 1, 0, 0)
|
|
163
|
+
* .setOptions('', {
|
|
164
|
+
* title: {
|
|
165
|
+
* content: 'Chart Title',
|
|
166
|
+
* position: univerAPI.Enum.TitlePositionEnum.TOP,
|
|
167
|
+
* },
|
|
168
|
+
* })
|
|
169
|
+
* .build();
|
|
170
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
125
171
|
* ```
|
|
126
172
|
*/
|
|
127
173
|
TitlePositionEnum: typeof TitlePositionEnum;
|
|
174
|
+
/**
|
|
175
|
+
* Represents the shape of the radar chart. {@link RadarShape}
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* ```ts
|
|
179
|
+
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
180
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
181
|
+
*
|
|
182
|
+
* // Create a radar chart with data source A1:D6.
|
|
183
|
+
* // The starting position is upper-left corner of cell B2.
|
|
184
|
+
* // The shape of the radar chart is set to polygon and filled with red color.
|
|
185
|
+
* const chartInfo = fWorksheet.newChart()
|
|
186
|
+
* .asRadarChart()
|
|
187
|
+
* .addRange('A1:D6')
|
|
188
|
+
* .setPosition(1, 1, 0, 0)
|
|
189
|
+
* .setShape(univerAPI.Enum.RadarShape.Polygon)
|
|
190
|
+
* .setFill(true)
|
|
191
|
+
* .build();
|
|
192
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
193
|
+
* ```
|
|
194
|
+
*/
|
|
195
|
+
RadarShape: typeof RadarShape;
|
|
128
196
|
}
|
|
129
197
|
/**
|
|
130
198
|
* @ignore
|
|
@@ -14,13 +14,16 @@ export interface IFWorksheetChartMixin {
|
|
|
14
14
|
* @example
|
|
15
15
|
* ```ts
|
|
16
16
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
17
|
-
* const
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
17
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
18
|
+
*
|
|
19
|
+
* // Create a column chart with data source A1:D6.
|
|
20
|
+
* // The starting position is upper-left corner of cell B2.
|
|
21
|
+
* const chartInfo = fWorksheet.newChart()
|
|
22
|
+
* .setChartType(univerAPI.Enum.ChartType.Column)
|
|
23
|
+
* .addRange('A1:D6')
|
|
21
24
|
* .setPosition(1, 1, 0, 0)
|
|
22
25
|
* .build();
|
|
23
|
-
* const fChart = await
|
|
26
|
+
* const fChart = await fWorksheet.insertChart(chartInfo);
|
|
24
27
|
* ```
|
|
25
28
|
*/
|
|
26
29
|
insertChart(chartBuildInfo: IChartBuilderInfo): Promise<FChart>;
|
|
@@ -31,16 +34,28 @@ export interface IFWorksheetChartMixin {
|
|
|
31
34
|
* @example
|
|
32
35
|
* ```ts
|
|
33
36
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
34
|
-
* const
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
37
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
38
|
+
*
|
|
39
|
+
* // Create a column chart with data source A1:D6.
|
|
40
|
+
* // The starting position is upper-left corner of cell B2.
|
|
41
|
+
* const chartInfo = fWorksheet.newChart()
|
|
42
|
+
* .setChartType(univerAPI.Enum.ChartType.Column)
|
|
43
|
+
* .addRange('A1:D6')
|
|
44
|
+
* .setPosition(1, 1, 0, 0)
|
|
45
|
+
* .build();
|
|
46
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
47
|
+
*
|
|
48
|
+
* // Get all charts on the active sheet.
|
|
49
|
+
* const charts = fWorksheet.getCharts();
|
|
50
|
+
*
|
|
51
|
+
* // Update the first chart after 3 seconds.
|
|
52
|
+
* setTimeout(() => {
|
|
53
|
+
* const newChartInfo = fWorksheet.newChart(charts[0])
|
|
54
|
+
* .asLineChart()
|
|
55
|
+
* .setOptions('legend.position', univerAPI.Enum.LegendPositionEnum.Right)
|
|
56
|
+
* .build();
|
|
57
|
+
* fWorksheet.updateChart(newChartInfo);
|
|
58
|
+
* }, 3000);
|
|
44
59
|
* ```
|
|
45
60
|
*/
|
|
46
61
|
updateChart(chartBuildInfo: IChartBuilderInfo): void;
|
|
@@ -53,15 +68,19 @@ export interface IFWorksheetChartMixin {
|
|
|
53
68
|
* @example
|
|
54
69
|
* ```ts
|
|
55
70
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
56
|
-
* const
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
71
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
72
|
+
*
|
|
73
|
+
* // Create a column chart with data source A1:D6.
|
|
74
|
+
* // The starting position is upper-left corner of cell B2.
|
|
75
|
+
* // The width of the chart is 600 and the height is 400.
|
|
76
|
+
* const chartInfo = fWorksheet.newChart()
|
|
77
|
+
* .setChartType(univerAPI.Enum.ChartType.Column)
|
|
78
|
+
* .addRange('A1:D6')
|
|
60
79
|
* .setPosition(1, 1, 0, 0)
|
|
61
80
|
* .setWidth(600)
|
|
62
81
|
* .setHeight(400)
|
|
63
82
|
* .build();
|
|
64
|
-
*
|
|
83
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
65
84
|
* ```
|
|
66
85
|
*/
|
|
67
86
|
newChart(fChart?: FChart): FChartBuilderBase;
|
|
@@ -72,9 +91,11 @@ export interface IFWorksheetChartMixin {
|
|
|
72
91
|
* @example
|
|
73
92
|
* ```ts
|
|
74
93
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
75
|
-
* const
|
|
76
|
-
*
|
|
77
|
-
*
|
|
94
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
95
|
+
*
|
|
96
|
+
* // Get all charts on the active sheet.
|
|
97
|
+
* const charts = fWorksheet.getCharts();
|
|
98
|
+
* console.log(charts);
|
|
78
99
|
* ```
|
|
79
100
|
*/
|
|
80
101
|
getCharts(): FChart[];
|
|
@@ -85,11 +106,25 @@ export interface IFWorksheetChartMixin {
|
|
|
85
106
|
* @example
|
|
86
107
|
* ```ts
|
|
87
108
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
88
|
-
* const
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
109
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
110
|
+
*
|
|
111
|
+
* // Create a column chart with data source A1:D6.
|
|
112
|
+
* // The starting position is upper-left corner of cell B2.
|
|
113
|
+
* const chartInfo = fWorksheet.newChart()
|
|
114
|
+
* .setChartType(univerAPI.Enum.ChartType.Column)
|
|
115
|
+
* .addRange('A1:D6')
|
|
116
|
+
* .setPosition(1, 1, 0, 0)
|
|
117
|
+
* .build();
|
|
118
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
119
|
+
*
|
|
120
|
+
* // Get all charts on the active sheet.
|
|
121
|
+
* const charts = fWorksheet.getCharts();
|
|
122
|
+
*
|
|
123
|
+
* // Remove the first chart after 3 seconds.
|
|
124
|
+
* setTimeout(async () => {
|
|
125
|
+
* await fWorksheet.removeChart(charts[0]);
|
|
126
|
+
* console.log(fWorksheet.getCharts());
|
|
127
|
+
* }, 3000);
|
|
93
128
|
* ```
|
|
94
129
|
*/
|
|
95
130
|
removeChart(chart: FChart): Promise<boolean>;
|
|
@@ -102,15 +137,46 @@ export interface IFWorksheetChartMixin {
|
|
|
102
137
|
* @example
|
|
103
138
|
* ```ts
|
|
104
139
|
* const fWorkbook = univerAPI.getActiveWorkbook();
|
|
105
|
-
* const
|
|
140
|
+
* const fWorksheet = fWorkbook.getActiveSheet();
|
|
141
|
+
*
|
|
106
142
|
* // register your theme
|
|
107
|
-
* const theme = {
|
|
108
|
-
*
|
|
143
|
+
* const theme = { // your theme object
|
|
144
|
+
* 'version': 1,
|
|
145
|
+
* 'themeName': 'essos',
|
|
146
|
+
* 'theme': {
|
|
147
|
+
* // ... Some code is omitted for brevity
|
|
148
|
+
* color: [
|
|
149
|
+
* '#893448',
|
|
150
|
+
* '#d95850',
|
|
151
|
+
* '#eb8146',
|
|
152
|
+
* '#ffb248',
|
|
153
|
+
* '#f2d643',
|
|
154
|
+
* '#ebdba4'
|
|
155
|
+
* ],
|
|
156
|
+
* // ... Some code is omitted for brevity
|
|
157
|
+
* visualMapColor: [
|
|
158
|
+
* '#893448',
|
|
159
|
+
* '#d95850',
|
|
160
|
+
* '#eb8146',
|
|
161
|
+
* '#ffb248',
|
|
162
|
+
* '#f2d643',
|
|
163
|
+
* 'rgb(247,238,173)'
|
|
164
|
+
* ],
|
|
165
|
+
* // ... Some code is omitted for brevity
|
|
166
|
+
* 'axes': []
|
|
167
|
+
* // ... Some code is omitted for brevity
|
|
168
|
+
* }
|
|
169
|
+
* };
|
|
170
|
+
* fWorksheet.registerChartTheme('myTheme', theme);
|
|
171
|
+
*
|
|
109
172
|
* // use your theme for chart
|
|
110
|
-
* const
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
173
|
+
* const chartInfo = fWorksheet.newChart()
|
|
174
|
+
* .asLineChart()
|
|
175
|
+
* .addRange('A1:D6')
|
|
176
|
+
* .setPosition(1, 1, 0, 0)
|
|
177
|
+
* .setTheme('myTheme')
|
|
178
|
+
* .build();
|
|
179
|
+
* await fWorksheet.insertChart(chartInfo);
|
|
114
180
|
* ```
|
|
115
181
|
*/
|
|
116
182
|
registerChartTheme(themeName: string, theme: IEchartTheme): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ChartStyle, IChartConfig, ChartModelService } from '@univerjs-pro/sheets-chart';
|
|
1
2
|
import { IChartRenderModel } from '../models/interface';
|
|
2
|
-
import { ChartModelService, ChartStyle, IChartConfig } from '@univerjs-pro/sheets-chart';
|
|
3
3
|
import { Disposable, Injector, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
4
4
|
import { IDrawingManagerService } from '@univerjs/drawing';
|
|
5
5
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x452cc1,_0x126a78){const _0x2bc1c2=_0x2afd,_0x12ccb2=_0x452cc1();while(!![]){try{const _0x493ef8=parseInt(_0x2bc1c2(0x117))/0x1*(-parseInt(_0x2bc1c2(0x172))/0x2)+parseInt(_0x2bc1c2(0x1e3))/0x3+parseInt(_0x2bc1c2(0x1b2))/0x4+-parseInt(_0x2bc1c2(0x141))/0x5+-parseInt(_0x2bc1c2(0x122))/0x6+parseInt(_0x2bc1c2(0x146))/0x7+parseInt(_0x2bc1c2(0x1a9))/0x8;if(_0x493ef8===_0x126a78)break;else _0x12ccb2['push'](_0x12ccb2['shift']());}catch(_0x11eace){_0x12ccb2['push'](_0x12ccb2['shift']());}}}(_0xf3f5,0x1b789),function(_0x3ee9f7,_0x15d037){const _0x5a1951=_0x2afd;typeof exports==_0x5a1951(0x18a)&&typeof module<'u'?_0x15d037(exports,require(_0x5a1951(0x153)),require(_0x5a1951(0x136)),require(_0x5a1951(0x13b)),require(_0x5a1951(0x13f)),require('@univerjs/sheets/facade'),require(_0x5a1951(0x1d6)),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require(_0x5a1951(0x1cc))):typeof define=='function'&&define[_0x5a1951(0x16c)]?define([_0x5a1951(0x156),'@univerjs-pro/sheets-chart',_0x5a1951(0x136),'@univerjs/core',_0x5a1951(0x13f),_0x5a1951(0x151),_0x5a1951(0x1d6),'@univerjs/engine-formula',_0x5a1951(0x14c),_0x5a1951(0x1cc)],_0x15d037):(_0x3ee9f7=typeof globalThis<'u'?globalThis:_0x3ee9f7||self,_0x15d037(_0x3ee9f7[_0x5a1951(0x1a3)]={},_0x3ee9f7['UniverProSheetsChart'],_0x3ee9f7['UniverProSheetsChartUi'],_0x3ee9f7[_0x5a1951(0x17f)],_0x3ee9f7['UniverSheetsDrawingUi'],_0x3ee9f7[_0x5a1951(0x14b)],_0x3ee9f7[_0x5a1951(0x1dc)],_0x3ee9f7[_0x5a1951(0x1bf)],_0x3ee9f7[_0x5a1951(0x144)],_0x3ee9f7[_0x5a1951(0x163)]));}(this,function(_0x2a2dbb,_0x4e42e4,_0x4caf57,_0xce8f06,_0x50326c,_0x2e2f77,_0x5e0fb0,_0x5876e8,_0x23dbb3,_0x3af8ec){'use strict';const _0x4be151=_0x2afd;var _0x324aed=Object['defineProperty'],_0x155226=(_0x1dfc68,_0x44ce1d,_0x12acd6)=>_0x44ce1d in _0x1dfc68?_0x324aed(_0x1dfc68,_0x44ce1d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12acd6}):_0x1dfc68[_0x44ce1d]=_0x12acd6,_0x4826b0=(_0x1bf9be,_0x1d3d41,_0x19a078)=>_0x155226(_0x1bf9be,typeof _0x1d3d41!='symbol'?_0x1d3d41+'':_0x1d3d41,_0x19a078);const _0x12f307=(_0x444b9a,_0x23fd7d,_0x3d5ee8)=>{_0x3d5ee8!==void 0x0&&_0x4e42e4['setProperty'](_0x444b9a,_0x23fd7d,_0x3d5ee8);},_0x2d1b36=(_0x571da7,_0x471dcf,_0x19f2a4,_0x209fc2={})=>{const _0x12ff17=_0x2afd,_0x4c7cdf={},_0x1ecee7={};if(_0x209fc2['title']){const _0x31badd=_0x209fc2[_0x12ff17(0x143)];_0x12f307(_0x4c7cdf,'titles.title.content',_0x31badd[_0x12ff17(0x183)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x1a5),_0x31badd[_0x12ff17(0x1af)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x17e),_0x31badd[_0x12ff17(0x12d)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x12a),_0x31badd['fontColor']),_0x12f307(_0x4c7cdf,_0x12ff17(0x1ab),_0x31badd[_0x12ff17(0x15b)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x168),_0x31badd[_0x12ff17(0x127)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x12f),_0x31badd[_0x12ff17(0x133)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x174),_0x31badd['position']);}if(_0x209fc2[_0x12ff17(0x137)]){const _0x532093=_0x209fc2[_0x12ff17(0x137)];_0x12f307(_0x4c7cdf,'legend.position',_0x532093[_0x12ff17(0x1e8)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x196),_0x532093[_0x12ff17(0x118)]),_0x12f307(_0x4c7cdf,'legend.label.fontSize',_0x532093[_0x12ff17(0x12d)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x1c6),_0x532093['color']),_0x12f307(_0x4c7cdf,'legend.label.bold',_0x532093[_0x12ff17(0x127)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x1bc),_0x532093[_0x12ff17(0x173)]);}if(_0x209fc2[_0x12ff17(0x1ce)]){const _0x5da45f=_0x209fc2['pie'];_0x12f307(_0x4c7cdf,'pie.doughnutHole',_0x5da45f[_0x12ff17(0x148)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x113),_0x5da45f[_0x12ff17(0x166)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x1e1),_0x5da45f[_0x12ff17(0x178)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x1dd),_0x5da45f[_0x12ff17(0x16f)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x129),_0x5da45f['rosePie']),_0x12f307(_0x4c7cdf,_0x12ff17(0x159),_0x5da45f[_0x12ff17(0x154)]);}if(_0x209fc2[_0x12ff17(0x171)]){const _0x3cbfcf=_0x209fc2['axisPointer'];_0x12f307(_0x4c7cdf,_0x12ff17(0x17a),_0x3cbfcf[_0x12ff17(0x116)]),_0x12f307(_0x4c7cdf,'tooltip.indicatorLineType',_0x3cbfcf[_0x12ff17(0x1ba)]),_0x12f307(_0x4c7cdf,'tooltip.indicatorLineColor',_0x3cbfcf['indicatorLineColor']),_0x12f307(_0x4c7cdf,_0x12ff17(0x1ae),_0x3cbfcf[_0x12ff17(0x1e6)]);}if(_0x209fc2['allSeriesStyle']&&_0x12f307(_0x4c7cdf,'allSeriesStyle.point',_0x209fc2[_0x12ff17(0x170)][_0x12ff17(0x179)]),_0x209fc2['area']&&_0x12f307(_0x4c7cdf,_0x12ff17(0x1a8),_0x209fc2[_0x12ff17(0x1b3)][_0x12ff17(0x1de)]),_0x209fc2[_0x12ff17(0x165)]&&_0x12f307(_0x4c7cdf,'theme',_0x209fc2['theme']),_0x209fc2[_0x12ff17(0x135)]&&_0x12f307(_0x4c7cdf,_0x12ff17(0x135),_0x209fc2[_0x12ff17(0x135)]),_0x209fc2[_0x12ff17(0x1cf)]){const _0x34acb7=_0x209fc2[_0x12ff17(0x1cf)];_0x12f307(_0x4c7cdf,_0x12ff17(0x142),_0x34acb7['content']),_0x12f307(_0x4c7cdf,_0x12ff17(0x1b9),_0x34acb7[_0x12ff17(0x1af)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x1d4),_0x34acb7[_0x12ff17(0x12d)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x145),_0x34acb7['fontColor']),_0x12f307(_0x4c7cdf,_0x12ff17(0x18c),_0x34acb7['fontStyle']),_0x12f307(_0x4c7cdf,_0x12ff17(0x194),_0x34acb7[_0x12ff17(0x127)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x1ac),_0x34acb7['axisAlignment']);}if(_0x209fc2[_0x12ff17(0x169)]){const _0x1ce24a=_0x209fc2[_0x12ff17(0x169)];_0x12f307(_0x4c7cdf,_0x12ff17(0x197),_0x1ce24a[_0x12ff17(0x183)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x158),_0x1ce24a['font']),_0x12f307(_0x4c7cdf,_0x12ff17(0x1d0),_0x1ce24a[_0x12ff17(0x12d)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x152),_0x1ce24a[_0x12ff17(0x11a)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x1da),_0x1ce24a[_0x12ff17(0x15b)]),_0x12f307(_0x4c7cdf,'titles.yAxisTitle.bold',_0x1ce24a[_0x12ff17(0x127)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x1a0),_0x1ce24a[_0x12ff17(0x147)]);}if(_0x209fc2[_0x12ff17(0x124)]){const _0x541c05=_0x209fc2[_0x12ff17(0x124)];_0x12f307(_0x4c7cdf,_0x12ff17(0x11b),_0x541c05[_0x12ff17(0x183)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x1c5),_0x541c05[_0x12ff17(0x1af)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x161),_0x541c05[_0x12ff17(0x12d)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x191),_0x541c05[_0x12ff17(0x11a)]),_0x12f307(_0x4c7cdf,'titles.rightYAxisTitle.family',_0x541c05[_0x12ff17(0x15b)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x1c4),_0x541c05[_0x12ff17(0x127)]),_0x12f307(_0x4c7cdf,_0x12ff17(0x14d),_0x541c05[_0x12ff17(0x147)]);}_0x209fc2[_0x12ff17(0x177)]&&_0x12f307(_0x4c7cdf,_0x12ff17(0x177),_0x209fc2[_0x12ff17(0x177)]),_0x209fc2[_0x12ff17(0x193)]&&_0x12f307(_0x4c7cdf,_0x12ff17(0x193),_0x209fc2[_0x12ff17(0x193)]),_0x209fc2[_0x12ff17(0x128)]&&_0x12f307(_0x4c7cdf,'rightYAxis',_0x209fc2['yRightAxis']),_0x209fc2[_0x12ff17(0x120)]&&_0x12f307(_0x4c7cdf,'seriesStyleMap',_0x209fc2[_0x12ff17(0x120)]);const _0x1659ef={'unitId':_0x571da7,'chartModelId':_0x471dcf};let _0x4d5ea8=!0x1;if(_0x19f2a4!==void 0x0&&(_0x1659ef['chartType']=_0x19f2a4,_0x4d5ea8=!0x0),Object['keys'](_0x4c7cdf)[_0x12ff17(0x12e)]>0x0&&(_0x1659ef[_0x12ff17(0x1c2)]=_0x4c7cdf,_0x4d5ea8=!0x0),Object['keys'](_0x1ecee7)[_0x12ff17(0x12e)]>0x0&&(_0x1659ef[_0x12ff17(0x1be)]=_0x1ecee7,_0x4d5ea8=!0x0),_0x4d5ea8)return _0x1659ef;};class _0x3b3617 extends _0x5e0fb0[_0x4be151(0x180)]{constructor(_0x48f66c,_0x48002d,_0x1c4bdb,_0x6e946a,_0x293edd){const _0xb9ee78=_0x4be151;super(),_0x4826b0(this,'_workbook'),_0x4826b0(this,_0xb9ee78(0x19f)),_0x4826b0(this,_0xb9ee78(0x1e7)),_0x4826b0(this,_0xb9ee78(0x16a)),_0x4826b0(this,_0xb9ee78(0x164)),_0x4826b0(this,_0xb9ee78(0x121)),_0x4826b0(this,_0xb9ee78(0x11d)),_0x4826b0(this,'x'),_0x4826b0(this,'y'),_0x4826b0(this,'width'),_0x4826b0(this,_0xb9ee78(0x150)),_0x4826b0(this,_0xb9ee78(0x15d)),_0x4826b0(this,_0xb9ee78(0x19d)),_0x4826b0(this,_0xb9ee78(0x130)),(this[_0xb9ee78(0x1e7)]=_0x48f66c,this['subUnitId']=_0x48002d,this[_0xb9ee78(0x139)]=_0x1c4bdb,this['_injector']=_0x6e946a,_0x293edd&&(this[_0xb9ee78(0x164)]=_0x293edd));}[_0x4be151(0x1d3)](){const _0x26771f=_0x4be151;return this[_0x26771f(0x15d)];}['addRange'](_0x4238f5){const _0x43ad1a=_0x4be151;if(typeof _0x4238f5==_0x43ad1a(0x19e)){const _0x5031b5=_0x5876e8[_0x43ad1a(0x186)](_0x4238f5);_0x5031b5[_0x43ad1a(0x1b4)]&&(this['sourceSheetName']=_0x5031b5[_0x43ad1a(0x1b4)]),this['range']=_0x5031b5[_0x43ad1a(0x121)];}else this[_0x43ad1a(0x121)]=_0x4238f5;return this;}[_0x4be151(0x1d2)](){return this['range']=void 0x0,this['sourceSheetName']=void 0x0,this;}[_0x4be151(0x119)](_0x571913,_0x357543,_0x4f0bb5,_0x4c76ec){const _0x271cbb=_0x4be151,_0x4771b4=this['_injector'][_0x271cbb(0x1c9)](_0x23dbb3[_0x271cbb(0x1b8)])[_0x271cbb(0x1a6)](this[_0x271cbb(0x1e7)]);if(!_0x4771b4)throw new Error(_0x271cbb(0x12b));const _0x5786d2=_0x4771b4[_0x271cbb(0x123)](_0x3af8ec[_0x271cbb(0x1d8)]),_0x39561c=_0x4771b4['with'](_0x3af8ec[_0x271cbb(0x1cb)]),{transform:_0x23e19d}=_0x3af8ec[_0x271cbb(0x1bd)](this[_0x271cbb(0x1e7)],this[_0x271cbb(0x16a)],{'row':_0x571913,'column':_0x357543,'rowOffset':_0x4f0bb5,'columnOffset':_0x4c76ec},0x1,0x1,_0x5786d2,_0x39561c),_0x34f13c=_0x23e19d['top'],_0x55291e=_0x23e19d[_0x271cbb(0x15a)];return this['x']=_0x55291e,this['y']=_0x34f13c,this;}[_0x4be151(0x1d9)](_0x5d1ad1,_0x29ba4f){return this['x']=_0x5d1ad1,this['y']=_0x29ba4f,this;}['setChartType'](_0x560f23){return this['chartType']=_0x560f23,this;}['setWidth'](_0x267b6c){const _0x26cf88=_0x4be151;return this[_0x26cf88(0x160)]=_0x267b6c,this;}['setHeight'](_0x207745){const _0x5c5f2a=_0x4be151;return this[_0x5c5f2a(0x150)]=_0x207745,this;}['setOptions'](_0x59cf9f,_0x113dc7){const _0x1da41b=_0x4be151;return this[_0x1da41b(0x19d)]||(this['options']={}),_0x59cf9f===''?(this[_0x1da41b(0x19d)]={...this[_0x1da41b(0x19d)],..._0x113dc7},this):(_0x4e42e4[_0x1da41b(0x1c8)](this[_0x1da41b(0x19d)],_0x59cf9f,_0x113dc7),this);}[_0x4be151(0x188)](_0x13429d){const _0x1c9540=_0x4be151;return this[_0x1c9540(0x130)]=_0x13429d,this;}[_0x4be151(0x182)](_0x1e6431){const _0x12744f=_0x4be151;return this[_0x12744f(0x115)](_0x12744f(0x165),_0x1e6431),this;}['setXAxisTitle'](_0x54ff57){const _0x4b86d0=_0x4be151;var _0x108a88;const _0x38884c=((_0x108a88=this['options'])==null?void 0x0:_0x108a88[_0x4b86d0(0x1cf)])||{};return _0x38884c['content']=_0x54ff57,this[_0x4b86d0(0x115)](_0x4b86d0(0x1cf),_0x38884c),this;}[_0x4be151(0x176)](_0x49ad74){const _0xde51a8=_0x4be151;var _0x4970a8;const _0x8f7fbe=((_0x4970a8=this[_0xde51a8(0x19d)])==null?void 0x0:_0x4970a8[_0xde51a8(0x169)])||{};return _0x8f7fbe[_0xde51a8(0x183)]=_0x49ad74,this[_0xde51a8(0x115)](_0xde51a8(0x169),_0x8f7fbe),this;}['setRightYAxisTitle'](_0x5c6a20){const _0x198eb8=_0x4be151;var _0x24a91e;const _0xae6e00=((_0x24a91e=this[_0x198eb8(0x19d)])==null?void 0x0:_0x24a91e[_0x198eb8(0x124)])||{};return _0xae6e00[_0x198eb8(0x183)]=_0x5c6a20,this[_0x198eb8(0x115)](_0x198eb8(0x124),_0xae6e00),this;}['setXAxisTextStyle'](_0x3689f3){const _0xfdee4d=_0x4be151;var _0x3951d2;const _0x52c05c=((_0x3951d2=this['options'])==null?void 0x0:_0x3951d2[_0xfdee4d(0x1cf)])||{};return this['setOptions'](_0xfdee4d(0x1cf),{..._0x52c05c,..._0x3689f3}),this;}[_0x4be151(0x157)](_0x1cf73e){const _0x6e52d9=_0x4be151;var _0x5eedf9;const _0x1fdeb6=((_0x5eedf9=this[_0x6e52d9(0x19d)])==null?void 0x0:_0x5eedf9[_0x6e52d9(0x169)])||{};return this[_0x6e52d9(0x115)]('yAxisTitle',{..._0x1fdeb6,..._0x1cf73e}),this;}['setRightYAxisTextStyle'](_0x4c90f9){const _0x150be0=_0x4be151;var _0xf4f4fc;const _0x5dd36e=((_0xf4f4fc=this['options'])==null?void 0x0:_0xf4f4fc[_0x150be0(0x124)])||{};return this[_0x150be0(0x115)](_0x150be0(0x124),{..._0x5dd36e,..._0x4c90f9}),this;}['setInvalidValueStrategy'](_0x22f511){const _0xe65f9a=_0x4be151;return this[_0xe65f9a(0x115)](_0xe65f9a(0x1b1),_0x22f511),this;}[_0x4be151(0x19b)](_0x45bf7e){const _0x4477ef=_0x4be151;return this[_0x4477ef(0x115)]('axisPointer',_0x45bf7e),this;}['setAllSeriesStyle'](_0x263708){const _0xc582ed=_0x4be151;return this[_0xc582ed(0x115)](_0xc582ed(0x170),_0x263708),this;}[_0x4be151(0x13a)](_0x4e090b,_0x596ef8){const _0x484d1e=_0x4be151;return this[_0x484d1e(0x115)]('seriesStyleMap',{[_0x4e090b]:_0x596ef8}),this;}[_0x4be151(0x16e)](){const _0x50619a=_0x4be151;var _0x204e5c;let _0x3069ce=this[_0x50619a(0x16a)];if(this[_0x50619a(0x11d)]){const _0x4d2ff4=(_0x204e5c=this[_0x50619a(0x139)][_0x50619a(0x185)](this[_0x50619a(0x11d)]))==null?void 0x0:_0x204e5c['getSheetId']();if(!_0x4d2ff4)throw new Error(_0x50619a(0x184)+this[_0x50619a(0x11d)]+_0x50619a(0x114));_0x3069ce=_0x4d2ff4;}return{'unitId':this[_0x50619a(0x1e7)],'subUnitId':_0x3069ce,'chartId':this[_0x50619a(0x164)],'range':this[_0x50619a(0x121)],'x':this['x'],'y':this['y'],'width':this[_0x50619a(0x160)],'height':this[_0x50619a(0x150)],'chartType':this[_0x50619a(0x15d)],'options':this[_0x50619a(0x19d)],'isRowDirection':this[_0x50619a(0x130)]};}}class _0x46f47c{constructor(_0x30880b,_0x2873b3,_0x374863,_0x3fce70){const _0x1fbc16=_0x4be151;_0x4826b0(this,_0x1fbc16(0x1e7)),_0x4826b0(this,_0x1fbc16(0x16a)),_0x4826b0(this,_0x1fbc16(0x164)),_0x4826b0(this,_0x1fbc16(0x19f)),(this[_0x1fbc16(0x1e7)]=_0x30880b,this[_0x1fbc16(0x16a)]=_0x2873b3,this['chartId']=_0x374863,this[_0x1fbc16(0x19f)]=_0x3fce70);}[_0x4be151(0x199)](){return this['chartId'];}[_0x4be151(0x18b)](){const _0x2321df=_0x4be151,_0x2ee49e=this[_0x2321df(0x19f)][_0x2321df(0x1c9)](_0x4e42e4['SheetsChartService'])['getChartModel'](this[_0x2321df(0x164)]);if(_0x2ee49e)return _0x2ee49e[_0x2321df(0x1e0)]['getRangeInfo']();}['updateRange'](_0x4af705){const _0x5a0f4d=_0x4be151;return this[_0x5a0f4d(0x19f)][_0x5a0f4d(0x1c9)](_0xce8f06[_0x5a0f4d(0x1b5)])[_0x5a0f4d(0x17b)](_0x4e42e4[_0x5a0f4d(0x1b7)]['id'],{'unitId':this[_0x5a0f4d(0x1e7)],'chartModelId':this['chartId'],'range':_0x4af705});}['getSeriesData'](){const _0x1ded64=_0x4be151;var _0x53acfa;const _0x129fe3=this[_0x1ded64(0x19f)][_0x1ded64(0x1c9)](_0x4e42e4['SheetsChartService'])[_0x1ded64(0x1aa)](this[_0x1ded64(0x164)]);if(_0x129fe3)return(_0x53acfa=_0x129fe3[_0x1ded64(0x1c1)])==null?void 0x0:_0x53acfa[_0x1ded64(0x125)];}[_0x4be151(0x19a)](){const _0x488459=_0x4be151;var _0x10fb09;const _0x4b62a6=this[_0x488459(0x19f)][_0x488459(0x1c9)](_0x4e42e4[_0x488459(0x1c0)])[_0x488459(0x1aa)](this[_0x488459(0x164)]);if(_0x4b62a6)return(_0x10fb09=_0x4b62a6[_0x488459(0x1c1)])==null?void 0x0:_0x10fb09[_0x488459(0x149)];}[_0x4be151(0x175)](){const _0x1312af=_0x4be151,_0x590028=this[_0x1312af(0x19f)][_0x1312af(0x1c9)](_0xce8f06[_0x1312af(0x13c)])[_0x1312af(0x18d)](_0xce8f06[_0x1312af(0x11f)][_0x1312af(0x189)]);return new _0x3b3617(this[_0x1312af(0x1e7)],this['subUnitId'],_0x590028,this[_0x1312af(0x19f)],this[_0x1312af(0x164)]);}}class _0x47c716 extends _0x2e2f77[_0x4be151(0x131)]{async[_0x4be151(0x1ad)](_0x3ebfbd){const _0x2bd97b=_0x4be151;var _0x46fd8e,_0x417d6c,_0x3555e5;const _0x538f06=_0x3ebfbd[_0x2bd97b(0x1e7)]||this[_0x2bd97b(0x1e4)]()[_0x2bd97b(0x18e)](),_0x42d77b=_0x3ebfbd[_0x2bd97b(0x16a)]||this[_0x2bd97b(0x198)](),_0x5136b5=_0x3ebfbd['chartId']||_0xce8f06[_0x2bd97b(0x1bb)](),_0x328691=_0x3ebfbd[_0x2bd97b(0x15d)],_0x32c98d=_0x3ebfbd[_0x2bd97b(0x121)],_0x48b9c8={'x':_0x3ebfbd['x'],'y':_0x3ebfbd['y']},_0x2b1264=_0x3ebfbd[_0x2bd97b(0x160)],_0x41cddc=_0x3ebfbd['height'],_0xc3d59e=(_0x46fd8e=_0x3ebfbd[_0x2bd97b(0x19d)])==null?void 0x0:_0x46fd8e[_0x2bd97b(0x1a1)],_0x11c316=(_0x417d6c=_0x3ebfbd[_0x2bd97b(0x19d)])==null?void 0x0:_0x417d6c[_0x2bd97b(0x166)],_0x41a0e7=_0x2d1b36(_0x538f06,_0x5136b5,_0x328691,_0x3ebfbd[_0x2bd97b(0x19d)]),_0x1958c6=(_0x3555e5=_0x3ebfbd[_0x2bd97b(0x187)])!=null?_0x3555e5:!0x0;if(!_0x32c98d)throw new Error(_0x2bd97b(0x1c7));return await this['_commandService'][_0x2bd97b(0x17b)](_0x4caf57[_0x2bd97b(0x13d)]['id'],{'unitId':_0x538f06,'subUnitId':_0x42d77b,'chartId':_0x5136b5,'chartType':_0x328691,'range':_0x32c98d,'position':_0x48b9c8,'width':_0x2b1264,'height':_0x41cddc,'backgroundColor':_0xc3d59e,'borderColor':_0x11c316,'config':_0x41a0e7,'isRowDirection':_0x1958c6}),new _0x46f47c(_0x538f06,_0x42d77b,_0x5136b5,this[_0x2bd97b(0x19f)]);}[_0x4be151(0x140)](_0xa2d672){const _0x365a43=_0x4be151,{unitId:_0x37ac73,chartId:_0x575855,chartType:_0x61c1f0,options:_0x45b73c}=_0xa2d672,_0x7eabc9=_0x2d1b36(_0x37ac73,_0x575855,_0x61c1f0,_0x45b73c);this[_0x365a43(0x19c)]['executeCommand'](_0x4e42e4['ChartUpdateConfigCommand']['id'],_0x7eabc9);}[_0x4be151(0x17d)](_0x5edd00){const _0x17e315=_0x4be151;if(_0x5edd00)return new _0x3b3617(_0x5edd00[_0x17e315(0x1e7)],_0x5edd00[_0x17e315(0x16a)],this[_0x17e315(0x139)],this['_injector'],_0x5edd00[_0x17e315(0x164)]);const _0x5035df=this[_0x17e315(0x1e4)]()['getUnitId'](),_0x3476d5=this[_0x17e315(0x198)]();return new _0x3b3617(_0x5035df,_0x3476d5,this['_workbook'],this[_0x17e315(0x19f)]);}['getCharts'](){const _0x488aa4=_0x4be151,_0x1f5895=this[_0x488aa4(0x19f)]['get'](_0x4e42e4[_0x488aa4(0x1c0)]),_0x363067=this[_0x488aa4(0x1e4)]()[_0x488aa4(0x18e)]();return _0x1f5895[_0x488aa4(0x1d1)](_0x363067,this[_0x488aa4(0x198)]())['map'](_0x4e6981=>new _0x46f47c(_0x363067,this['getSheetId'](),_0x4e6981['id'],this['_injector']));}['removeChart'](_0x3e6af6){const _0x1b635b=_0x4be151,_0x72cf7f=_0x3e6af6[_0x1b635b(0x1e7)],_0x3fc270=_0x3e6af6[_0x1b635b(0x16a)],_0x4982d9=_0x3e6af6[_0x1b635b(0x164)],_0x5b65db={'unitId':_0x72cf7f,'drawings':[{'unitId':_0x72cf7f,'subUnitId':_0x3fc270,'drawingId':_0x4982d9,'drawingType':_0xce8f06['DrawingTypeEnum'][_0x1b635b(0x1ca)]}]};return this[_0x1b635b(0x19c)][_0x1b635b(0x17b)](_0x50326c[_0x1b635b(0x1e9)]['id'],_0x5b65db);}['registerChartTheme'](_0x19ce65,_0x269021){const _0x42bb03=_0x4be151;this['_injector']['get'](_0x4e42e4[_0x42bb03(0x17c)])['registerTheme'](_0x19ce65,_0x269021);}}_0x2e2f77['FWorksheet']['extend'](_0x47c716);class _0x1543c3 extends _0x5e0fb0[_0x4be151(0x11e)]{get[_0x4be151(0x15e)](){const _0x3d5fb8=_0x4be151;return _0x4e42e4[_0x3d5fb8(0x16d)];}get['LegendPositionEnum'](){return _0x4e42e4['LegendPositionEnum'];}get[_0x4be151(0x14e)](){return _0x4e42e4['SelectModeEnum'];}get['AxisAlignEnum'](){const _0x4db2de=_0x4be151;return _0x4e42e4[_0x4db2de(0x16b)];}get['ChartBorderDashType'](){return _0x4e42e4['ChartBorderDashType'];}get[_0x4be151(0x1df)](){return _0x4e42e4['LinePointShape'];}get['TitlePositionEnum'](){return _0x4e42e4['TitlePositionEnum'];}}_0x5e0fb0['FEnum']['extend'](_0x1543c3);class _0x9f4562 extends _0x3b3617{constructor(_0x32d583,_0x5a92c0,_0x2e1b33,_0x520f69,_0xccddc7){const _0x48c8b4=_0x4be151;super(_0x32d583,_0x5a92c0,_0x2e1b33,_0x520f69,_0xccddc7),_0x4826b0(this,_0x48c8b4(0x1de)),_0x4826b0(this,'dataPointShape'),_0x4826b0(this,_0x48c8b4(0x1cd)),_0x4826b0(this,'dataPointSize');}[_0x4be151(0x1e2)](_0x849ca5){const _0x4a41f5=_0x4be151;return this[_0x4a41f5(0x1de)]=_0x849ca5,this;}[_0x4be151(0x138)](_0x29cf34){const _0x49b2a1=_0x4be151;return this[_0x49b2a1(0x1b6)]=_0x29cf34,this;}[_0x4be151(0x1c3)](_0x21673b){const _0x345309=_0x4be151;return this[_0x345309(0x1cd)]=_0x21673b,this;}['setDataPointSize'](_0xad0d4b){return this['dataPointSize']=_0xad0d4b,this;}[_0x4be151(0x16e)](){const _0x415825=_0x4be151,_0x33febc=super[_0x415825(0x16e)]();_0x33febc[_0x415825(0x15d)]=_0x4e42e4[_0x415825(0x16d)]['Line'];const _0x27ab21=_0x33febc['options']||{};return _0x12f307(_0x27ab21,_0x415825(0x1a8),this[_0x415825(0x1de)]),_0x12f307(_0x27ab21,_0x415825(0x1b0),this[_0x415825(0x1b6)]),_0x12f307(_0x27ab21,_0x415825(0x1d5),this['dataPointColor']),_0x12f307(_0x27ab21,_0x415825(0x12c),this[_0x415825(0x1a4)]),_0x33febc[_0x415825(0x19d)]=_0x27ab21,_0x33febc;}}class _0x312095 extends _0x3b3617{[_0x4be151(0x132)](){const _0x3f34ef=_0x4be151;return new _0x9f4562(this[_0x3f34ef(0x1e7)],this['subUnitId'],this[_0x3f34ef(0x139)],this['_injector'],this[_0x3f34ef(0x164)]);}}_0x3b3617[_0x4be151(0x192)](_0x312095);class _0x3c44d7 extends _0x3b3617{constructor(_0x12f3b0,_0x3fc3f6,_0x4ea7ce,_0x334855,_0x4e1350){const _0x1ab128=_0x4be151;super(_0x12f3b0,_0x3fc3f6,_0x4ea7ce,_0x334855,_0x4e1350),_0x4826b0(this,_0x1ab128(0x148)),_0x4826b0(this,'borderColor'),_0x4826b0(this,'hasPaddingAngle'),_0x4826b0(this,'isHalfPie'),_0x4826b0(this,_0x1ab128(0x155)),_0x4826b0(this,'showLabelLine');}[_0x4be151(0x1db)](_0x3807d8){const _0x54ac0a=_0x4be151;return this[_0x54ac0a(0x148)]=_0x3807d8,this;}[_0x4be151(0x181)](_0x1e9aed){const _0x3c361a=_0x4be151;return this[_0x3c361a(0x166)]=_0x1e9aed,this;}['setHasPaddingAngle'](_0x42c640){const _0x5838db=_0x4be151;return this[_0x5838db(0x178)]=_0x42c640,this;}[_0x4be151(0x13e)](_0x5fc67f){const _0x26626c=_0x4be151;return this[_0x26626c(0x16f)]=_0x5fc67f,this;}[_0x4be151(0x162)](_0x355b61){const _0x301f03=_0x4be151;return this[_0x301f03(0x155)]=_0x355b61,this;}[_0x4be151(0x195)](_0xdb02be){return this['showLabelLine']=_0xdb02be,this;}['build'](){const _0x56a6df=_0x4be151,_0x50a84b=super[_0x56a6df(0x16e)]();_0x50a84b[_0x56a6df(0x15d)]=_0x4e42e4[_0x56a6df(0x16d)]['Pie'];const _0x1ba8e5=_0x50a84b[_0x56a6df(0x19d)]||{};return _0x12f307(_0x1ba8e5,_0x56a6df(0x190),this['doughnutHole']),_0x12f307(_0x1ba8e5,_0x56a6df(0x113),this[_0x56a6df(0x166)]),_0x12f307(_0x1ba8e5,_0x56a6df(0x1e1),this['hasPaddingAngle']),_0x12f307(_0x1ba8e5,_0x56a6df(0x1dd),this[_0x56a6df(0x16f)]),_0x12f307(_0x1ba8e5,'pie.rosePie',this[_0x56a6df(0x155)]),_0x12f307(_0x1ba8e5,'pie.showLabelLine',this[_0x56a6df(0x154)]),_0x50a84b[_0x56a6df(0x19d)]=_0x1ba8e5,_0x50a84b;}}class _0x5e609d extends _0x3b3617{[_0x4be151(0x167)](){const _0x5748d7=_0x4be151;return new _0x3c44d7(this[_0x5748d7(0x1e7)],this['subUnitId'],this[_0x5748d7(0x139)],this['_injector'],this[_0x5748d7(0x164)]);}}_0x3b3617[_0x4be151(0x192)](_0x5e609d);class _0xf09104 extends _0x3b3617{constructor(_0x288ff9,_0xeed400,_0x553729,_0x34bb7f,_0x4b9f68){const _0x29960a=_0x4be151;super(_0x288ff9,_0xeed400,_0x553729,_0x34bb7f,_0x4b9f68),_0x4826b0(this,_0x29960a(0x18f)),_0x4826b0(this,_0x29960a(0x1a2));}[_0x4be151(0x1d7)](_0x58abd1){return this['shape']=_0x58abd1,this;}[_0x4be151(0x134)](_0x27cba0){return this['fill']=_0x27cba0,this;}[_0x4be151(0x16e)](){const _0x537206=_0x4be151,_0x1b1255=super[_0x537206(0x16e)]();_0x1b1255['chartType']=_0x4e42e4['ChartTypeBits'][_0x537206(0x15c)];const _0x49e5a7=_0x1b1255[_0x537206(0x19d)]||{};return _0x12f307(_0x49e5a7,'radar.shape',this[_0x537206(0x18f)]),_0x12f307(_0x49e5a7,_0x537206(0x14f),this['fill']),_0x1b1255[_0x537206(0x19d)]=_0x49e5a7,_0x1b1255;}}class _0x10f38a extends _0x3b3617{[_0x4be151(0x14a)](){const _0x3e16d=_0x4be151;return new _0xf09104(this[_0x3e16d(0x1e7)],this['subUnitId'],this[_0x3e16d(0x139)],this['_injector'],this[_0x3e16d(0x164)]);}}_0x3b3617['extend'](_0x10f38a),_0x2a2dbb[_0x4be151(0x11c)]=_0x46f47c,_0x2a2dbb[_0x4be151(0x126)]=_0x3b3617,_0x2a2dbb[_0x4be151(0x1e5)]=_0x9f4562,_0x2a2dbb['PieChartBuilder']=_0x3c44d7,_0x2a2dbb['RadarChartBuilder']=_0xf09104,Object[_0x4be151(0x1a7)](_0x2a2dbb,Symbol[_0x4be151(0x15f)],{'value':_0x4be151(0x112)});}));function _0x2afd(_0xee325a,_0x1e6884){const _0xf3f529=_0xf3f5();return _0x2afd=function(_0x2afd46,_0x29a9ce){_0x2afd46=_0x2afd46-0x112;let _0x43dba9=_0xf3f529[_0x2afd46];return _0x43dba9;},_0x2afd(_0xee325a,_0x1e6884);}function _0xf3f5(){const _0x4bfc3a=['titles.xAxisTitle.bold','setShowLabelLine','legend.selectMode','titles.yAxisTitle.content','getSheetId','getChartId','getCategoryData','setAxisPointerStyle','_commandService','options','string','_injector','yAxis.label.axisTitleAlign','backgroundColor','fill','UniverProSheetsChartUiFacade','dataPointSize','titles.title.font','getRenderById','defineProperty','area.lineStyle','814880dQdZEY','getChartModel','titles.title.family','xAxis.label.axisTitleAlign','insertChart','tooltip.indicatorLabelTextColor','font','allSeriesStyle.point.shape','invalidValueType','199856vWbeTX','area','sheetName','CommandService','dataPointShape','ChartUpdateSourceCommand','IRenderManagerService','titles.xAxisTitle.font','indicatorLineType','generateRandomId','legend.label.italic','convertPositionCellToSheetOverGrid','context','UniverEngineFormula','SheetsChartService','config','style','setDataPointColor','titles.rightYAxisTitle.bold','titles.rightYAxisTitle.font','legend.label.color','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','setProperty','get','DRAWING_CHART','SheetSkeletonManagerService','@univerjs/sheets-ui','dataPointColor','pie','xAxisTitle','titles.yAxisTitle.fontSize','getUnitChartModels','clearRange','getChartType','titles.xAxisTitle.fontSize','allSeriesStyle.point.color','@univerjs/core/facade','setShape','ISheetSelectionRenderService','setAbsolutePosition','titles.yAxisTitle.family','setDoughnutHole','UniverCoreFacade','pie.isHalfPie','lineStyle','LinePointShape','dataSource','pie.hasPaddingAngle','setLineStyle','231405QEKfsa','getWorkbook','LineChartBuilder','indicatorLabelTextColor','unitId','position','RemoveSheetDrawingCommand','Module','pie.borderColor','\x20not\x20found','setOptions','indicatorLabelColor','11DciMkz','selectMode','setPosition','fontColor','titles.rightYAxisTitle.content','FChart','sourceSheetName','FEnum','UniverInstanceType','seriesStyleMap','range','441930bufaOk','with','rightYAxisTitle','series','FChartBuilderBase','bold','yRightAxis','pie.rosePie','titles.title.color','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','allSeriesStyle.point.size','fontSize','length','titles.title.align','transposeRowsAndColumns','FWorksheet','asLineChart','titleAlignment','setFill','radar','@univerjs-pro/sheets-chart-ui','legend','setDataPointShape','_workbook','setSeriesStyle','@univerjs/core','IUniverInstanceService','InsertChartCommand','setIsHalfPie','@univerjs/sheets-drawing-ui','updateChart','429890GOVSVP','titles.xAxisTitle.content','title','UniverEngineRender','titles.xAxisTitle.color','719474dFSHkF','axisAlignment','doughnutHole','category','asRadarChart','UniverSheetsFacade','@univerjs/engine-render','rightYAxis.label.axisTitleAlign','SelectModeEnum','radar.fill','height','@univerjs/sheets/facade','titles.yAxisTitle.color','@univerjs-pro/sheets-chart','showLabelLine','rosePie','exports','setYAxisTextStyle','titles.yAxisTitle.font','pie.showLabelLine','left','fontStyle','Radar','chartType','ChartType','toStringTag','width','titles.rightYAxisTitle.fontSize','setRosePie','UniverSheetsUi','chartId','theme','borderColor','asPieChart','titles.title.bold','yAxisTitle','subUnitId','AxisAlignEnum','amd','ChartTypeBits','build','isHalfPie','allSeriesStyle','axisPointer','10834Dfozvi','italic','titles.titlePosition','modify','setYAxisTitle','xAxis','hasPaddingAngle','point','tooltip.indicatorLabelColor','executeCommand','ChartThemeService','newChart','titles.title.fontSize','UniverCore','FBase','setBorderColor','setTheme','content','Sheet\x20','getSheetBySheetName','deserializeRangeWithSheet','isRowDirection','setTransposeRowsAndColumns','UNIVER_SHEET','object','getRange','titles.xAxisTitle.family','getCurrentUnitForType','getUnitId','shape','pie.doughnutHole','titles.rightYAxisTitle.color','extend','yAxis'];_0xf3f5=function(){return _0x4bfc3a;};return _0xf3f5();}
|
|
1
|
+
function _0x59b5(_0xa9c888,_0x3b26ff){const _0x4cd9b1=_0x4cd9();return _0x59b5=function(_0x59b581,_0x209d84){_0x59b581=_0x59b581-0x183;let _0xcb9d4e=_0x4cd9b1[_0x59b581];return _0xcb9d4e;},_0x59b5(_0xa9c888,_0x3b26ff);}function _0x4cd9(){const _0x533ccf=['removeChart','font','FEnum','getCurrentUnitForType','category','@univerjs/core','SelectModeEnum','UniverProSheetsChart','getUnitChartModels','titles.title.family','exports','keys','allSeriesStyle.point','function','titles.rightYAxisTitle.content','content','pie.borderColor','@univerjs-pro/sheets-chart-ui','isRowDirection','subUnitId','LegendPositionEnum','377635zCtmeh','titles.xAxisTitle.font','TitlePositionEnum','setProperty','title','UniverProSheetsChartUiFacade','ChartBorderDashType','10484910jPOWca','setBorderColor','registerTheme','legend.position','options','setTransposeRowsAndColumns','UniverEngineFormula','map','@univerjs/engine-formula','insertChart','invalidValueType','length','LinePointShape','setDataPointColor','2624996KRgGju','tooltip.indicatorLabelColor','dataSource','titles.rightYAxisTitle.bold','setSeriesStyle','ICommandService','with','border','setXAxisTextStyle','left','setHeight','RadarChartBuilder','@univerjs-pro/sheets-chart','tooltip.indicatorLineType','area.lineStyle','amd','setRosePie','setDoughnutHole','rightYAxisTitle','Pie','lineStyle','setOptions','top','ChartThemeService','pie.doughnutHole','fontSize','axisPointer','pie.showLabelLine','titles.xAxisTitle.fontSize','@univerjs/engine-render','fontColor','UniverEngineRender','7DSnbfB','height','titles.rightYAxisTitle.font','backgroundColor','defineProperty','getCategoryData','pie.hasPaddingAngle','sheetName','@univerjs/sheets/facade','italic','titleAlignment','extend','getRangeInfo','legend.label.color','48hvMwkl','axisAlignment','titles.title.bold','getChartModel','Sheet\x20','@univerjs/sheets-drawing-ui','setYAxisTitle','titles.title.align','titles.title.color','chartId','DRAWING_CHART','setChartType','seriesStyleMap','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','chartType','_injector','position','setAbsolutePosition','titles.xAxisTitle.family','showLabelLine','allSeriesStyle','setShowLabelLine','allSeriesStyle.color','18qtxTgB','9042444VEXmgg','FChartBuilderBase','allSeriesStyle.border','transposeRowsAndColumns','modify','indicatorLabelTextColor','radar','dataPointColor','legend.label.fontSize','titles.yAxisTitle.color','deserializeRangeWithSheet','toStringTag','theme','LineChartBuilder','width','convertPositionCellToSheetOverGrid','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','SheetsChartService','context','UniverSheetsUi','xAxis','getWorkbook','gradientFill','asPieChart','97532SuIcmt','xAxisTitle','AxisAlignEnum','borderColor','UNIVER_SHEET','yAxis.label.axisTitleAlign','ChartType','InsertChartCommand','getSeriesData','allSeriesStyle.point.color','build','3126568AyKIpA','yAxis','style','titles.rightYAxisTitle.family','setAllSeriesStyle','_commandService','unitId','legend.label.italic','Module','FChart','setIsHalfPie','PieChartBuilder','tooltip.indicatorLabelTextColor','dataPointSize','titles.rightYAxisTitle.color','get','UniverSheetsDrawingUi','titles.yAxisTitle.content','color','_workbook','setHasPaddingAngle','3krVpag','allSeriesStyle.point.size','allSeriesStyle.rightYAxis','fill','getUnitId','titles.title.font','ChartUpdateSourceCommand','bold','@univerjs/sheets-ui','getSheetId','pie.isHalfPie','UniverSheetsFacade','hasPaddingAngle','IUniverInstanceService','FBase','setLineStyle','area','updateRange','tooltip.indicatorLineColor','titles.xAxisTitle.bold','FWorksheet','titles.yAxisTitle.fontSize','indicatorLineColor','ChartUpdateConfigCommand','titles.yAxisTitle.family','getRenderById','getChartId','@univerjs/core/facade','getChartType','sourceSheetName','RemoveSheetDrawingCommand','doughnutHole','dataPointShape','range','setRightYAxisTextStyle','SheetSkeletonManagerService','UniverCore','isHalfPie','yRightAxis','3744620oJwbBx','legend.selectMode','executeCommand','RadarShape','string','allSeriesStyle.label','xAxis.label.axisTitleAlign','shape','pie','setFill','yAxisTitle','ChartTypeBits','setPosition','ISheetSelectionRenderService','asLineChart','rosePie','titles.title.content','indicatorLabelColor','updateChart','fontStyle'];_0x4cd9=function(){return _0x533ccf;};return _0x4cd9();}(function(_0x39ce5d,_0x2cbe0b){const _0x1f960d=_0x59b5,_0x18e9d2=_0x39ce5d();while(!![]){try{const _0x4bfa6f=parseInt(_0x1f960d(0x202))/0x1*(parseInt(_0x1f960d(0x21b))/0x2)+-parseInt(_0x1f960d(0x23b))/0x3*(-parseInt(_0x1f960d(0x262))/0x4)+parseInt(_0x1f960d(0x1a8))/0x5*(-parseInt(_0x1f960d(0x1eb))/0x6)+-parseInt(_0x1f960d(0x1dd))/0x7*(parseInt(_0x1f960d(0x226))/0x8)+parseInt(_0x1f960d(0x203))/0x9+-parseInt(_0x1f960d(0x1af))/0xa+-parseInt(_0x1f960d(0x1bd))/0xb;if(_0x4bfa6f===_0x2cbe0b)break;else _0x18e9d2['push'](_0x18e9d2['shift']());}catch(_0x22bb82){_0x18e9d2['push'](_0x18e9d2['shift']());}}}(_0x4cd9,0x82faf),function(_0x4ba168,_0x57c91f){const _0x10e09b=_0x59b5;typeof exports=='object'&&typeof module<'u'?_0x57c91f(exports,require('@univerjs-pro/sheets-chart'),require(_0x10e09b(0x1a4)),require(_0x10e09b(0x198)),require('@univerjs/sheets-drawing-ui'),require(_0x10e09b(0x1e5)),require(_0x10e09b(0x256)),require('@univerjs/engine-formula'),require(_0x10e09b(0x1da)),require(_0x10e09b(0x243))):typeof define==_0x10e09b(0x1a0)&&define[_0x10e09b(0x1cc)]?define([_0x10e09b(0x19d),_0x10e09b(0x1c9),_0x10e09b(0x1a4),_0x10e09b(0x198),_0x10e09b(0x1f0),_0x10e09b(0x1e5),_0x10e09b(0x256),_0x10e09b(0x1b7),_0x10e09b(0x1da),_0x10e09b(0x243)],_0x57c91f):(_0x4ba168=typeof globalThis<'u'?globalThis:_0x4ba168||self,_0x57c91f(_0x4ba168[_0x10e09b(0x1ad)]={},_0x4ba168[_0x10e09b(0x19a)],_0x4ba168['UniverProSheetsChartUi'],_0x4ba168[_0x10e09b(0x25f)],_0x4ba168[_0x10e09b(0x236)],_0x4ba168[_0x10e09b(0x246)],_0x4ba168['UniverCoreFacade'],_0x4ba168[_0x10e09b(0x1b5)],_0x4ba168[_0x10e09b(0x1dc)],_0x4ba168[_0x10e09b(0x216)]));}(this,function(_0x121d86,_0x5c6e13,_0xf2bd5d,_0x565596,_0x33980d,_0x459d2d,_0x3761ea,_0x35de0c,_0xe89ae1,_0x10f9e7){'use strict';const _0x55f44d=_0x59b5;var _0x7f2009=Object[_0x55f44d(0x1e1)],_0x32dd8f=(_0x34cce9,_0x4ff0d2,_0x4c3ef7)=>_0x4ff0d2 in _0x34cce9?_0x7f2009(_0x34cce9,_0x4ff0d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c3ef7}):_0x34cce9[_0x4ff0d2]=_0x4c3ef7,_0x97d946=(_0x7fe3e4,_0x407f82,_0x2efa02)=>_0x32dd8f(_0x7fe3e4,typeof _0x407f82!='symbol'?_0x407f82+'':_0x407f82,_0x2efa02);const _0x147a98=(_0x48a2c7,_0x558a48,_0x46a16c)=>{const _0x161f4a=_0x55f44d;_0x46a16c!==void 0x0&&_0x5c6e13[_0x161f4a(0x1ab)](_0x48a2c7,_0x558a48,_0x46a16c);},_0x19fd6e=(_0x40ebb9,_0x476e00,_0x19e543,_0x5a9408={})=>{const _0x419b27=_0x55f44d,_0x40b564={},_0x329c94={};if(_0x5a9408['title']){const _0x7adefd=_0x5a9408[_0x419b27(0x1ac)];_0x147a98(_0x40b564,_0x419b27(0x18f),_0x7adefd['content']),_0x147a98(_0x40b564,_0x419b27(0x240),_0x7adefd['font']),_0x147a98(_0x40b564,'titles.title.fontSize',_0x7adefd[_0x419b27(0x1d6)]),_0x147a98(_0x40b564,_0x419b27(0x1f3),_0x7adefd[_0x419b27(0x1db)]),_0x147a98(_0x40b564,_0x419b27(0x19c),_0x7adefd['fontStyle']),_0x147a98(_0x40b564,_0x419b27(0x1ed),_0x7adefd[_0x419b27(0x242)]),_0x147a98(_0x40b564,_0x419b27(0x1f2),_0x7adefd[_0x419b27(0x1e7)]),_0x147a98(_0x40b564,'titles.titlePosition',_0x7adefd[_0x419b27(0x1fb)]);}if(_0x5a9408['legend']){const _0x553223=_0x5a9408['legend'];_0x147a98(_0x40b564,_0x419b27(0x1b2),_0x553223[_0x419b27(0x1fb)]),_0x147a98(_0x40b564,_0x419b27(0x263),_0x553223['selectMode']),_0x147a98(_0x40b564,_0x419b27(0x20b),_0x553223['fontSize']),_0x147a98(_0x40b564,_0x419b27(0x1ea),_0x553223[_0x419b27(0x238)]),_0x147a98(_0x40b564,'legend.label.bold',_0x553223[_0x419b27(0x242)]),_0x147a98(_0x40b564,_0x419b27(0x22d),_0x553223[_0x419b27(0x1e6)]);}if(_0x5a9408[_0x419b27(0x187)]){const _0x3b86c9=_0x5a9408[_0x419b27(0x187)];_0x147a98(_0x40b564,_0x419b27(0x1d5),_0x3b86c9[_0x419b27(0x25a)]),_0x147a98(_0x40b564,_0x419b27(0x1a3),_0x3b86c9['borderColor']),_0x147a98(_0x40b564,'pie.hasPaddingAngle',_0x3b86c9[_0x419b27(0x247)]),_0x147a98(_0x40b564,'pie.isHalfPie',_0x3b86c9[_0x419b27(0x260)]),_0x147a98(_0x40b564,'pie.rosePie',_0x3b86c9['rosePie']),_0x147a98(_0x40b564,_0x419b27(0x1d8),_0x3b86c9[_0x419b27(0x1fe)]);}if(_0x5a9408['axisPointer']){const _0x39bc13=_0x5a9408[_0x419b27(0x1d7)];_0x147a98(_0x40b564,_0x419b27(0x1be),_0x39bc13[_0x419b27(0x190)]),_0x147a98(_0x40b564,_0x419b27(0x1ca),_0x39bc13['indicatorLineType']),_0x147a98(_0x40b564,_0x419b27(0x24d),_0x39bc13[_0x419b27(0x251)]),_0x147a98(_0x40b564,_0x419b27(0x232),_0x39bc13[_0x419b27(0x208)]);}if(_0x5a9408[_0x419b27(0x1ff)]&&(_0x147a98(_0x40b564,_0x419b27(0x205),_0x5a9408[_0x419b27(0x1ff)][_0x419b27(0x1c4)]),_0x147a98(_0x40b564,_0x419b27(0x184),_0x5a9408[_0x419b27(0x1ff)]['label']),_0x147a98(_0x40b564,_0x419b27(0x23d),_0x5a9408[_0x419b27(0x1ff)]['rightYAxis']),_0x147a98(_0x40b564,_0x419b27(0x19f),_0x5a9408[_0x419b27(0x1ff)]['point']),_0x147a98(_0x40b564,_0x419b27(0x201),_0x5a9408[_0x419b27(0x1ff)]['color'])),_0x5a9408[_0x419b27(0x24b)]&&_0x147a98(_0x40b564,'area.lineStyle',_0x5a9408['area'][_0x419b27(0x1d1)]),_0x5a9408[_0x419b27(0x20f)]&&_0x147a98(_0x40b564,_0x419b27(0x20f),_0x5a9408[_0x419b27(0x20f)]),_0x5a9408[_0x419b27(0x1e0)]&&_0x147a98(_0x40b564,_0x419b27(0x1e0),_0x5a9408[_0x419b27(0x1e0)]),_0x5a9408['borderColor']&&_0x147a98(_0x40b564,_0x419b27(0x21e),_0x5a9408[_0x419b27(0x21e)]),_0x5a9408[_0x419b27(0x219)]&&_0x147a98(_0x40b564,'gradientFill',_0x5a9408[_0x419b27(0x219)]),_0x5a9408[_0x419b27(0x1b9)]&&_0x147a98(_0x40b564,_0x419b27(0x1b9),_0x5a9408[_0x419b27(0x1b9)]),_0x5a9408[_0x419b27(0x209)]&&_0x147a98(_0x40b564,'radar',_0x5a9408[_0x419b27(0x209)]),_0x5a9408['xAxisTitle']){const _0x5a0606=_0x5a9408[_0x419b27(0x21c)];_0x147a98(_0x40b564,'titles.xAxisTitle.content',_0x5a0606['content']),_0x147a98(_0x40b564,_0x419b27(0x1a9),_0x5a0606[_0x419b27(0x194)]),_0x147a98(_0x40b564,_0x419b27(0x1d9),_0x5a0606['fontSize']),_0x147a98(_0x40b564,'titles.xAxisTitle.color',_0x5a0606[_0x419b27(0x1db)]),_0x147a98(_0x40b564,_0x419b27(0x1fd),_0x5a0606[_0x419b27(0x192)]),_0x147a98(_0x40b564,_0x419b27(0x24e),_0x5a0606[_0x419b27(0x242)]),_0x147a98(_0x40b564,_0x419b27(0x185),_0x5a0606[_0x419b27(0x1ec)]);}if(_0x5a9408['yAxisTitle']){const _0x1ff40a=_0x5a9408[_0x419b27(0x189)];_0x147a98(_0x40b564,_0x419b27(0x237),_0x1ff40a[_0x419b27(0x1a2)]),_0x147a98(_0x40b564,'titles.yAxisTitle.font',_0x1ff40a[_0x419b27(0x194)]),_0x147a98(_0x40b564,_0x419b27(0x250),_0x1ff40a['fontSize']),_0x147a98(_0x40b564,_0x419b27(0x20c),_0x1ff40a[_0x419b27(0x1db)]),_0x147a98(_0x40b564,_0x419b27(0x253),_0x1ff40a[_0x419b27(0x192)]),_0x147a98(_0x40b564,'titles.yAxisTitle.bold',_0x1ff40a[_0x419b27(0x242)]),_0x147a98(_0x40b564,_0x419b27(0x220),_0x1ff40a[_0x419b27(0x1ec)]);}if(_0x5a9408[_0x419b27(0x1cf)]){const _0x42c636=_0x5a9408[_0x419b27(0x1cf)];_0x147a98(_0x40b564,_0x419b27(0x1a1),_0x42c636['content']),_0x147a98(_0x40b564,_0x419b27(0x1df),_0x42c636[_0x419b27(0x194)]),_0x147a98(_0x40b564,'titles.rightYAxisTitle.fontSize',_0x42c636[_0x419b27(0x1d6)]),_0x147a98(_0x40b564,_0x419b27(0x234),_0x42c636[_0x419b27(0x1db)]),_0x147a98(_0x40b564,_0x419b27(0x229),_0x42c636[_0x419b27(0x192)]),_0x147a98(_0x40b564,_0x419b27(0x1c0),_0x42c636[_0x419b27(0x242)]),_0x147a98(_0x40b564,'rightYAxis.label.axisTitleAlign',_0x42c636[_0x419b27(0x1ec)]);}_0x5a9408[_0x419b27(0x217)]&&_0x147a98(_0x40b564,_0x419b27(0x217),_0x5a9408[_0x419b27(0x217)]),_0x5a9408[_0x419b27(0x227)]&&_0x147a98(_0x40b564,_0x419b27(0x227),_0x5a9408[_0x419b27(0x227)]),_0x5a9408[_0x419b27(0x261)]&&_0x147a98(_0x40b564,'rightYAxis',_0x5a9408[_0x419b27(0x261)]),_0x5a9408[_0x419b27(0x1f7)]&&_0x147a98(_0x40b564,_0x419b27(0x1f7),_0x5a9408[_0x419b27(0x1f7)]);const _0x5f3381={'unitId':_0x40ebb9,'chartModelId':_0x476e00};let _0x5d440b=!0x1;if(_0x19e543!==void 0x0&&(_0x5f3381[_0x419b27(0x1f9)]=_0x19e543,_0x5d440b=!0x0),Object[_0x419b27(0x19e)](_0x40b564)[_0x419b27(0x1ba)]>0x0&&(_0x5f3381[_0x419b27(0x228)]=_0x40b564,_0x5d440b=!0x0),Object[_0x419b27(0x19e)](_0x329c94)[_0x419b27(0x1ba)]>0x0&&(_0x5f3381[_0x419b27(0x215)]=_0x329c94,_0x5d440b=!0x0),_0x5d440b)return _0x5f3381;};class _0x1cc54e extends _0x3761ea[_0x55f44d(0x249)]{constructor(_0x38eeb2,_0x280038,_0x3b8f85,_0x218c17,_0x5e184c){const _0x3ca8c9=_0x55f44d;super(),_0x97d946(this,_0x3ca8c9(0x239)),_0x97d946(this,'_injector'),_0x97d946(this,_0x3ca8c9(0x22c)),_0x97d946(this,'subUnitId'),_0x97d946(this,'chartId'),_0x97d946(this,'range'),_0x97d946(this,_0x3ca8c9(0x258)),_0x97d946(this,'x'),_0x97d946(this,'y'),_0x97d946(this,_0x3ca8c9(0x211)),_0x97d946(this,_0x3ca8c9(0x1de)),_0x97d946(this,'chartType'),_0x97d946(this,'options'),_0x97d946(this,_0x3ca8c9(0x206)),(this['unitId']=_0x38eeb2,this[_0x3ca8c9(0x1a6)]=_0x280038,this[_0x3ca8c9(0x239)]=_0x3b8f85,this['_injector']=_0x218c17,_0x5e184c&&(this[_0x3ca8c9(0x1f4)]=_0x5e184c));}[_0x55f44d(0x257)](){const _0x37bd1a=_0x55f44d;return this[_0x37bd1a(0x1f9)];}['addRange'](_0x16ef80){const _0x5af90f=_0x55f44d;if(typeof _0x16ef80==_0x5af90f(0x183)){const _0x480585=_0x35de0c[_0x5af90f(0x20d)](_0x16ef80);_0x480585[_0x5af90f(0x1e4)]&&(this[_0x5af90f(0x258)]=_0x480585[_0x5af90f(0x1e4)]),this[_0x5af90f(0x25c)]=_0x480585[_0x5af90f(0x25c)];}else this[_0x5af90f(0x25c)]=_0x16ef80;return this;}['clearRange'](){const _0x109a36=_0x55f44d;return this[_0x109a36(0x25c)]=void 0x0,this[_0x109a36(0x258)]=void 0x0,this;}[_0x55f44d(0x18b)](_0x44e7bf,_0x5c2d5b,_0x38e21b,_0x4ce20f){const _0x139af2=_0x55f44d,_0x478e5e=this['_injector']['get'](_0xe89ae1['IRenderManagerService'])[_0x139af2(0x254)](this[_0x139af2(0x22c)]);if(!_0x478e5e)throw new Error(_0x139af2(0x1f8));const _0x317441=_0x478e5e['with'](_0x10f9e7[_0x139af2(0x18c)]),_0x3cf1a0=_0x478e5e[_0x139af2(0x1c3)](_0x10f9e7[_0x139af2(0x25e)]),{transform:_0x4d4396}=_0x10f9e7[_0x139af2(0x212)](this[_0x139af2(0x22c)],this['subUnitId'],{'row':_0x44e7bf,'column':_0x5c2d5b,'rowOffset':_0x38e21b,'columnOffset':_0x4ce20f},0x1,0x1,_0x317441,_0x3cf1a0),_0x1fec08=_0x4d4396[_0x139af2(0x1d3)],_0x159a7f=_0x4d4396[_0x139af2(0x1c6)];return this['x']=_0x159a7f,this['y']=_0x1fec08,this;}[_0x55f44d(0x1fc)](_0x4ff2ce,_0x520631){return this['x']=_0x4ff2ce,this['y']=_0x520631,this;}[_0x55f44d(0x1f6)](_0x18ee40){const _0x9ee8a6=_0x55f44d;return this[_0x9ee8a6(0x1f9)]=_0x18ee40,this;}['setWidth'](_0x401281){return this['width']=_0x401281,this;}[_0x55f44d(0x1c7)](_0x57eb55){const _0x171c2d=_0x55f44d;return this[_0x171c2d(0x1de)]=_0x57eb55,this;}['setOptions'](_0x4913c6,_0x490a1b){const _0x2d148e=_0x55f44d;return this[_0x2d148e(0x1b3)]||(this[_0x2d148e(0x1b3)]={}),_0x4913c6===''?(this[_0x2d148e(0x1b3)]={...this['options'],..._0x490a1b},this):(_0x5c6e13[_0x2d148e(0x1ab)](this['options'],_0x4913c6,_0x490a1b),this);}[_0x55f44d(0x1b4)](_0x5165c6){const _0x5f52a2=_0x55f44d;return this[_0x5f52a2(0x206)]=_0x5165c6,this;}['setTheme'](_0x57856c){const _0x759550=_0x55f44d;return this[_0x759550(0x1d2)](_0x759550(0x20f),_0x57856c),this;}['setXAxisTitle'](_0x4d364a){const _0x54862b=_0x55f44d;var _0x51939e;const _0x47730a=((_0x51939e=this['options'])==null?void 0x0:_0x51939e[_0x54862b(0x21c)])||{};return _0x47730a[_0x54862b(0x1a2)]=_0x4d364a,this['setOptions'](_0x54862b(0x21c),_0x47730a),this;}[_0x55f44d(0x1f1)](_0xa574ff){const _0x443f97=_0x55f44d;var _0x3b95ae;const _0x1017f4=((_0x3b95ae=this[_0x443f97(0x1b3)])==null?void 0x0:_0x3b95ae[_0x443f97(0x189)])||{};return _0x1017f4[_0x443f97(0x1a2)]=_0xa574ff,this['setOptions'](_0x443f97(0x189),_0x1017f4),this;}['setRightYAxisTitle'](_0x50bae5){const _0x312b40=_0x55f44d;var _0x263892;const _0x173976=((_0x263892=this['options'])==null?void 0x0:_0x263892[_0x312b40(0x1cf)])||{};return _0x173976['content']=_0x50bae5,this[_0x312b40(0x1d2)]('rightYAxisTitle',_0x173976),this;}[_0x55f44d(0x1c5)](_0x3bc4b3){const _0x41d822=_0x55f44d;var _0x222e6b;const _0x13d8b2=((_0x222e6b=this[_0x41d822(0x1b3)])==null?void 0x0:_0x222e6b[_0x41d822(0x21c)])||{};return this[_0x41d822(0x1d2)]('xAxisTitle',{..._0x13d8b2,..._0x3bc4b3}),this;}['setYAxisTextStyle'](_0x5de91b){const _0x289398=_0x55f44d;var _0x3af0bd;const _0xe39877=((_0x3af0bd=this[_0x289398(0x1b3)])==null?void 0x0:_0x3af0bd['yAxisTitle'])||{};return this[_0x289398(0x1d2)](_0x289398(0x189),{..._0xe39877,..._0x5de91b}),this;}[_0x55f44d(0x25d)](_0x28847b){const _0x3b31a1=_0x55f44d;var _0x560cee;const _0x4ea72d=((_0x560cee=this[_0x3b31a1(0x1b3)])==null?void 0x0:_0x560cee['rightYAxisTitle'])||{};return this[_0x3b31a1(0x1d2)](_0x3b31a1(0x1cf),{..._0x4ea72d,..._0x28847b}),this;}['setInvalidValueStrategy'](_0x280f7e){return this['setOptions']('invalidValueType',_0x280f7e),this;}['setAxisPointerStyle'](_0x48113d){const _0x3f444a=_0x55f44d;return this[_0x3f444a(0x1d2)](_0x3f444a(0x1d7),_0x48113d),this;}[_0x55f44d(0x22a)](_0x238b71){const _0x28b34c=_0x55f44d;return this['setOptions'](_0x28b34c(0x1ff),_0x238b71),this;}[_0x55f44d(0x1c1)](_0x2e1d2f,_0x397b2a){const _0x38b15d=_0x55f44d;return this[_0x38b15d(0x1d2)](_0x38b15d(0x1f7),{[_0x2e1d2f]:_0x397b2a}),this;}[_0x55f44d(0x225)](){const _0x488ff6=_0x55f44d;var _0x3c73db;let _0xbd509c=this[_0x488ff6(0x1a6)];if(this[_0x488ff6(0x258)]){const _0xecdb7f=(_0x3c73db=this[_0x488ff6(0x239)]['getSheetBySheetName'](this[_0x488ff6(0x258)]))==null?void 0x0:_0x3c73db[_0x488ff6(0x244)]();if(!_0xecdb7f)throw new Error(_0x488ff6(0x1ef)+this[_0x488ff6(0x258)]+'\x20not\x20found');_0xbd509c=_0xecdb7f;}return{'unitId':this['unitId'],'subUnitId':_0xbd509c,'chartId':this['chartId'],'range':this['range'],'x':this['x'],'y':this['y'],'width':this[_0x488ff6(0x211)],'height':this['height'],'chartType':this[_0x488ff6(0x1f9)],'options':this[_0x488ff6(0x1b3)],'isRowDirection':this['transposeRowsAndColumns']};}}class _0x247719{constructor(_0x52e3d,_0x3984f7,_0x2cc6a8,_0x2ac754){const _0x12b664=_0x55f44d;_0x97d946(this,_0x12b664(0x22c)),_0x97d946(this,'subUnitId'),_0x97d946(this,'chartId'),_0x97d946(this,'_injector'),(this['unitId']=_0x52e3d,this[_0x12b664(0x1a6)]=_0x3984f7,this[_0x12b664(0x1f4)]=_0x2cc6a8,this[_0x12b664(0x1fa)]=_0x2ac754);}[_0x55f44d(0x255)](){const _0x1a1ba8=_0x55f44d;return this[_0x1a1ba8(0x1f4)];}['getRange'](){const _0x370f91=_0x55f44d,_0x394146=this['_injector'][_0x370f91(0x235)](_0x5c6e13[_0x370f91(0x214)])['getChartModel'](this[_0x370f91(0x1f4)]);if(_0x394146)return _0x394146[_0x370f91(0x1bf)][_0x370f91(0x1e9)]();}[_0x55f44d(0x24c)](_0x53d533){const _0x530bc1=_0x55f44d;return this[_0x530bc1(0x1fa)][_0x530bc1(0x235)](_0x565596[_0x530bc1(0x1c2)])[_0x530bc1(0x264)](_0x5c6e13[_0x530bc1(0x241)]['id'],{'unitId':this[_0x530bc1(0x22c)],'chartModelId':this[_0x530bc1(0x1f4)],'range':_0x53d533});}[_0x55f44d(0x223)](){const _0x5cc183=_0x55f44d;var _0x28d627;const _0x54a94d=this[_0x5cc183(0x1fa)]['get'](_0x5c6e13[_0x5cc183(0x214)])[_0x5cc183(0x1ee)](this[_0x5cc183(0x1f4)]);if(_0x54a94d)return(_0x28d627=_0x54a94d['config'])==null?void 0x0:_0x28d627['series'];}[_0x55f44d(0x1e2)](){const _0x8063fa=_0x55f44d;var _0x126b95;const _0x298542=this['_injector'][_0x8063fa(0x235)](_0x5c6e13[_0x8063fa(0x214)])[_0x8063fa(0x1ee)](this['chartId']);if(_0x298542)return(_0x126b95=_0x298542['config'])==null?void 0x0:_0x126b95[_0x8063fa(0x197)];}[_0x55f44d(0x207)](){const _0x158fe0=_0x55f44d,_0x557126=this[_0x158fe0(0x1fa)]['get'](_0x565596[_0x158fe0(0x248)])[_0x158fe0(0x196)](_0x565596['UniverInstanceType'][_0x158fe0(0x21f)]);return new _0x1cc54e(this['unitId'],this[_0x158fe0(0x1a6)],_0x557126,this['_injector'],this['chartId']);}}class _0x1214f6 extends _0x459d2d['FWorksheet']{async[_0x55f44d(0x1b8)](_0x301be1){const _0x15ef33=_0x55f44d;var _0x35e950,_0x5c4f8a,_0x32839e;const _0x31ed83=_0x301be1[_0x15ef33(0x22c)]||this['getWorkbook']()[_0x15ef33(0x23f)](),_0x160fba=_0x301be1['subUnitId']||this[_0x15ef33(0x244)](),_0x172715=_0x301be1[_0x15ef33(0x1f4)]||_0x565596['generateRandomId'](),_0x260bf3=_0x301be1[_0x15ef33(0x1f9)],_0x3a16b8=_0x301be1[_0x15ef33(0x25c)],_0x52aac3={'x':_0x301be1['x'],'y':_0x301be1['y']},_0x569ce9=_0x301be1[_0x15ef33(0x211)],_0x46788c=_0x301be1[_0x15ef33(0x1de)],_0x27f3c7=(_0x35e950=_0x301be1['options'])==null?void 0x0:_0x35e950['backgroundColor'],_0x158c09=(_0x5c4f8a=_0x301be1[_0x15ef33(0x1b3)])==null?void 0x0:_0x5c4f8a[_0x15ef33(0x21e)],_0x466b25=_0x19fd6e(_0x31ed83,_0x172715,_0x260bf3,_0x301be1[_0x15ef33(0x1b3)]),_0x58b95a=(_0x32839e=_0x301be1[_0x15ef33(0x1a5)])!=null?_0x32839e:!0x0;if(!_0x3a16b8)throw new Error(_0x15ef33(0x213));return await this[_0x15ef33(0x22b)][_0x15ef33(0x264)](_0xf2bd5d[_0x15ef33(0x222)]['id'],{'unitId':_0x31ed83,'subUnitId':_0x160fba,'chartId':_0x172715,'chartType':_0x260bf3,'range':_0x3a16b8,'position':_0x52aac3,'width':_0x569ce9,'height':_0x46788c,'backgroundColor':_0x27f3c7,'borderColor':_0x158c09,'config':_0x466b25,'isRowDirection':_0x58b95a}),new _0x247719(_0x31ed83,_0x160fba,_0x172715,this[_0x15ef33(0x1fa)]);}[_0x55f44d(0x191)](_0x1b9446){const _0x3f18fa=_0x55f44d,{unitId:_0x4e0475,chartId:_0x6eeda1,chartType:_0x2d9e6a,options:_0x38aaa6}=_0x1b9446,_0x57fdaf=_0x19fd6e(_0x4e0475,_0x6eeda1,_0x2d9e6a,_0x38aaa6);this[_0x3f18fa(0x22b)][_0x3f18fa(0x264)](_0x5c6e13[_0x3f18fa(0x252)]['id'],_0x57fdaf);}['newChart'](_0xef75f0){const _0x189d80=_0x55f44d;if(_0xef75f0)return new _0x1cc54e(_0xef75f0[_0x189d80(0x22c)],_0xef75f0[_0x189d80(0x1a6)],this[_0x189d80(0x239)],this['_injector'],_0xef75f0[_0x189d80(0x1f4)]);const _0x53facd=this[_0x189d80(0x218)]()['getUnitId'](),_0x17c018=this[_0x189d80(0x244)]();return new _0x1cc54e(_0x53facd,_0x17c018,this[_0x189d80(0x239)],this[_0x189d80(0x1fa)]);}['getCharts'](){const _0x3e5532=_0x55f44d,_0x252b62=this['_injector'][_0x3e5532(0x235)](_0x5c6e13['SheetsChartService']),_0xa44851=this['getWorkbook']()['getUnitId']();return _0x252b62[_0x3e5532(0x19b)](_0xa44851,this[_0x3e5532(0x244)]())[_0x3e5532(0x1b6)](_0x434f1e=>new _0x247719(_0xa44851,this['getSheetId'](),_0x434f1e['id'],this[_0x3e5532(0x1fa)]));}[_0x55f44d(0x193)](_0x4ece0a){const _0x50cf45=_0x55f44d,_0x4bf5b4=_0x4ece0a[_0x50cf45(0x22c)],_0x33aa23=_0x4ece0a[_0x50cf45(0x1a6)],_0x331bef=_0x4ece0a[_0x50cf45(0x1f4)],_0x414fe8={'unitId':_0x4bf5b4,'drawings':[{'unitId':_0x4bf5b4,'subUnitId':_0x33aa23,'drawingId':_0x331bef,'drawingType':_0x565596['DrawingTypeEnum'][_0x50cf45(0x1f5)]}]};return this['_commandService'][_0x50cf45(0x264)](_0x33980d[_0x50cf45(0x259)]['id'],_0x414fe8);}['registerChartTheme'](_0x14c684,_0x4fe167){const _0x1f2709=_0x55f44d;this[_0x1f2709(0x1fa)][_0x1f2709(0x235)](_0x5c6e13[_0x1f2709(0x1d4)])[_0x1f2709(0x1b1)](_0x14c684,_0x4fe167);}}_0x459d2d[_0x55f44d(0x24f)][_0x55f44d(0x1e8)](_0x1214f6);class _0x4830da extends _0x3761ea[_0x55f44d(0x195)]{get[_0x55f44d(0x221)](){return _0x5c6e13['ChartTypeBits'];}get[_0x55f44d(0x1a7)](){return _0x5c6e13['LegendPositionEnum'];}get[_0x55f44d(0x199)](){const _0x39ae15=_0x55f44d;return _0x5c6e13[_0x39ae15(0x199)];}get[_0x55f44d(0x21d)](){return _0x5c6e13['AxisAlignEnum'];}get[_0x55f44d(0x1ae)](){const _0x15f8d0=_0x55f44d;return _0x5c6e13[_0x15f8d0(0x1ae)];}get[_0x55f44d(0x1bb)](){const _0x6b3895=_0x55f44d;return _0x5c6e13[_0x6b3895(0x1bb)];}get[_0x55f44d(0x1aa)](){const _0x3783d0=_0x55f44d;return _0x5c6e13[_0x3783d0(0x1aa)];}get[_0x55f44d(0x265)](){const _0x30e21a=_0x55f44d;return _0x5c6e13[_0x30e21a(0x265)];}}_0x3761ea[_0x55f44d(0x195)][_0x55f44d(0x1e8)](_0x4830da);class _0x2c97d9 extends _0x1cc54e{constructor(_0x526aa0,_0x5e9e36,_0x7f50e7,_0x4d5097,_0x32eab1){const _0x50f210=_0x55f44d;super(_0x526aa0,_0x5e9e36,_0x7f50e7,_0x4d5097,_0x32eab1),_0x97d946(this,_0x50f210(0x1d1)),_0x97d946(this,_0x50f210(0x25b)),_0x97d946(this,_0x50f210(0x20a)),_0x97d946(this,_0x50f210(0x233));}[_0x55f44d(0x24a)](_0x17b3b7){const _0xe238af=_0x55f44d;return this[_0xe238af(0x1d1)]=_0x17b3b7,this;}['setDataPointShape'](_0x2794a4){const _0x140319=_0x55f44d;return this[_0x140319(0x25b)]=_0x2794a4,this;}[_0x55f44d(0x1bc)](_0xb37228){const _0x428fb3=_0x55f44d;return this[_0x428fb3(0x20a)]=_0xb37228,this;}['setDataPointSize'](_0x3fe97a){const _0x30ee27=_0x55f44d;return this[_0x30ee27(0x233)]=_0x3fe97a,this;}[_0x55f44d(0x225)](){const _0x3476a6=_0x55f44d,_0x55e35c=super['build']();_0x55e35c[_0x3476a6(0x1f9)]=_0x5c6e13[_0x3476a6(0x18a)]['Line'];const _0x315c8a=_0x55e35c[_0x3476a6(0x1b3)]||{};return _0x147a98(_0x315c8a,_0x3476a6(0x1cb),this[_0x3476a6(0x1d1)]),_0x147a98(_0x315c8a,'allSeriesStyle.point.shape',this['dataPointShape']),_0x147a98(_0x315c8a,_0x3476a6(0x224),this[_0x3476a6(0x20a)]),_0x147a98(_0x315c8a,_0x3476a6(0x23c),this[_0x3476a6(0x233)]),_0x55e35c[_0x3476a6(0x1b3)]=_0x315c8a,_0x55e35c;}}class _0x26c165 extends _0x1cc54e{[_0x55f44d(0x18d)](){const _0x3933bf=_0x55f44d;return new _0x2c97d9(this[_0x3933bf(0x22c)],this[_0x3933bf(0x1a6)],this[_0x3933bf(0x239)],this[_0x3933bf(0x1fa)],this[_0x3933bf(0x1f4)]);}}_0x1cc54e['extend'](_0x26c165);class _0x265286 extends _0x1cc54e{constructor(_0x27dead,_0x57a17c,_0x1f4518,_0x267fa5,_0x5e4762){const _0xf32dd8=_0x55f44d;super(_0x27dead,_0x57a17c,_0x1f4518,_0x267fa5,_0x5e4762),_0x97d946(this,'doughnutHole'),_0x97d946(this,_0xf32dd8(0x21e)),_0x97d946(this,_0xf32dd8(0x247)),_0x97d946(this,_0xf32dd8(0x260)),_0x97d946(this,'rosePie'),_0x97d946(this,_0xf32dd8(0x1fe));}[_0x55f44d(0x1ce)](_0x2bc066){const _0x5a95e2=_0x55f44d;return this[_0x5a95e2(0x25a)]=_0x2bc066,this;}[_0x55f44d(0x1b0)](_0x31a437){return this['borderColor']=_0x31a437,this;}[_0x55f44d(0x23a)](_0x2ccdb9){return this['hasPaddingAngle']=_0x2ccdb9,this;}[_0x55f44d(0x230)](_0x2b1134){return this['isHalfPie']=_0x2b1134,this;}[_0x55f44d(0x1cd)](_0x5c1f55){const _0x1d9001=_0x55f44d;return this[_0x1d9001(0x18e)]=_0x5c1f55,this;}[_0x55f44d(0x200)](_0x54c3b1){return this['showLabelLine']=_0x54c3b1,this;}[_0x55f44d(0x225)](){const _0x1bdbad=_0x55f44d,_0x3f79df=super[_0x1bdbad(0x225)]();_0x3f79df[_0x1bdbad(0x1f9)]=_0x5c6e13['ChartTypeBits'][_0x1bdbad(0x1d0)];const _0x36adcc=_0x3f79df[_0x1bdbad(0x1b3)]||{};return _0x147a98(_0x36adcc,_0x1bdbad(0x1d5),this[_0x1bdbad(0x25a)]),_0x147a98(_0x36adcc,_0x1bdbad(0x1a3),this['borderColor']),_0x147a98(_0x36adcc,_0x1bdbad(0x1e3),this[_0x1bdbad(0x247)]),_0x147a98(_0x36adcc,_0x1bdbad(0x245),this[_0x1bdbad(0x260)]),_0x147a98(_0x36adcc,'pie.rosePie',this[_0x1bdbad(0x18e)]),_0x147a98(_0x36adcc,_0x1bdbad(0x1d8),this['showLabelLine']),_0x3f79df[_0x1bdbad(0x1b3)]=_0x36adcc,_0x3f79df;}}class _0x3222bd extends _0x1cc54e{[_0x55f44d(0x21a)](){const _0x46fc02=_0x55f44d;return new _0x265286(this['unitId'],this[_0x46fc02(0x1a6)],this[_0x46fc02(0x239)],this[_0x46fc02(0x1fa)],this[_0x46fc02(0x1f4)]);}}_0x1cc54e[_0x55f44d(0x1e8)](_0x3222bd);class _0x1d5912 extends _0x1cc54e{constructor(_0x40d17a,_0x162c66,_0x45054c,_0x531398,_0x1a6651){const _0x2650b7=_0x55f44d;super(_0x40d17a,_0x162c66,_0x45054c,_0x531398,_0x1a6651),_0x97d946(this,_0x2650b7(0x186)),_0x97d946(this,_0x2650b7(0x23e));}['setShape'](_0x1f0ec9){const _0x57e93a=_0x55f44d;return this[_0x57e93a(0x186)]=_0x1f0ec9,this;}[_0x55f44d(0x188)](_0x599886){return this['fill']=_0x599886,this;}[_0x55f44d(0x225)](){const _0x3f35b1=_0x55f44d,_0x5d75fe=super['build']();_0x5d75fe[_0x3f35b1(0x1f9)]=_0x5c6e13['ChartTypeBits']['Radar'];const _0x22dcbd=_0x5d75fe[_0x3f35b1(0x1b3)]||{};return _0x147a98(_0x22dcbd,'radar.shape',this['shape']),_0x147a98(_0x22dcbd,'radar.fill',this[_0x3f35b1(0x23e)]),_0x5d75fe[_0x3f35b1(0x1b3)]=_0x22dcbd,_0x5d75fe;}}class _0x3cd2ef extends _0x1cc54e{['asRadarChart'](){const _0x430899=_0x55f44d;return new _0x1d5912(this[_0x430899(0x22c)],this[_0x430899(0x1a6)],this[_0x430899(0x239)],this[_0x430899(0x1fa)],this[_0x430899(0x1f4)]);}}_0x1cc54e['extend'](_0x3cd2ef),_0x121d86[_0x55f44d(0x22f)]=_0x247719,_0x121d86[_0x55f44d(0x204)]=_0x1cc54e,_0x121d86[_0x55f44d(0x210)]=_0x2c97d9,_0x121d86[_0x55f44d(0x231)]=_0x265286,_0x121d86[_0x55f44d(0x1c8)]=_0x1d5912,Object[_0x55f44d(0x1e1)](_0x121d86,Symbol[_0x55f44d(0x20e)],{'value':_0x55f44d(0x22e)});}));
|