@univerjs-pro/sheets-chart-ui 0.19.0 → 0.20.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.
Files changed (73) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +1 -4
  41. package/lib/types/controllers/sheets-chart-clipboard.controller.d.ts +3 -3
  42. package/lib/types/controllers/sheets-chart-ui.controller.d.ts +2 -6
  43. package/lib/types/index.d.ts +0 -2
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -1
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ja-JP.js +1 -1
  51. package/lib/umd/locale/ko-KR.js +1 -1
  52. package/lib/umd/locale/ru-RU.js +1 -1
  53. package/lib/umd/locale/sk-SK.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +15 -25
  58. package/lib/cjs/facade.js +0 -1
  59. package/lib/es/facade.js +0 -1
  60. package/lib/facade.js +0 -1
  61. package/lib/types/commands/commands/sheets-chart.command.d.ts +0 -24
  62. package/lib/types/const.d.ts +0 -9
  63. package/lib/types/facade/chart-builder/builder-util.d.ts +0 -5
  64. package/lib/types/facade/chart-builder/chart-builder-base.d.ts +0 -899
  65. package/lib/types/facade/chart-builder/line-chart-builder.d.ts +0 -160
  66. package/lib/types/facade/chart-builder/pie-chart-builder.d.ts +0 -189
  67. package/lib/types/facade/chart-builder/radar-chart-builder.d.ts +0 -97
  68. package/lib/types/facade/chart-builder/types.d.ts +0 -34
  69. package/lib/types/facade/f-chart.d.ts +0 -127
  70. package/lib/types/facade/f-enum.d.ts +0 -203
  71. package/lib/types/facade/f-worksheet.d.ts +0 -199
  72. package/lib/types/facade/index.d.ts +0 -20
  73. package/lib/umd/facade.js +0 -1
@@ -1,203 +0,0 @@
1
- import { AxisAlignEnum, ChartBorderDashType, ChartTypeBits, LegendPositionEnum, LinePointShape, RadarShape, SelectModeEnum, TitlePositionEnum } from '@univerjs-pro/engine-chart';
2
- /**
3
- * @ignore
4
- */
5
- export interface IChartEnumMixin {
6
- /**
7
- * Represents the type of the chart. {@link ChartTypeBits}
8
- * @description This enum is used to specify the type of the chart. Which is binary-like value, each bit represents a type of the chart.
9
- *
10
- * @example
11
- * ```ts
12
- * const fWorkbook = univerAPI.getActiveWorkbook();
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);
23
- * ```
24
- */
25
- ChartType: typeof ChartTypeBits;
26
- /**
27
- * Represents the position of the legend in the chart. {@link LegendPositionEnum}
28
- * The possible values are: BOTTOM, TOP, LEFT, RIGHT, HIDE.
29
- *
30
- * @example
31
- * ```ts
32
- * const fWorkbook = univerAPI.getActiveWorkbook();
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);
45
- * ```
46
- */
47
- LegendPositionEnum: typeof LegendPositionEnum;
48
- /**
49
- * Represents the selection mode of the chart. {@link SelectModeEnum}
50
- * The possible values are: SINGLE, MULTIPLE, Close. It used to specify the selection mode of the chart legend.
51
- *
52
- * @example
53
- * ```ts
54
- * const fWorkbook = univerAPI.getActiveWorkbook();
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);
67
- * ```
68
- */
69
- SelectModeEnum: typeof SelectModeEnum;
70
- /**
71
- * Represents the alignment of the axis. {@link AxisAlignEnum}
72
- * The possible values are: START, CENTER, END.
73
- *
74
- * @example
75
- * ```ts
76
- * const fWorkbook = univerAPI.getActiveWorkbook();
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);
95
- * ```
96
- */
97
- AxisAlignEnum: typeof AxisAlignEnum;
98
- /**
99
- * Represents the type of the border dash. {@link ChartBorderDashType}
100
- * The possible values are: SOLID, DOTTED, DASHED.
101
- *
102
- * @example
103
- * ```ts
104
- * const fWorkbook = univerAPI.getActiveWorkbook();
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);
122
- * ```
123
- */
124
- ChartBorderDashType: typeof ChartBorderDashType;
125
- /**
126
- * Represents the shape of the data point in the line chart. {@link LinePointShape}
127
- *
128
- * @example
129
- * ```ts
130
- * const fWorkbook = univerAPI.getActiveWorkbook();
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);
145
- * ```
146
- */
147
- LinePointShape: typeof LinePointShape;
148
- /**
149
- * Represents the position of the title in the chart. {@link TitlePositionEnum}
150
- *
151
- * @example
152
- * ```ts
153
- * const fWorkbook = univerAPI.getActiveWorkbook();
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);
171
- * ```
172
- */
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;
196
- }
197
- /**
198
- * @ignore
199
- */
200
- declare module '@univerjs/core/facade' {
201
- interface FEnum extends IChartEnumMixin {
202
- }
203
- }
@@ -1,199 +0,0 @@
1
- import type { IEchartTheme } from '@univerjs-pro/engine-chart';
2
- import type { IChartBuilderInfo } from './chart-builder/chart-builder-base';
3
- import { FWorksheet } from '@univerjs/sheets/facade';
4
- import { FChartBuilderBase } from './chart-builder/chart-builder-base';
5
- import { FChart } from './f-chart';
6
- /**
7
- * @ignore
8
- */
9
- export interface IFWorksheetChartMixin {
10
- /**
11
- * Adds a new chart to this sheet.
12
- * @param {IChartBuilderInfo} chartBuildInfo - The chart builder info.
13
- * @returns {Promise<FChart>} - The new chart.
14
- *
15
- * @example
16
- * ```ts
17
- * const fWorkbook = univerAPI.getActiveWorkbook();
18
- * const fWorksheet = fWorkbook.getActiveSheet();
19
- *
20
- * // Create a column chart with data source A1:D6.
21
- * // The starting position is upper-left corner of cell B2.
22
- * const chartInfo = fWorksheet.newChart()
23
- * .setChartType(univerAPI.Enum.ChartType.Column)
24
- * .addRange('A1:D6')
25
- * .setPosition(1, 1, 0, 0)
26
- * .build();
27
- * const fChart = await fWorksheet.insertChart(chartInfo);
28
- * ```
29
- */
30
- insertChart(chartBuildInfo: IChartBuilderInfo): Promise<FChart>;
31
- /**
32
- * Updates the chart on this sheet. This api can not update source range, please use FChart.updateRange.
33
- * @param {IChartBuilderInfo} chartBuildInfo - The chart builder info.
34
- *
35
- * @example
36
- * ```ts
37
- * const fWorkbook = univerAPI.getActiveWorkbook();
38
- * const fWorksheet = fWorkbook.getActiveSheet();
39
- *
40
- * // Create a column chart with data source A1:D6.
41
- * // The starting position is upper-left corner of cell B2.
42
- * const chartInfo = fWorksheet.newChart()
43
- * .setChartType(univerAPI.Enum.ChartType.Column)
44
- * .addRange('A1:D6')
45
- * .setPosition(1, 1, 0, 0)
46
- * .build();
47
- * await fWorksheet.insertChart(chartInfo);
48
- *
49
- * // Get all charts on the active sheet.
50
- * const charts = fWorksheet.getCharts();
51
- *
52
- * // Update the first chart after 3 seconds.
53
- * setTimeout(() => {
54
- * const newChartInfo = fWorksheet.newChart(charts[0])
55
- * .asLineChart()
56
- * .setOptions('legend.position', univerAPI.Enum.LegendPositionEnum.Right)
57
- * .build();
58
- * fWorksheet.updateChart(newChartInfo);
59
- * }, 3000);
60
- * ```
61
- */
62
- updateChart(chartBuildInfo: IChartBuilderInfo): void;
63
- /**
64
- * Returns a builder to create a new chart for this sheet.The builder will not automatically create the chart. You must call build() on the returned builder to create the chart by calling insertChart(chartBuilder).
65
- * @description If the fChart is provided, the builder will be initialized with the existing chart's data.
66
- * @param {FChart} [fChart] - The chart to update.
67
- * @returns {FChartBuilderBase} - a new chart builder
68
- *
69
- * @example
70
- * ```ts
71
- * const fWorkbook = univerAPI.getActiveWorkbook();
72
- * const fWorksheet = fWorkbook.getActiveSheet();
73
- *
74
- * // Create a column chart with data source A1:D6.
75
- * // The starting position is upper-left corner of cell B2.
76
- * // The width of the chart is 600 and the height is 400.
77
- * const chartInfo = fWorksheet.newChart()
78
- * .setChartType(univerAPI.Enum.ChartType.Column)
79
- * .addRange('A1:D6')
80
- * .setPosition(1, 1, 0, 0)
81
- * .setWidth(600)
82
- * .setHeight(400)
83
- * .build();
84
- * await fWorksheet.insertChart(chartInfo);
85
- * ```
86
- */
87
- newChart(fChart?: FChart): FChartBuilderBase;
88
- /**
89
- * Returns an array of charts on this sheet.
90
- * @returns {FChart[]} - An array of charts on this sheet.
91
- *
92
- * @example
93
- * ```ts
94
- * const fWorkbook = univerAPI.getActiveWorkbook();
95
- * const fWorksheet = fWorkbook.getActiveSheet();
96
- *
97
- * // Get all charts on the active sheet.
98
- * const charts = fWorksheet.getCharts();
99
- * console.log(charts);
100
- * ```
101
- */
102
- getCharts(): FChart[];
103
- /**
104
- * Removes a chart from the parent sheet.
105
- * @param {FChart} chart - The chart to remove.
106
- *
107
- * @example
108
- * ```ts
109
- * const fWorkbook = univerAPI.getActiveWorkbook();
110
- * const fWorksheet = fWorkbook.getActiveSheet();
111
- *
112
- * // Create a column chart with data source A1:D6.
113
- * // The starting position is upper-left corner of cell B2.
114
- * const chartInfo = fWorksheet.newChart()
115
- * .setChartType(univerAPI.Enum.ChartType.Column)
116
- * .addRange('A1:D6')
117
- * .setPosition(1, 1, 0, 0)
118
- * .build();
119
- * await fWorksheet.insertChart(chartInfo);
120
- *
121
- * // Get all charts on the active sheet.
122
- * const charts = fWorksheet.getCharts();
123
- *
124
- * // Remove the first chart after 3 seconds.
125
- * setTimeout(async () => {
126
- * await fWorksheet.removeChart(charts[0]);
127
- * console.log(fWorksheet.getCharts());
128
- * }, 3000);
129
- * ```
130
- */
131
- removeChart(chart: FChart): Promise<boolean>;
132
- /**
133
- * Univer chart is base on echarts, you can register your own theme by echart theme builder.
134
- * @description The theme object should be a valid echarts theme object.The online builder is available at https://echarts.apache.org/zh/theme-builder.html
135
- * @param {string} themeName - The name of the theme.
136
- * @param {IEchartTheme} theme - The theme object.
137
- *
138
- * @example
139
- * ```ts
140
- * const fWorkbook = univerAPI.getActiveWorkbook();
141
- * const fWorksheet = fWorkbook.getActiveSheet();
142
- *
143
- * // register your theme
144
- * const theme = { // your theme object
145
- * 'version': 1,
146
- * 'themeName': 'myTheme',
147
- * 'theme': {
148
- * // ... Some code is omitted for brevity
149
- * color: [
150
- * '#893448',
151
- * '#d95850',
152
- * '#eb8146',
153
- * '#ffb248',
154
- * '#f2d643',
155
- * '#ebdba4'
156
- * ],
157
- * // ... Some code is omitted for brevity
158
- * visualMapColor: [
159
- * '#893448',
160
- * '#d95850',
161
- * '#eb8146',
162
- * '#ffb248',
163
- * '#f2d643',
164
- * 'rgb(247,238,173)'
165
- * ],
166
- * // ... Some code is omitted for brevity
167
- * 'axes': []
168
- * // ... Some code is omitted for brevity
169
- * }
170
- * };
171
- * fWorksheet.registerChartTheme('myTheme', theme);
172
- *
173
- * // use your theme for chart
174
- * const chartInfo = fWorksheet.newChart()
175
- * .asLineChart()
176
- * .addRange('A1:D6')
177
- * .setPosition(1, 1, 0, 0)
178
- * .setTheme('myTheme')
179
- * .build();
180
- * await fWorksheet.insertChart(chartInfo);
181
- * ```
182
- */
183
- registerChartTheme(themeName: string, theme: IEchartTheme): void;
184
- }
185
- export declare class FWorksheetChartMixin extends FWorksheet implements IFWorksheetChartMixin {
186
- insertChart(chartBuildInfo: IChartBuilderInfo): Promise<FChart>;
187
- updateChart(chartBuilder: IChartBuilderInfo): void;
188
- newChart(fChart?: FChart): FChartBuilderBase;
189
- getCharts(): FChart[];
190
- removeChart(chart: FChart): Promise<boolean>;
191
- registerChartTheme(themeName: string, theme: IEchartTheme): void;
192
- }
193
- /**
194
- * @ignore
195
- */
196
- declare module '@univerjs/sheets/facade' {
197
- interface FWorksheet extends IFWorksheetChartMixin {
198
- }
199
- }
@@ -1,20 +0,0 @@
1
- import type { ILineChartBuilderMixin, IPieChartBuilderInfo, IPieChartBuilderMixin, IRadarChartBuilderMixin } from './chart-builder/types';
2
- import './f-worksheet';
3
- import './f-enum';
4
- export { FChartBuilderBase } from './chart-builder/chart-builder-base';
5
- export type * from './chart-builder/chart-builder-base';
6
- export { LineChartBuilder } from './chart-builder/line-chart-builder';
7
- export { PieChartBuilder } from './chart-builder/pie-chart-builder';
8
- export { RadarChartBuilder } from './chart-builder/radar-chart-builder';
9
- export { FChart } from './f-chart';
10
- export type * from './f-chart';
11
- export type * from './f-worksheet';
12
- /**
13
- * @ignore
14
- */
15
- declare module '@univerjs-pro/sheets-chart-ui/facade' {
16
- interface FChartBuilderBase extends IPieChartBuilderMixin, IRadarChartBuilderMixin, ILineChartBuilderMixin {
17
- }
18
- interface IChartBuildOptions extends IPieChartBuilderInfo {
19
- }
20
- }
package/lib/umd/facade.js DELETED
@@ -1 +0,0 @@
1
- function _0x422c(_0x381b30,_0x2c4f9d){_0x381b30=_0x381b30-0x1f2;const _0x14e2df=_0x14e2();let _0x422c23=_0x14e2df[_0x381b30];return _0x422c23;}function _0x14e2(){const _0x32b1f6=['@univerjs/sheets-drawing-ui','pie','titles.title.content','legend.position','unitId','9lcqRSr','bold','chartId','yRightAxis','pie.hasPaddingAngle','FBase','fill','IRenderManagerService','setAxisPointerStyle','ChartBorderDashType','setBorderColor','backgroundColor','getRenderById','pie.doughnutHole','setRosePie','tooltip.indicatorLineType','UniverCoreFacade','setAbsolutePosition','ChartUpdateConfigCommand','dataPointColor','titles.titlePosition','range','extend','setChartType','_workbook','generateRandomId','titles.rightYAxisTitle.fontSize','SelectModeEnum','rosePie','LineChartBuilder','DrawingTypeEnum','UniverProSheetsChartUi','asPieChart','AxisAlignEnum','top','updateChart','italic','getCharts','titles.xAxisTitle.fontSize','setYAxisTextStyle','UniverEngineRender','radar','color','setDataPointSize','6GXMmFZ','393390wqzVpl','series','titles.rightYAxisTitle.bold','setInvalidValueStrategy','modify','getSheetId','titles.title.family','RadarShape','config','setIsHalfPie','setRightYAxisTextStyle','_injector','allSeriesStyle.rightYAxis','424198ilftrw','titles.xAxisTitle.color','left','map','getChartModel','UniverInstanceType','deserializeRangeWithSheet','setXAxisTextStyle','iterator','UNIVER_SHEET','exports','9165360aeYqLe','setShape','borderColor','indicatorLabelColor','244qPxlTy','selectMode','UniverProEngineChart','transposeRowsAndColumns','legend.label.color','titles.rightYAxisTitle.content','Range\x20is\x20required\x20to\x20insert\x20a\x20chart','setDataPointColor','UniverCore','dataPointSize','point','SheetsChartService','sheetName','setDataPointShape','ChartType','setProperty','registerTheme','tooltip.indicatorLabelColor','doughnutHole','convertPositionCellToSheetOverGrid','hasPaddingAngle','DRAWING_CHART','string','executeCommand','PieChartBuilder','rightYAxis.label.axisTitleAlign','setWidth','setSeriesStyle','This\x20api\x20only\x20works\x20in\x20the\x20active\x20sheet.','asRadarChart','title','ChartTypeBits','dataSource','pie.showLabelLine','titleAlignment','content','allSeriesStyle','function','lineStyle','_commandService','constructor','@univerjs/engine-render','theme','xAxis','1853211Anluzw','build','yAxis','with','getUnitId','tooltip.indicatorLineColor','3845txNfbT','UniverProSheetsChart','asLineChart','titles.rightYAxisTitle.family','setRightYAxisTitle','setFill','length','radar.fill','@univerjs-pro/sheets-chart-ui','radar.shape','seriesStyleMap','allSeriesStyle.border','@univerjs/engine-formula','titles.yAxisTitle.font','amd','titles.title.font','registerChartTheme','rightYAxisTitle','@univerjs/core','getRangeInfo','titles.title.color','call','setAllSeriesStyle','get','rightYAxis','allSeriesStyle.point.color','legend.label.bold','RadarChartBuilder','Line','titles.rightYAxisTitle.color','pie.isHalfPie','LinePointShape','legend.label.italic','setShowLabelLine','getWorkbook','prototype','xAxisTitle','indicatorLineColor','invalidValueType','clearRange','yAxisTitle','9450917hphkGI','options','setTransposeRowsAndColumns','InsertChartCommand','position','defineProperty','28258120iVbfnY','dataPointShape','shape','area.lineStyle','Pie','fontColor','yAxis.label.axisTitleAlign','getChartId','setOptions','@univerjs-pro/engine-chart','newChart','context','legend.selectMode','axisPointer','UniverProSheetsChartUiFacade','getSeriesData','FWorksheet','indicatorLineType','SheetSkeletonManagerService','font','keys','fontStyle','legend','UniverSheetsFacade','UniverEngineFormula','object','tooltip.indicatorLabelTextColor','showLabelLine','titles.yAxisTitle.family','height','isHalfPie','titles.xAxisTitle.bold','1tvFkmI','getCategoryData','titles.yAxisTitle.color','fontSize','pie.borderColor','gradientFill','setLineStyle','FEnum','TitlePositionEnum','sourceSheetName','Radar','pie.rosePie','style','axisAlignment','removeChart','subUnitId','symbol','allSeriesStyle.point.shape','chartType','setDoughnutHole','getCurrentUnitForType','titles.title.bold','RemoveSheetDrawingCommand','default','width','FChartBuilderBase','getRange','setYAxisTitle'];_0x14e2=function(){return _0x32b1f6;};return _0x14e2();}(function(_0x51c6f7,_0x54d311){const _0x52f5fa=_0x422c,_0x249aef=_0x51c6f7();while(!![]){try{const _0x3c66c4=-parseInt(_0x52f5fa(0x25d))/0x1*(-parseInt(_0x52f5fa(0x2b8))/0x2)+parseInt(_0x52f5fa(0x208))/0x3+parseInt(_0x52f5fa(0x2c7))/0x4*(parseInt(_0x52f5fa(0x20e))/0x5)+-parseInt(_0x52f5fa(0x2aa))/0x6*(-parseInt(_0x52f5fa(0x237))/0x7)+-parseInt(_0x52f5fa(0x2c3))/0x8*(-parseInt(_0x52f5fa(0x27e))/0x9)+parseInt(_0x52f5fa(0x2ab))/0xa+-parseInt(_0x52f5fa(0x23d))/0xb;if(_0x3c66c4===_0x54d311)break;else _0x249aef['push'](_0x249aef['shift']());}catch(_0x2cfcf4){_0x249aef['push'](_0x249aef['shift']());}}}(_0x14e2,0xcdcd5),function(_0x2e58e3,_0x51920d){const _0x4fa026=_0x422c;typeof exports==_0x4fa026(0x256)&&typeof module<'u'?_0x51920d(exports,require(`@univerjs-pro/engine-chart`),require(`@univerjs-pro/sheets-chart`),require(`@univerjs-pro/sheets-chart-ui`),require(`@univerjs/core`),require(`@univerjs/sheets-drawing-ui`),require(`@univerjs/sheets/facade`),require(`@univerjs/core/facade`),require(`@univerjs/engine-formula`),require(`@univerjs/engine-render`),require(`@univerjs/sheets-ui`)):typeof define==_0x4fa026(0x201)&&define[_0x4fa026(0x21c)]?define([_0x4fa026(0x2c2),_0x4fa026(0x246),'@univerjs-pro/sheets-chart',_0x4fa026(0x216),_0x4fa026(0x220),_0x4fa026(0x279),'@univerjs/sheets/facade','@univerjs/core/facade',_0x4fa026(0x21a),_0x4fa026(0x205),'@univerjs/sheets-ui'],_0x51920d):(_0x2e58e3=typeof globalThis<'u'?globalThis:_0x2e58e3||self,_0x51920d(_0x2e58e3[_0x4fa026(0x24b)]={},_0x2e58e3[_0x4fa026(0x2c9)],_0x2e58e3[_0x4fa026(0x20f)],_0x2e58e3[_0x4fa026(0x29d)],_0x2e58e3[_0x4fa026(0x2cf)],_0x2e58e3['UniverSheetsDrawingUi'],_0x2e58e3[_0x4fa026(0x254)],_0x2e58e3[_0x4fa026(0x28e)],_0x2e58e3[_0x4fa026(0x255)],_0x2e58e3[_0x4fa026(0x2a6)],_0x2e58e3['UniverSheetsUi']));}(this,function(_0x50496d,_0x167d54,_0x2e1c81,_0xdf0295,_0x36b813,_0x573fcb,_0x44ddec,_0x4a7b1e,_0x563c41,_0x17570e,_0x49458c){const _0x2c5d52=_0x422c;Object[_0x2c5d52(0x23c)](_0x50496d,Symbol['toStringTag'],{'value':'Module'});let _0x16fb31=(_0x1b67c7,_0x44520d,_0x4ed591)=>{const _0x3149ce=_0x2c5d52;_0x4ed591!==void 0x0&&(0x0,_0x2e1c81[_0x3149ce(0x2d6)])(_0x1b67c7,_0x44520d,_0x4ed591);},_0x296ca2=(_0xdaedb2,_0x42f678,_0x2a2313,_0x3c10fe={})=>{const _0x4fdffd=_0x2c5d52;let _0x342d17={},_0xda3305={};if(_0x3c10fe[_0x4fdffd(0x1fa)]){let _0x22525a=_0x3c10fe[_0x4fdffd(0x1fa)];_0x16fb31(_0x342d17,_0x4fdffd(0x27b),_0x22525a[_0x4fdffd(0x1ff)]),_0x16fb31(_0x342d17,_0x4fdffd(0x21d),_0x22525a[_0x4fdffd(0x250)]),_0x16fb31(_0x342d17,'titles.title.fontSize',_0x22525a[_0x4fdffd(0x260)]),_0x16fb31(_0x342d17,_0x4fdffd(0x222),_0x22525a[_0x4fdffd(0x242)]),_0x16fb31(_0x342d17,_0x4fdffd(0x2b1),_0x22525a[_0x4fdffd(0x252)]),_0x16fb31(_0x342d17,_0x4fdffd(0x272),_0x22525a['bold']),_0x16fb31(_0x342d17,'titles.title.align',_0x22525a[_0x4fdffd(0x1fe)]),_0x16fb31(_0x342d17,_0x4fdffd(0x292),_0x22525a['position']);}if(_0x3c10fe[_0x4fdffd(0x253)]){let _0x2549ec=_0x3c10fe['legend'];_0x16fb31(_0x342d17,_0x4fdffd(0x27c),_0x2549ec[_0x4fdffd(0x23b)]),_0x16fb31(_0x342d17,_0x4fdffd(0x249),_0x2549ec[_0x4fdffd(0x2c8)]),_0x16fb31(_0x342d17,'legend.label.fontSize',_0x2549ec['fontSize']),_0x16fb31(_0x342d17,_0x4fdffd(0x2cb),_0x2549ec[_0x4fdffd(0x2a8)]),_0x16fb31(_0x342d17,_0x4fdffd(0x228),_0x2549ec['bold']),_0x16fb31(_0x342d17,_0x4fdffd(0x22e),_0x2549ec[_0x4fdffd(0x2a2)]);}if(_0x3c10fe[_0x4fdffd(0x27a)]){let _0x314d2b=_0x3c10fe['pie'];_0x16fb31(_0x342d17,_0x4fdffd(0x28b),_0x314d2b[_0x4fdffd(0x2d9)]),_0x16fb31(_0x342d17,'pie.borderColor',_0x314d2b[_0x4fdffd(0x2c5)]),_0x16fb31(_0x342d17,_0x4fdffd(0x282),_0x314d2b['hasPaddingAngle']),_0x16fb31(_0x342d17,_0x4fdffd(0x22c),_0x314d2b[_0x4fdffd(0x25b)]),_0x16fb31(_0x342d17,_0x4fdffd(0x268),_0x314d2b[_0x4fdffd(0x29a)]),_0x16fb31(_0x342d17,'pie.showLabelLine',_0x314d2b[_0x4fdffd(0x258)]);}if(_0x3c10fe[_0x4fdffd(0x24a)]){let _0x23dd5c=_0x3c10fe[_0x4fdffd(0x24a)];_0x16fb31(_0x342d17,_0x4fdffd(0x2d8),_0x23dd5c[_0x4fdffd(0x2c6)]),_0x16fb31(_0x342d17,_0x4fdffd(0x28d),_0x23dd5c[_0x4fdffd(0x24e)]),_0x16fb31(_0x342d17,_0x4fdffd(0x20d),_0x23dd5c[_0x4fdffd(0x233)]),_0x16fb31(_0x342d17,_0x4fdffd(0x257),_0x23dd5c['indicatorLabelTextColor']);}if(_0x3c10fe[_0x4fdffd(0x200)]&&(_0x16fb31(_0x342d17,_0x4fdffd(0x219),_0x3c10fe[_0x4fdffd(0x200)]['border']),_0x16fb31(_0x342d17,'allSeriesStyle.label',_0x3c10fe[_0x4fdffd(0x200)]['label']),_0x16fb31(_0x342d17,_0x4fdffd(0x2b7),_0x3c10fe[_0x4fdffd(0x200)][_0x4fdffd(0x226)]),_0x16fb31(_0x342d17,'allSeriesStyle.point',_0x3c10fe['allSeriesStyle'][_0x4fdffd(0x2d1)]),_0x16fb31(_0x342d17,'allSeriesStyle.color',_0x3c10fe['allSeriesStyle'][_0x4fdffd(0x2a8)])),_0x3c10fe['area']&&_0x16fb31(_0x342d17,_0x4fdffd(0x240),_0x3c10fe['area'][_0x4fdffd(0x202)]),_0x3c10fe[_0x4fdffd(0x206)]&&_0x16fb31(_0x342d17,_0x4fdffd(0x206),_0x3c10fe['theme']),_0x3c10fe['backgroundColor']&&_0x16fb31(_0x342d17,_0x4fdffd(0x289),_0x3c10fe['backgroundColor']),_0x3c10fe[_0x4fdffd(0x2c5)]&&_0x16fb31(_0x342d17,_0x4fdffd(0x2c5),_0x3c10fe['borderColor']),_0x3c10fe['gradientFill']&&_0x16fb31(_0x342d17,_0x4fdffd(0x262),_0x3c10fe[_0x4fdffd(0x262)]),_0x3c10fe[_0x4fdffd(0x234)]&&_0x16fb31(_0x342d17,_0x4fdffd(0x234),_0x3c10fe[_0x4fdffd(0x234)]),_0x3c10fe[_0x4fdffd(0x2a7)]&&_0x16fb31(_0x342d17,_0x4fdffd(0x2a7),_0x3c10fe['radar']),_0x3c10fe[_0x4fdffd(0x232)]){let _0x40d1e9=_0x3c10fe[_0x4fdffd(0x232)];_0x16fb31(_0x342d17,'titles.xAxisTitle.content',_0x40d1e9['content']),_0x16fb31(_0x342d17,'titles.xAxisTitle.font',_0x40d1e9[_0x4fdffd(0x250)]),_0x16fb31(_0x342d17,_0x4fdffd(0x2a4),_0x40d1e9[_0x4fdffd(0x260)]),_0x16fb31(_0x342d17,_0x4fdffd(0x2b9),_0x40d1e9[_0x4fdffd(0x242)]),_0x16fb31(_0x342d17,'titles.xAxisTitle.family',_0x40d1e9[_0x4fdffd(0x252)]),_0x16fb31(_0x342d17,_0x4fdffd(0x25c),_0x40d1e9[_0x4fdffd(0x27f)]),_0x16fb31(_0x342d17,'xAxis.label.axisTitleAlign',_0x40d1e9['axisAlignment']);}if(_0x3c10fe[_0x4fdffd(0x236)]){let _0x453596=_0x3c10fe[_0x4fdffd(0x236)];_0x16fb31(_0x342d17,'titles.yAxisTitle.content',_0x453596[_0x4fdffd(0x1ff)]),_0x16fb31(_0x342d17,_0x4fdffd(0x21b),_0x453596['font']),_0x16fb31(_0x342d17,'titles.yAxisTitle.fontSize',_0x453596[_0x4fdffd(0x260)]),_0x16fb31(_0x342d17,_0x4fdffd(0x25f),_0x453596[_0x4fdffd(0x242)]),_0x16fb31(_0x342d17,_0x4fdffd(0x259),_0x453596['fontStyle']),_0x16fb31(_0x342d17,'titles.yAxisTitle.bold',_0x453596[_0x4fdffd(0x27f)]),_0x16fb31(_0x342d17,_0x4fdffd(0x243),_0x453596[_0x4fdffd(0x26a)]);}if(_0x3c10fe[_0x4fdffd(0x21f)]){let _0x1b2da7=_0x3c10fe['rightYAxisTitle'];_0x16fb31(_0x342d17,_0x4fdffd(0x2cc),_0x1b2da7[_0x4fdffd(0x1ff)]),_0x16fb31(_0x342d17,'titles.rightYAxisTitle.font',_0x1b2da7[_0x4fdffd(0x250)]),_0x16fb31(_0x342d17,_0x4fdffd(0x298),_0x1b2da7['fontSize']),_0x16fb31(_0x342d17,_0x4fdffd(0x22b),_0x1b2da7[_0x4fdffd(0x242)]),_0x16fb31(_0x342d17,_0x4fdffd(0x211),_0x1b2da7['fontStyle']),_0x16fb31(_0x342d17,_0x4fdffd(0x2ad),_0x1b2da7[_0x4fdffd(0x27f)]),_0x16fb31(_0x342d17,_0x4fdffd(0x1f5),_0x1b2da7['axisAlignment']);}_0x3c10fe['xAxis']&&_0x16fb31(_0x342d17,'xAxis',_0x3c10fe[_0x4fdffd(0x207)]),_0x3c10fe['yAxis']&&_0x16fb31(_0x342d17,'yAxis',_0x3c10fe[_0x4fdffd(0x20a)]),_0x3c10fe[_0x4fdffd(0x281)]&&_0x16fb31(_0x342d17,_0x4fdffd(0x226),_0x3c10fe[_0x4fdffd(0x281)]),_0x3c10fe[_0x4fdffd(0x218)]&&_0x16fb31(_0x342d17,_0x4fdffd(0x218),_0x3c10fe[_0x4fdffd(0x218)]);let _0x48a93f={'unitId':_0xdaedb2,'chartModelId':_0x42f678},_0x11796c=!0x1;if(_0x2a2313!==void 0x0&&(_0x48a93f[_0x4fdffd(0x26f)]=_0x2a2313,_0x11796c=!0x0),Object['keys'](_0x342d17)['length']>0x0&&(_0x48a93f[_0x4fdffd(0x269)]=_0x342d17,_0x11796c=!0x0),Object[_0x4fdffd(0x251)](_0xda3305)[_0x4fdffd(0x214)]>0x0&&(_0x48a93f[_0x4fdffd(0x248)]=_0xda3305,_0x11796c=!0x0),_0x11796c)return _0x48a93f;};function _0x9d2096(_0x88745){'@babel/helpers - typeof';const _0x28ee49=_0x2c5d52;return _0x9d2096=typeof Symbol==_0x28ee49(0x201)&&typeof Symbol[_0x28ee49(0x2c0)]==_0x28ee49(0x26d)?function(_0x2c9cd1){return typeof _0x2c9cd1;}:function(_0x1f78a4){const _0x1d678a=_0x28ee49;return _0x1f78a4&&typeof Symbol==_0x1d678a(0x201)&&_0x1f78a4[_0x1d678a(0x204)]===Symbol&&_0x1f78a4!==Symbol[_0x1d678a(0x231)]?_0x1d678a(0x26d):typeof _0x1f78a4;},_0x9d2096(_0x88745);}function _0xfe09c0(_0x4db59b,_0xbbbd2){const _0x39380a=_0x2c5d52;if(_0x9d2096(_0x4db59b)!=_0x39380a(0x256)||!_0x4db59b)return _0x4db59b;var _0xfb605f=_0x4db59b[Symbol['toPrimitive']];if(_0xfb605f!==void 0x0){var _0x36b955=_0xfb605f[_0x39380a(0x223)](_0x4db59b,_0xbbbd2||_0x39380a(0x274));if(_0x9d2096(_0x36b955)!='object')return _0x36b955;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xbbbd2===_0x39380a(0x1f2)?String:Number)(_0x4db59b);}function _0x301c9a(_0x19b6e5){const _0x475897=_0x2c5d52;var _0xa5785=_0xfe09c0(_0x19b6e5,_0x475897(0x1f2));return _0x9d2096(_0xa5785)=='symbol'?_0xa5785:_0xa5785+'';}function _0x1bdd5d(_0x29f7ea,_0x90caf8,_0x603391){const _0x3a1082=_0x2c5d52;return(_0x90caf8=_0x301c9a(_0x90caf8))in _0x29f7ea?Object[_0x3a1082(0x23c)](_0x29f7ea,_0x90caf8,{'value':_0x603391,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x29f7ea[_0x90caf8]=_0x603391,_0x29f7ea;}var _0x437f1b=class extends _0x4a7b1e[_0x2c5d52(0x283)]{constructor(_0x45c30b,_0x4eecef,_0xbe9018,_0x7a5819,_0x3de886){const _0x543a04=_0x2c5d52;super(),_0x1bdd5d(this,_0x543a04(0x296),void 0x0),_0x1bdd5d(this,_0x543a04(0x2b6),void 0x0),_0x1bdd5d(this,_0x543a04(0x27d),void 0x0),_0x1bdd5d(this,_0x543a04(0x26c),void 0x0),_0x1bdd5d(this,_0x543a04(0x280),void 0x0),_0x1bdd5d(this,_0x543a04(0x293),void 0x0),_0x1bdd5d(this,_0x543a04(0x266),void 0x0),_0x1bdd5d(this,'x',void 0x0),_0x1bdd5d(this,'y',void 0x0),_0x1bdd5d(this,_0x543a04(0x275),void 0x0),_0x1bdd5d(this,_0x543a04(0x25a),void 0x0),_0x1bdd5d(this,_0x543a04(0x26f),void 0x0),_0x1bdd5d(this,_0x543a04(0x238),void 0x0),_0x1bdd5d(this,'transposeRowsAndColumns',void 0x0),this['unitId']=_0x45c30b,this[_0x543a04(0x26c)]=_0x4eecef,this[_0x543a04(0x296)]=_0xbe9018,this[_0x543a04(0x2b6)]=_0x7a5819,_0x3de886&&(this['chartId']=_0x3de886);}['getChartType'](){const _0x10f05c=_0x2c5d52;return this[_0x10f05c(0x26f)];}['addRange'](_0x53b74b){const _0x2aeb82=_0x2c5d52;if(typeof _0x53b74b=='string'){let _0x3ce00e=(0x0,_0x563c41[_0x2aeb82(0x2be)])(_0x53b74b);_0x3ce00e[_0x2aeb82(0x2d3)]&&(this[_0x2aeb82(0x266)]=_0x3ce00e[_0x2aeb82(0x2d3)]),this[_0x2aeb82(0x293)]=_0x3ce00e[_0x2aeb82(0x293)];}else this[_0x2aeb82(0x293)]=_0x53b74b;return this;}[_0x2c5d52(0x235)](){const _0x3b315f=_0x2c5d52;return this['range']=void 0x0,this[_0x3b315f(0x266)]=void 0x0,this;}['setPosition'](_0xf43756,_0x2da0b7,_0x251770,_0x352557){const _0x306ec1=_0x2c5d52;let _0x56b3cf=this[_0x306ec1(0x2b6)][_0x306ec1(0x225)](_0x17570e[_0x306ec1(0x285)])[_0x306ec1(0x28a)](this['unitId']);if(!_0x56b3cf)throw Error(_0x306ec1(0x1f8));let _0x549c08=_0x56b3cf['with'](_0x49458c['ISheetSelectionRenderService']),_0x4cf343=_0x56b3cf[_0x306ec1(0x20b)](_0x49458c[_0x306ec1(0x24f)]),{transform:_0x49558f}=(0x0,_0x49458c[_0x306ec1(0x2da)])(this[_0x306ec1(0x27d)],this['subUnitId'],{'row':_0xf43756,'column':_0x2da0b7,'rowOffset':_0x251770,'columnOffset':_0x352557},0x1,0x1,_0x549c08,_0x4cf343),_0x376904=_0x49558f[_0x306ec1(0x2a0)];return this['x']=_0x49558f[_0x306ec1(0x2ba)],this['y']=_0x376904,this;}[_0x2c5d52(0x28f)](_0x3c9b7c,_0x29e646){return this['x']=_0x3c9b7c,this['y']=_0x29e646,this;}[_0x2c5d52(0x295)](_0x320b28){const _0x3c5721=_0x2c5d52;return this[_0x3c5721(0x26f)]=_0x320b28,this;}[_0x2c5d52(0x1f6)](_0x622d6){const _0x356d85=_0x2c5d52;return this[_0x356d85(0x275)]=_0x622d6,this;}['setHeight'](_0x242644){const _0x9614e1=_0x2c5d52;return this[_0x9614e1(0x25a)]=_0x242644,this;}['setOptions'](_0x581d93,_0x2aa6c1){const _0x2a19be=_0x2c5d52;return this[_0x2a19be(0x238)]||(this['options']={}),_0x581d93===''?(this[_0x2a19be(0x238)]={...this[_0x2a19be(0x238)],..._0x2aa6c1},this):((0x0,_0x2e1c81['setProperty'])(this[_0x2a19be(0x238)],_0x581d93,_0x2aa6c1),this);}[_0x2c5d52(0x239)](_0x17dbe3){const _0x360c8e=_0x2c5d52;return this[_0x360c8e(0x2ca)]=_0x17dbe3,this;}['setTheme'](_0x2855e3){const _0x143807=_0x2c5d52;return this['setOptions'](_0x143807(0x206),_0x2855e3),this;}['setXAxisTitle'](_0x4107fc){const _0x4b7fa9=_0x2c5d52;var _0x524407;let _0xc9d2f1=((_0x524407=this['options'])==null?void 0x0:_0x524407['xAxisTitle'])||{};return _0xc9d2f1[_0x4b7fa9(0x1ff)]=_0x4107fc,this[_0x4b7fa9(0x245)]('xAxisTitle',_0xc9d2f1),this;}[_0x2c5d52(0x278)](_0x167d8f){const _0x5199f8=_0x2c5d52;var _0x2b8284;let _0x439d64=((_0x2b8284=this[_0x5199f8(0x238)])==null?void 0x0:_0x2b8284[_0x5199f8(0x236)])||{};return _0x439d64[_0x5199f8(0x1ff)]=_0x167d8f,this[_0x5199f8(0x245)](_0x5199f8(0x236),_0x439d64),this;}[_0x2c5d52(0x212)](_0x3eaa36){const _0x286094=_0x2c5d52;var _0xda4bea;let _0x44e4c5=((_0xda4bea=this[_0x286094(0x238)])==null?void 0x0:_0xda4bea[_0x286094(0x21f)])||{};return _0x44e4c5[_0x286094(0x1ff)]=_0x3eaa36,this[_0x286094(0x245)]('rightYAxisTitle',_0x44e4c5),this;}[_0x2c5d52(0x2bf)](_0x18c3e8){const _0x2551c7=_0x2c5d52;var _0x52a235;let _0x2f9e3d=((_0x52a235=this[_0x2551c7(0x238)])==null?void 0x0:_0x52a235[_0x2551c7(0x232)])||{};return this[_0x2551c7(0x245)]('xAxisTitle',{..._0x2f9e3d,..._0x18c3e8}),this;}[_0x2c5d52(0x2a5)](_0x59233c){const _0x4266bc=_0x2c5d52;var _0x437997;let _0x21c1ff=((_0x437997=this[_0x4266bc(0x238)])==null?void 0x0:_0x437997[_0x4266bc(0x236)])||{};return this[_0x4266bc(0x245)]('yAxisTitle',{..._0x21c1ff,..._0x59233c}),this;}[_0x2c5d52(0x2b5)](_0x1d8265){const _0x3550d7=_0x2c5d52;var _0x52cb46;let _0xaedcb7=((_0x52cb46=this['options'])==null?void 0x0:_0x52cb46['rightYAxisTitle'])||{};return this[_0x3550d7(0x245)](_0x3550d7(0x21f),{..._0xaedcb7,..._0x1d8265}),this;}[_0x2c5d52(0x2ae)](_0x362518){const _0x412cf9=_0x2c5d52;return this['setOptions'](_0x412cf9(0x234),_0x362518),this;}[_0x2c5d52(0x286)](_0x215946){const _0x88b6e3=_0x2c5d52;return this['setOptions'](_0x88b6e3(0x24a),_0x215946),this;}[_0x2c5d52(0x224)](_0x1484dd){const _0x52cbf7=_0x2c5d52;return this[_0x52cbf7(0x245)](_0x52cbf7(0x200),_0x1484dd),this;}[_0x2c5d52(0x1f7)](_0x1c9356,_0x283a17){const _0x98fdd8=_0x2c5d52;return this[_0x98fdd8(0x245)](_0x98fdd8(0x218),{[_0x1c9356]:_0x283a17}),this;}['build'](){const _0x3f46b2=_0x2c5d52;return{'unitId':this['unitId'],'subUnitId':this[_0x3f46b2(0x26c)],'chartId':this['chartId'],'range':this[_0x3f46b2(0x293)],'sourceSheetName':this[_0x3f46b2(0x266)],'x':this['x'],'y':this['y'],'width':this[_0x3f46b2(0x275)],'height':this[_0x3f46b2(0x25a)],'chartType':this[_0x3f46b2(0x26f)],'options':this[_0x3f46b2(0x238)],'isRowDirection':this[_0x3f46b2(0x2ca)]};}},_0x23de5e=class{constructor(_0x4d5815,_0x9a2ca,_0x373ebc,_0x568823){const _0x54fffa=_0x2c5d52;_0x1bdd5d(this,_0x54fffa(0x27d),void 0x0),_0x1bdd5d(this,_0x54fffa(0x26c),void 0x0),_0x1bdd5d(this,'chartId',void 0x0),_0x1bdd5d(this,_0x54fffa(0x2b6),void 0x0),this[_0x54fffa(0x27d)]=_0x4d5815,this[_0x54fffa(0x26c)]=_0x9a2ca,this['chartId']=_0x373ebc,this[_0x54fffa(0x2b6)]=_0x568823;}[_0x2c5d52(0x244)](){const _0x496b9b=_0x2c5d52;return this[_0x496b9b(0x280)];}[_0x2c5d52(0x277)](){const _0x562ded=_0x2c5d52;let _0x4dd787=this[_0x562ded(0x2b6)][_0x562ded(0x225)](_0x2e1c81[_0x562ded(0x2d2)])[_0x562ded(0x2bc)](this['chartId']);if(_0x4dd787)return _0x4dd787[_0x562ded(0x1fc)][_0x562ded(0x221)]();}['updateRange'](_0x5e68f3){const _0x265165=_0x2c5d52;return this['_injector'][_0x265165(0x225)](_0x36b813['ICommandService'])[_0x265165(0x1f3)](_0x2e1c81['ChartUpdateSourceCommand']['id'],{'unitId':this[_0x265165(0x27d)],'chartModelId':this[_0x265165(0x280)],'range':_0x5e68f3});}[_0x2c5d52(0x24c)](){const _0x4273ae=_0x2c5d52;let _0xa1374b=this[_0x4273ae(0x2b6)]['get'](_0x2e1c81['SheetsChartService'])[_0x4273ae(0x2bc)](this[_0x4273ae(0x280)]);if(_0xa1374b){var _0x2f0548;return(_0x2f0548=_0xa1374b[_0x4273ae(0x2b3)])==null?void 0x0:_0x2f0548[_0x4273ae(0x2ac)];}}[_0x2c5d52(0x25e)](){const _0x18c971=_0x2c5d52;let _0x599dcf=this['_injector'][_0x18c971(0x225)](_0x2e1c81[_0x18c971(0x2d2)])['getChartModel'](this['chartId']);if(_0x599dcf){var _0x543c73;return(_0x543c73=_0x599dcf[_0x18c971(0x2b3)])==null?void 0x0:_0x543c73['category'];}}[_0x2c5d52(0x2af)](){const _0x1bce07=_0x2c5d52;let _0xcb79e=this[_0x1bce07(0x2b6)][_0x1bce07(0x225)](_0x36b813['IUniverInstanceService'])[_0x1bce07(0x271)](_0x36b813[_0x1bce07(0x2bd)][_0x1bce07(0x2c1)]);return new _0x437f1b(this[_0x1bce07(0x27d)],this['subUnitId'],_0xcb79e,this[_0x1bce07(0x2b6)],this[_0x1bce07(0x280)]);}},_0x345f5a=class extends _0x44ddec[_0x2c5d52(0x24d)]{async['insertChart'](_0xdb42c7){const _0x524b8d=_0x2c5d52;var _0x357b02,_0x1a99d2,_0x6085e2;let _0x2153d0=_0xdb42c7[_0x524b8d(0x27d)]||this[_0x524b8d(0x230)]()['getUnitId'](),_0x145502=_0xdb42c7['subUnitId']||this[_0x524b8d(0x2b0)](),_0x45b556=_0xdb42c7[_0x524b8d(0x280)]||(0x0,_0x36b813[_0x524b8d(0x297)])(),_0x47ff34=_0xdb42c7[_0x524b8d(0x26f)],_0x351485=_0xdb42c7['range'],_0x2cbeb2=_0xdb42c7[_0x524b8d(0x266)],_0x3b19ab={'x':_0xdb42c7['x'],'y':_0xdb42c7['y']},_0x1d73e7=_0xdb42c7['width'],_0x23f279=_0xdb42c7[_0x524b8d(0x25a)],_0x313a54=(_0x357b02=_0xdb42c7[_0x524b8d(0x238)])==null?void 0x0:_0x357b02[_0x524b8d(0x289)],_0x43732d=(_0x1a99d2=_0xdb42c7[_0x524b8d(0x238)])==null?void 0x0:_0x1a99d2['borderColor'],_0x55f9c1=_0x296ca2(_0x2153d0,_0x45b556,_0x47ff34,_0xdb42c7['options']),_0x50704c=(_0x6085e2=_0xdb42c7['isRowDirection'])==null?!0x0:_0x6085e2;if(!_0x351485)throw Error(_0x524b8d(0x2cd));return await this['_commandService']['executeCommand'](_0xdf0295[_0x524b8d(0x23a)]['id'],{'unitId':_0x2153d0,'subUnitId':_0x145502,'chartId':_0x45b556,'chartType':_0x47ff34,'range':_0x351485,'sourceSheetName':_0x2cbeb2,'position':_0x3b19ab,'width':_0x1d73e7,'height':_0x23f279,'backgroundColor':_0x313a54,'borderColor':_0x43732d,'config':_0x55f9c1,'isRowDirection':_0x50704c}),new _0x23de5e(_0x2153d0,_0x145502,_0x45b556,this[_0x524b8d(0x2b6)]);}[_0x2c5d52(0x2a1)](_0x40d895){const _0x4b6709=_0x2c5d52;let {unitId:_0x22d61b,chartId:_0x556413,chartType:_0x2aed46,options:_0xacbad6}=_0x40d895,_0x305806=_0x296ca2(_0x22d61b,_0x556413,_0x2aed46,_0xacbad6);this[_0x4b6709(0x203)]['executeCommand'](_0x2e1c81[_0x4b6709(0x290)]['id'],_0x305806);}[_0x2c5d52(0x247)](_0x3a76a9){const _0x70f5d2=_0x2c5d52;return _0x3a76a9?new _0x437f1b(_0x3a76a9[_0x70f5d2(0x27d)],_0x3a76a9[_0x70f5d2(0x26c)],this[_0x70f5d2(0x296)],this[_0x70f5d2(0x2b6)],_0x3a76a9[_0x70f5d2(0x280)]):new _0x437f1b(this[_0x70f5d2(0x230)]()['getUnitId'](),this[_0x70f5d2(0x2b0)](),this[_0x70f5d2(0x296)],this[_0x70f5d2(0x2b6)]);}[_0x2c5d52(0x2a3)](){const _0x5d9c2a=_0x2c5d52;let _0x169080=this[_0x5d9c2a(0x2b6)][_0x5d9c2a(0x225)](_0x2e1c81[_0x5d9c2a(0x2d2)]),_0x11c961=this[_0x5d9c2a(0x230)]()[_0x5d9c2a(0x20c)]();return _0x169080['getUnitChartModels'](_0x11c961,this['getSheetId']())[_0x5d9c2a(0x2bb)](_0x4ce58d=>new _0x23de5e(_0x11c961,this[_0x5d9c2a(0x2b0)](),_0x4ce58d['id'],this[_0x5d9c2a(0x2b6)]));}[_0x2c5d52(0x26b)](_0x4ee482){const _0x20f542=_0x2c5d52;let _0x1d2110=_0x4ee482[_0x20f542(0x27d)],_0x172c8b={'unitId':_0x1d2110,'drawings':[{'unitId':_0x1d2110,'subUnitId':_0x4ee482[_0x20f542(0x26c)],'drawingId':_0x4ee482[_0x20f542(0x280)],'drawingType':_0x36b813[_0x20f542(0x29c)][_0x20f542(0x2dc)]}]};return this[_0x20f542(0x203)][_0x20f542(0x1f3)](_0x573fcb[_0x20f542(0x273)]['id'],_0x172c8b);}[_0x2c5d52(0x21e)](_0x55e607,_0x52b1f3){const _0x470c45=_0x2c5d52;this[_0x470c45(0x2b6)]['get'](_0x167d54['ChartThemeService'])[_0x470c45(0x2d7)](_0x55e607,_0x52b1f3);}};_0x44ddec['FWorksheet'][_0x2c5d52(0x294)](_0x345f5a);var _0x3b105c=class extends _0x4a7b1e[_0x2c5d52(0x264)]{get[_0x2c5d52(0x2d5)](){const _0x5ca932=_0x2c5d52;return _0x167d54[_0x5ca932(0x1fb)];}get['LegendPositionEnum'](){return _0x167d54['LegendPositionEnum'];}get[_0x2c5d52(0x299)](){return _0x167d54['SelectModeEnum'];}get[_0x2c5d52(0x29f)](){const _0xf96e48=_0x2c5d52;return _0x167d54[_0xf96e48(0x29f)];}get[_0x2c5d52(0x287)](){return _0x167d54['ChartBorderDashType'];}get[_0x2c5d52(0x22d)](){const _0x28f929=_0x2c5d52;return _0x167d54[_0x28f929(0x22d)];}get[_0x2c5d52(0x265)](){const _0x337bf3=_0x2c5d52;return _0x167d54[_0x337bf3(0x265)];}get[_0x2c5d52(0x2b2)](){const _0xd39617=_0x2c5d52;return _0x167d54[_0xd39617(0x2b2)];}};_0x4a7b1e[_0x2c5d52(0x264)][_0x2c5d52(0x294)](_0x3b105c);var _0x4d297f=class extends _0x437f1b{constructor(_0x17aec3,_0x2ffb0f,_0x3dfdd5,_0xbc9eab,_0x25e5ad){const _0x32c684=_0x2c5d52;super(_0x17aec3,_0x2ffb0f,_0x3dfdd5,_0xbc9eab,_0x25e5ad),_0x1bdd5d(this,_0x32c684(0x202),void 0x0),_0x1bdd5d(this,_0x32c684(0x23e),void 0x0),_0x1bdd5d(this,_0x32c684(0x291),void 0x0),_0x1bdd5d(this,_0x32c684(0x2d0),void 0x0);}[_0x2c5d52(0x263)](_0x1752a4){return this['lineStyle']=_0x1752a4,this;}[_0x2c5d52(0x2d4)](_0x2ea8bb){const _0x469879=_0x2c5d52;return this[_0x469879(0x23e)]=_0x2ea8bb,this;}[_0x2c5d52(0x2ce)](_0x5a6597){const _0x460602=_0x2c5d52;return this[_0x460602(0x291)]=_0x5a6597,this;}[_0x2c5d52(0x2a9)](_0xe16e8f){const _0x393899=_0x2c5d52;return this[_0x393899(0x2d0)]=_0xe16e8f,this;}[_0x2c5d52(0x209)](){const _0x561a9f=_0x2c5d52;let _0x4c7c16=super['build']();_0x4c7c16[_0x561a9f(0x26f)]=_0x167d54[_0x561a9f(0x1fb)][_0x561a9f(0x22a)];let _0x511a36=_0x4c7c16[_0x561a9f(0x238)]||{};return _0x16fb31(_0x511a36,'area.lineStyle',this['lineStyle']),_0x16fb31(_0x511a36,_0x561a9f(0x26e),this[_0x561a9f(0x23e)]),_0x16fb31(_0x511a36,_0x561a9f(0x227),this[_0x561a9f(0x291)]),_0x16fb31(_0x511a36,'allSeriesStyle.point.size',this[_0x561a9f(0x2d0)]),_0x4c7c16[_0x561a9f(0x238)]=_0x511a36,_0x4c7c16;}},_0x2ed62f=class extends _0x437f1b{[_0x2c5d52(0x210)](){const _0x5d977b=_0x2c5d52;return new _0x4d297f(this[_0x5d977b(0x27d)],this[_0x5d977b(0x26c)],this[_0x5d977b(0x296)],this[_0x5d977b(0x2b6)],this['chartId']);}};_0x437f1b['extend'](_0x2ed62f);var _0x453206=class extends _0x437f1b{constructor(_0x419c92,_0x130b42,_0x1c21f4,_0x571037,_0x132d28){const _0x54e9e4=_0x2c5d52;super(_0x419c92,_0x130b42,_0x1c21f4,_0x571037,_0x132d28),_0x1bdd5d(this,_0x54e9e4(0x2d9),void 0x0),_0x1bdd5d(this,_0x54e9e4(0x2c5),void 0x0),_0x1bdd5d(this,_0x54e9e4(0x2db),void 0x0),_0x1bdd5d(this,_0x54e9e4(0x25b),void 0x0),_0x1bdd5d(this,_0x54e9e4(0x29a),void 0x0),_0x1bdd5d(this,_0x54e9e4(0x258),void 0x0);}[_0x2c5d52(0x270)](_0x8914fa){const _0x3a08be=_0x2c5d52;return this[_0x3a08be(0x2d9)]=_0x8914fa,this;}[_0x2c5d52(0x288)](_0x3ea401){const _0x2f32ed=_0x2c5d52;return this[_0x2f32ed(0x2c5)]=_0x3ea401,this;}['setHasPaddingAngle'](_0x5e93ac){return this['hasPaddingAngle']=_0x5e93ac,this;}[_0x2c5d52(0x2b4)](_0x569984){const _0xe70e36=_0x2c5d52;return this[_0xe70e36(0x25b)]=_0x569984,this;}[_0x2c5d52(0x28c)](_0x4cd3ff){const _0x2e1ec2=_0x2c5d52;return this[_0x2e1ec2(0x29a)]=_0x4cd3ff,this;}[_0x2c5d52(0x22f)](_0x2be956){return this['showLabelLine']=_0x2be956,this;}[_0x2c5d52(0x209)](){const _0x593125=_0x2c5d52;let _0xee99fa=super[_0x593125(0x209)]();_0xee99fa[_0x593125(0x26f)]=_0x167d54[_0x593125(0x1fb)][_0x593125(0x241)];let _0x1e415c=_0xee99fa[_0x593125(0x238)]||{};return _0x16fb31(_0x1e415c,_0x593125(0x28b),this[_0x593125(0x2d9)]),_0x16fb31(_0x1e415c,_0x593125(0x261),this['borderColor']),_0x16fb31(_0x1e415c,_0x593125(0x282),this['hasPaddingAngle']),_0x16fb31(_0x1e415c,_0x593125(0x22c),this[_0x593125(0x25b)]),_0x16fb31(_0x1e415c,_0x593125(0x268),this[_0x593125(0x29a)]),_0x16fb31(_0x1e415c,_0x593125(0x1fd),this[_0x593125(0x258)]),_0xee99fa[_0x593125(0x238)]=_0x1e415c,_0xee99fa;}},_0x2ba34f=class extends _0x437f1b{[_0x2c5d52(0x29e)](){const _0x20a63f=_0x2c5d52;return new _0x453206(this[_0x20a63f(0x27d)],this[_0x20a63f(0x26c)],this[_0x20a63f(0x296)],this[_0x20a63f(0x2b6)],this[_0x20a63f(0x280)]);}};_0x437f1b[_0x2c5d52(0x294)](_0x2ba34f);var _0x326d1e=class extends _0x437f1b{constructor(_0x3147a1,_0x2910dd,_0x2815f3,_0x3f71ab,_0x57927f){const _0x5cf683=_0x2c5d52;super(_0x3147a1,_0x2910dd,_0x2815f3,_0x3f71ab,_0x57927f),_0x1bdd5d(this,_0x5cf683(0x23f),void 0x0),_0x1bdd5d(this,_0x5cf683(0x284),void 0x0);}[_0x2c5d52(0x2c4)](_0x5308be){const _0x37187c=_0x2c5d52;return this[_0x37187c(0x23f)]=_0x5308be,this;}[_0x2c5d52(0x213)](_0xe228ac){const _0x288a6e=_0x2c5d52;return this[_0x288a6e(0x284)]=_0xe228ac,this;}[_0x2c5d52(0x209)](){const _0x153f3b=_0x2c5d52;let _0x43e10e=super[_0x153f3b(0x209)]();_0x43e10e[_0x153f3b(0x26f)]=_0x167d54[_0x153f3b(0x1fb)][_0x153f3b(0x267)];let _0x59abdb=_0x43e10e[_0x153f3b(0x238)]||{};return _0x16fb31(_0x59abdb,_0x153f3b(0x217),this[_0x153f3b(0x23f)]),_0x16fb31(_0x59abdb,_0x153f3b(0x215),this['fill']),_0x43e10e[_0x153f3b(0x238)]=_0x59abdb,_0x43e10e;}},_0x3ee457=class extends _0x437f1b{[_0x2c5d52(0x1f9)](){const _0x2b72f9=_0x2c5d52;return new _0x326d1e(this[_0x2b72f9(0x27d)],this[_0x2b72f9(0x26c)],this[_0x2b72f9(0x296)],this['_injector'],this[_0x2b72f9(0x280)]);}};_0x437f1b[_0x2c5d52(0x294)](_0x3ee457),_0x50496d['FChart']=_0x23de5e,_0x50496d[_0x2c5d52(0x276)]=_0x437f1b,_0x50496d[_0x2c5d52(0x29b)]=_0x4d297f,_0x50496d[_0x2c5d52(0x1f4)]=_0x453206,_0x50496d[_0x2c5d52(0x229)]=_0x326d1e;}));