igniteui-webcomponents-charts 4.7.1 → 4.7.2-beta.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 (126) hide show
  1. package/bundles/igniteui-webcomponents-charts.umd.js +1138 -832
  2. package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
  3. package/esm2015/lib/AngleAxisLabelPanel_combined.js +400 -235
  4. package/esm2015/lib/Arc_combined.js +1 -1
  5. package/esm2015/lib/AxisAngleLabelMode.js +28 -0
  6. package/esm2015/lib/AxisVisualDataManager.js +9 -9
  7. package/esm2015/lib/BubbleSeries_combined.js +1 -1
  8. package/esm2015/lib/CategoryDateTimeXAxis_combined.js +10 -10
  9. package/esm2015/lib/CategoryXAxis_combined.js +15 -15
  10. package/esm2015/lib/CategoryYAxis_combined.js +14 -14
  11. package/esm2015/lib/DataAbbreviator.js +1 -1
  12. package/esm2015/lib/DataLegendContent_combined.js +50 -47
  13. package/esm2015/lib/DomainChart_combined.js +1 -1
  14. package/esm2015/lib/FinancialEventArgs_combined.js +3 -3
  15. package/esm2015/lib/FinancialIndicator_combined.js +2 -2
  16. package/esm2015/lib/LegendBaseViewManager_combined.js +3 -3
  17. package/esm2015/lib/NumericXAxis_combined.js +4 -4
  18. package/esm2015/lib/NumericYAxis_combined.js +4 -4
  19. package/esm2015/lib/PieChartViewManager_combined.js +37 -37
  20. package/esm2015/lib/PointerTooltip_combined.js +1 -1
  21. package/esm2015/lib/PolarAxisRenderingManager.js +2 -2
  22. package/esm2015/lib/PolarBase_combined.js +2 -2
  23. package/esm2015/lib/PolarSplineSeries_combined.js +1 -1
  24. package/esm2015/lib/RadialBucketCalculator_combined.js +4 -4
  25. package/esm2015/lib/RangeCategoryBucketCalculator_combined.js +5 -5
  26. package/esm2015/lib/ScatterBase_combined.js +1 -1
  27. package/esm2015/lib/ScatterContourSeries_combined.js +1 -1
  28. package/esm2015/lib/ScatterSplineSeries.js +1 -1
  29. package/esm2015/lib/ScatterTriangulationSeries.js +5 -5
  30. package/esm2015/lib/SeriesViewer_combined.js +198 -190
  31. package/esm2015/lib/ShapeSeriesBase_combined.js +2 -2
  32. package/esm2015/lib/StraightNumericAxisBase_combined.js +6 -6
  33. package/esm2015/lib/TimeAxisBase.js +5 -5
  34. package/esm2015/lib/TimeXAxis.js +3 -3
  35. package/esm2015/lib/TreemapView_combined.js +8 -8
  36. package/esm2015/lib/XamFunnelView_combined.js +71 -65
  37. package/esm2015/lib/ZoomSliderView_combined.js +2 -2
  38. package/esm2015/lib/igc-axis-collection.js +6 -1
  39. package/esm2015/lib/igc-callout-annotation-collection.js +6 -1
  40. package/esm2015/lib/igc-category-angle-axis-component.js +28 -17
  41. package/esm2015/lib/igc-data-legend-component.js +4 -0
  42. package/esm2015/lib/igc-funnel-chart-component.js +51 -42
  43. package/esm2015/lib/igc-numeric-angle-axis-component.js +15 -4
  44. package/esm2015/lib/igc-pie-chart-base-component.js +9 -9
  45. package/esm2015/lib/igc-ring-series-collection.js +6 -1
  46. package/esm2015/lib/igc-series-collection.js +6 -1
  47. package/esm2015/lib/igc-series-layer-collection.js +6 -1
  48. package/esm2015/lib/igc-series-layer-property-overlay-collection.js +6 -1
  49. package/esm2015/lib/igc-stacked-series-collection.js +6 -1
  50. package/esm2015/lib/igc-time-axis-break-collection.js +6 -1
  51. package/esm2015/lib/igc-time-axis-interval-collection.js +6 -1
  52. package/esm2015/lib/igc-time-axis-label-format-collection.js +6 -1
  53. package/esm2015/lib/igc-treemap-node-style-mapping-collection.js +6 -1
  54. package/esm2015/public_api.js +1 -0
  55. package/esm5/lib/AngleAxisLabelPanel_combined.js +393 -228
  56. package/esm5/lib/Arc_combined.js +1 -1
  57. package/esm5/lib/AxisAngleLabelMode.js +28 -0
  58. package/esm5/lib/AxisVisualDataManager.js +9 -9
  59. package/esm5/lib/BubbleSeries_combined.js +1 -1
  60. package/esm5/lib/CategoryDateTimeXAxis_combined.js +10 -10
  61. package/esm5/lib/CategoryXAxis_combined.js +15 -15
  62. package/esm5/lib/CategoryYAxis_combined.js +14 -14
  63. package/esm5/lib/DataAbbreviator.js +1 -1
  64. package/esm5/lib/DataLegendContent_combined.js +50 -47
  65. package/esm5/lib/DomainChart_combined.js +1 -1
  66. package/esm5/lib/FinancialEventArgs_combined.js +3 -3
  67. package/esm5/lib/FinancialIndicator_combined.js +2 -2
  68. package/esm5/lib/LegendBaseViewManager_combined.js +3 -3
  69. package/esm5/lib/NumericXAxis_combined.js +4 -4
  70. package/esm5/lib/NumericYAxis_combined.js +4 -4
  71. package/esm5/lib/PieChartViewManager_combined.js +37 -37
  72. package/esm5/lib/PointerTooltip_combined.js +1 -1
  73. package/esm5/lib/PolarAxisRenderingManager.js +2 -2
  74. package/esm5/lib/PolarBase_combined.js +2 -2
  75. package/esm5/lib/PolarSplineSeries_combined.js +1 -1
  76. package/esm5/lib/RadialBucketCalculator_combined.js +4 -4
  77. package/esm5/lib/RangeCategoryBucketCalculator_combined.js +5 -5
  78. package/esm5/lib/ScatterBase_combined.js +1 -1
  79. package/esm5/lib/ScatterContourSeries_combined.js +1 -1
  80. package/esm5/lib/ScatterSplineSeries.js +1 -1
  81. package/esm5/lib/ScatterTriangulationSeries.js +5 -5
  82. package/esm5/lib/SeriesViewer_combined.js +198 -190
  83. package/esm5/lib/ShapeSeriesBase_combined.js +2 -2
  84. package/esm5/lib/StraightNumericAxisBase_combined.js +6 -6
  85. package/esm5/lib/TimeAxisBase.js +5 -5
  86. package/esm5/lib/TimeXAxis.js +3 -3
  87. package/esm5/lib/TreemapView_combined.js +8 -8
  88. package/esm5/lib/XamFunnelView_combined.js +70 -64
  89. package/esm5/lib/ZoomSliderView_combined.js +2 -2
  90. package/esm5/lib/igc-axis-collection.js +6 -1
  91. package/esm5/lib/igc-callout-annotation-collection.js +6 -1
  92. package/esm5/lib/igc-category-angle-axis-component.js +32 -17
  93. package/esm5/lib/igc-data-legend-component.js +4 -0
  94. package/esm5/lib/igc-funnel-chart-component.js +51 -42
  95. package/esm5/lib/igc-numeric-angle-axis-component.js +19 -4
  96. package/esm5/lib/igc-pie-chart-base-component.js +9 -9
  97. package/esm5/lib/igc-ring-series-collection.js +6 -1
  98. package/esm5/lib/igc-series-collection.js +6 -1
  99. package/esm5/lib/igc-series-layer-collection.js +6 -1
  100. package/esm5/lib/igc-series-layer-property-overlay-collection.js +6 -1
  101. package/esm5/lib/igc-stacked-series-collection.js +6 -1
  102. package/esm5/lib/igc-time-axis-break-collection.js +6 -1
  103. package/esm5/lib/igc-time-axis-interval-collection.js +6 -1
  104. package/esm5/lib/igc-time-axis-label-format-collection.js +6 -1
  105. package/esm5/lib/igc-treemap-node-style-mapping-collection.js +6 -1
  106. package/esm5/public_api.js +1 -0
  107. package/fesm2015/igniteui-webcomponents-charts.js +1125 -829
  108. package/fesm5/igniteui-webcomponents-charts.js +1137 -833
  109. package/lib/AngleAxisLabelPanel_combined.d.ts +69 -58
  110. package/lib/AxisAngleLabelMode.d.ts +21 -0
  111. package/lib/CategoryDateTimeXAxis_combined.d.ts +3 -3
  112. package/lib/CategoryXAxis_combined.d.ts +2 -2
  113. package/lib/CategoryYAxis_combined.d.ts +2 -2
  114. package/lib/NumericXAxis_combined.d.ts +2 -2
  115. package/lib/NumericYAxis_combined.d.ts +2 -2
  116. package/lib/PieChartViewManager_combined.d.ts +2 -2
  117. package/lib/SeriesViewer_combined.d.ts +66 -63
  118. package/lib/StraightNumericAxisBase_combined.d.ts +2 -2
  119. package/lib/XamFunnelView_combined.d.ts +21 -19
  120. package/lib/igc-category-angle-axis-component.d.ts +6 -0
  121. package/lib/igc-data-legend-component.d.ts +1 -0
  122. package/lib/igc-funnel-chart-component.d.ts +8 -1
  123. package/lib/igc-numeric-angle-axis-component.d.ts +6 -0
  124. package/lib/igc-pie-chart-base-component.d.ts +7 -7
  125. package/package.json +2 -2
  126. package/public_api.d.ts +1 -0
@@ -5,12 +5,13 @@ https://www.infragistics.com/legal/license/igultimate-eula
5
5
  GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
6
  */
7
7
  import { AxisLabelPanelBase } from "./AxisLabelPanelBase";
8
- import { Boolean_$type, typeCast, markType, Point_$type, typeGetValue, fromEnum, runOn, Number_$type, markDep } from "igniteui-webcomponents-core";
8
+ import { Boolean_$type, typeCast, markType, Point_$type, typeGetValue, fromEnum, runOn, Number_$type, enumGetBox, markDep } from "igniteui-webcomponents-core";
9
9
  import { AxisLabelPanelBaseView } from "./AxisLabelPanelBaseView";
10
10
  import { Rect } from "igniteui-webcomponents-core";
11
11
  import { Extensions } from "igniteui-webcomponents-core";
12
12
  import { Axis } from "./Axis";
13
13
  import { List$1 } from "igniteui-webcomponents-core";
14
+ import { AxisAngleLabelMode_$type } from "./AxisAngleLabelMode";
14
15
  import { LabelPosition } from "./LabelPosition";
15
16
  import { XamDataChart } from "./XamDataChart";
16
17
  import { CategoryAxisBase } from "./CategoryAxisBase";
@@ -20,6 +21,7 @@ import { DependencyProperty } from "igniteui-webcomponents-core";
20
21
  import { PolarAxisRenderingManager } from "./PolarAxisRenderingManager";
21
22
  import { AxisLabelManager } from "./AxisLabelManager";
22
23
  import { ViewportUtils } from "./ViewportUtils";
24
+ import { GeometryUtil } from "igniteui-webcomponents-core";
23
25
  import { RadialAxisRenderingParameters } from "./RadialAxisRenderingParameters";
24
26
  import { CategoryTickmarkValues } from "./CategoryTickmarkValues";
25
27
  import { SeriesViewer } from "./SeriesViewer";
@@ -58,11 +60,12 @@ export let AngleAxisLabelPanel = /*@__PURE__*/ (() => {
58
60
  constructor() {
59
61
  super();
60
62
  this.da = false;
61
- this.dg = null;
63
+ this.di = null;
64
+ this.df = 0;
65
+ this.dc = 0;
62
66
  this.de = 0;
63
- this.db = 0;
64
67
  this.dd = 0;
65
- this.dc = 0;
68
+ this.db = 0;
66
69
  }
67
70
  at(a, b) {
68
71
  if (!Extensions.b(b)) {
@@ -79,34 +82,105 @@ export let AngleAxisLabelPanel = /*@__PURE__*/ (() => {
79
82
  if (this.bb.count != this.ba.count) {
80
83
  return a;
81
84
  }
82
- this.c9.a0(a, b);
83
- let c = false;
85
+ let c = 1;
86
+ if (typeCast(CategoryAngleAxis.$, this.ad) !== null) {
87
+ c = this.ad.mh();
88
+ }
89
+ else if (typeCast(NumericAngleAxis.$, this.ad) !== null) {
90
+ c = this.ad.ni();
91
+ }
92
+ if (c == 2) {
93
+ this.c9.a0(a, b);
94
+ }
95
+ else {
96
+ this.c9.a1(a, b);
97
+ }
98
+ let d = false;
84
99
  this.ao = this.an(a, b);
85
100
  if (!this.ad.b8()) {
86
- c = true;
87
- this.bh = this.de / 2;
88
- this.bh = this.bh + this.df();
101
+ d = true;
102
+ switch (c) {
103
+ case 1:
104
+ this.dk();
105
+ break;
106
+ case 2:
107
+ this.dj();
108
+ break;
109
+ }
89
110
  }
90
111
  else {
91
- c = true;
112
+ d = true;
92
113
  this.c9.ac();
93
114
  }
94
- if (c) {
95
- for (let d = 0; d < a.count; d++) {
96
- let e = this.bb._inner[d];
97
- let f = this.ba._inner[d];
98
- let g = a._inner[d];
99
- let h = this.dg(f.c);
100
- let i = h.x - this.bk(e) / 2;
101
- let j = h.y - this.bj(e) / 2;
102
- g.x = i;
103
- g.y = j;
104
- a._inner[d] = g;
115
+ if (d) {
116
+ for (let e = 0; e < a.count; e++) {
117
+ let f = this.bb._inner[e];
118
+ let g = this.ba._inner[e];
119
+ let h = a._inner[e];
120
+ let i = this.di(g.c, h.width, h.height);
121
+ let j = i.x - this.bk(f) / 2;
122
+ let k = i.y - this.bj(f) / 2;
123
+ h.x = j;
124
+ h.y = k;
125
+ a._inner[e] = h;
105
126
  }
106
127
  }
107
128
  return a;
108
129
  }
109
- df() {
130
+ dk() {
131
+ this.bh = this.df / 2;
132
+ this.bh = this.bh + this.dg();
133
+ }
134
+ dj() {
135
+ this.bh = 5;
136
+ this.bh = this.bh + this.dh();
137
+ }
138
+ dh() {
139
+ let a;
140
+ let b;
141
+ b = this.ad;
142
+ a = null;
143
+ if (b != null) {
144
+ a = typeCast(XamDataChart.$, b.bi);
145
+ }
146
+ if (a == null || b == null) {
147
+ return 0;
148
+ }
149
+ let c = new List$1(Axis.$, 0);
150
+ for (let d = 0; d < a.axes.count; d++) {
151
+ let e = a.axes._inner[d];
152
+ if ((typeCast(NumericAngleAxis.$, e) !== null || typeCast(CategoryAngleAxis.$, e) !== null) && typeCast(AngleAxisLabelPanel.$, e.aw) !== null && e.aw.bb.count > 0 && (!e.b8()) && !e.b5() && (e.aj == null || this.ad.aj == null || e.aj.no == b.aj.no)) {
153
+ c.add(e);
154
+ }
155
+ }
156
+ let f = c.indexOf(b);
157
+ if (f == -1) {
158
+ return 0;
159
+ }
160
+ let g = 0;
161
+ if (f > 0) {
162
+ if (typeCast(CategoryAngleAxis.$, c._inner[f - 1]) !== null) {
163
+ let h = c._inner[f - 1];
164
+ if (h.mg == 2) {
165
+ g += h.aw.db;
166
+ }
167
+ else {
168
+ g += c._inner[f - 1].aw.bh;
169
+ }
170
+ }
171
+ else if (typeCast(NumericAngleAxis.$, c._inner[f - 1]) !== null) {
172
+ let i = c._inner[f - 1];
173
+ if (i.mg == 2) {
174
+ g += i.aw.db;
175
+ }
176
+ else {
177
+ g += c._inner[f - 1].aw.bh;
178
+ }
179
+ }
180
+ }
181
+ return g;
182
+ }
183
+ dg() {
110
184
  let a;
111
185
  let b;
112
186
  b = this.ad;
@@ -134,7 +208,24 @@ export let AngleAxisLabelPanel = /*@__PURE__*/ (() => {
134
208
  g += h;
135
209
  }
136
210
  else {
137
- g += c._inner[f - 1].aw.bh;
211
+ if (typeCast(CategoryAngleAxis.$, c._inner[f - 1]) !== null) {
212
+ let i = c._inner[f - 1];
213
+ if (i.mg == 2) {
214
+ g += i.aw.db;
215
+ }
216
+ else {
217
+ g += c._inner[f - 1].aw.bh;
218
+ }
219
+ }
220
+ else if (typeCast(NumericAngleAxis.$, c._inner[f - 1]) !== null) {
221
+ let j = c._inner[f - 1];
222
+ if (j.mg == 2) {
223
+ g += j.aw.db;
224
+ }
225
+ else {
226
+ g += c._inner[f - 1].aw.bh;
227
+ }
228
+ }
138
229
  g += c._inner[f].aw.bh * 2 + h;
139
230
  }
140
231
  return g;
@@ -159,39 +250,44 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
159
250
  }
160
251
  hs(a) {
161
252
  super.hs(a);
162
- this.mh = a;
253
+ this.mj = a;
163
254
  }
164
255
  get_b9() {
165
256
  return true;
166
257
  }
167
258
  constructor() {
168
259
  super();
260
+ this.mo = null;
261
+ this.ml = null;
262
+ this.mp = false;
263
+ this.mt = NaN;
169
264
  this.mm = null;
170
- this.mj = null;
171
- this.mn = false;
172
- this.mr = NaN;
173
- this.mk = null;
265
+ this.mu = 0;
266
+ this.mr = 0;
174
267
  this.ms = 0;
175
- this.mp = 0;
176
- this.mq = 0;
177
- this.m3 = 1;
268
+ this.m5 = 1;
178
269
  this.ab = CategoryAngleAxis.$;
179
- this.mj = this.mi();
180
- this.mm = new PolarAxisRenderingManager();
270
+ this.ml = this.mk();
271
+ this.mo = new PolarAxisRenderingManager();
181
272
  }
182
273
  av() {
183
274
  let a = new AngleAxisLabelPanel();
184
- a.dg = (b) => {
185
- let c = this.bi != null ? this.bi.tn : Rect.empty;
186
- let d = !c.isEmpty ? this.kd : Rect.empty;
187
- return this.ng(b, { $type: Point_$type, x: 0.5, y: 0.5 }, c, d, this.aw.bh);
275
+ a.di = (b, c, d) => {
276
+ let e = this.bi != null ? this.bi.tn : Rect.empty;
277
+ let f = !e.isEmpty ? this.kd : Rect.empty;
278
+ switch (this.mg) {
279
+ case 2: return this.nk(b, c, d, { $type: Point_$type, x: 0.5, y: 0.5 }, e, f, this.aw.bh);
280
+ case 0:
281
+ case 1:
282
+ default: return this.nl(b, { $type: Point_$type, x: 0.5, y: 0.5 }, e, f, this.aw.bh);
283
+ }
188
284
  };
189
285
  return a;
190
286
  }
191
- m1(a) {
287
+ m3(a) {
192
288
  return Math.round(a * Math.pow(10, 10)) / Math.pow(10, 10);
193
289
  }
194
- mi() {
290
+ mk() {
195
291
  let a = ((() => {
196
292
  let $ret = new AxisLabelManager();
197
293
  $ret.a = this;
@@ -205,23 +301,23 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
205
301
  }
206
302
  let b = new CategoryAxisRenderer(a);
207
303
  b.u = () => {
208
- let c = this.a5.a1();
209
- let d = this.a5.a4();
210
- let e = this.a5.a2();
211
- let f = this.a5.a3();
304
+ let c = this.a5.a4();
305
+ let d = this.a5.a7();
306
+ let e = this.a5.a5();
307
+ let f = this.a5.a6();
212
308
  this.il();
213
309
  this.hi(c);
214
310
  this.hi(d);
215
311
  this.hi(e);
216
312
  this.hi(f);
217
313
  };
218
- b.o = (c, d) => !d.isEmpty && !c.isEmpty && this.ml != null;
219
- b.d = (c, d, e, f) => this.mg(c, d, e, f);
314
+ b.o = (c, d) => !d.isEmpty && !c.isEmpty && this.mn != null;
315
+ b.d = (c, d, e, f) => this.mi(c, d, e, f);
220
316
  b.v = () => {
221
- if (!this.mn) {
222
- this.mn = true;
223
- this.ml.c1();
224
- this.mn = false;
317
+ if (!this.mp) {
318
+ this.mp = true;
319
+ this.mn.c1();
320
+ this.mp = false;
225
321
  }
226
322
  };
227
323
  b.g = (c, d) => {
@@ -233,35 +329,35 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
233
329
  return this.fz(f);
234
330
  };
235
331
  b.b.c = (c) => {
236
- if ((this.az == null || this.az.visibility == 0) && this.ml != null && this.mr != c) {
332
+ if ((this.az == null || this.az.visibility == 0) && this.mn != null && this.mt != c) {
237
333
  let d = typeCast(XamDataChart.$, this.bi);
238
334
  if (d == null) {
239
335
  return;
240
336
  }
241
- this.mr = c;
337
+ this.mt = c;
242
338
  this.aw.bg = c;
243
339
  d.mg();
244
340
  for (let e of fromEnum(d.axes)) {
245
341
  if (e != this && typeCast(AngleAxisLabelPanel.$, e.aw) !== null) {
246
- e.a5.ag();
342
+ e.a5.ai();
247
343
  }
248
344
  }
249
345
  }
250
346
  };
251
347
  b.k = (c, d, e) => {
252
348
  let f = typeCast(RadialAxisRenderingParameters.$, c);
253
- this.mm.m(d, e, c.z, c.aa, f.minLength, f.maxLength, f.center);
349
+ this.mo.m(d, e, c.z, c.aa, f.minLength, f.maxLength, f.center);
254
350
  };
255
351
  b.l = (c, d, e, f) => {
256
352
  let g = typeCast(RadialAxisRenderingParameters.$, c);
257
- this.mm.n(d, e, f, g.z, c.aa, g.minLength, g.maxLength, g.center);
353
+ this.mo.n(d, e, f, g.z, c.aa, g.minLength, g.maxLength, g.center);
258
354
  };
259
355
  b.m = (c, d) => this.getScaledAngle(d);
260
356
  b.q = (c, d) => {
261
- if (this.m1(d - this.ms) < 0) {
357
+ if (this.m3(d - this.mu) < 0) {
262
358
  return false;
263
359
  }
264
- if (this.m1(d - this.ms - (2 * Math.PI)) > 0) {
360
+ if (this.m3(d - this.mu - (2 * Math.PI)) > 0) {
265
361
  return false;
266
362
  }
267
363
  return true;
@@ -269,11 +365,11 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
269
365
  b.j = (c) => {
270
366
  let d = typeCast(RadialAxisRenderingParameters.$, c);
271
367
  if (d.e == d.k._inner[0]) {
272
- this.mm.i(c.t, c.n, c.z, c.aa, d.center, d.minAngle, d.maxAngle);
368
+ this.mo.i(c.t, c.n, c.z, c.aa, d.center, d.minAngle, d.maxAngle);
273
369
  }
274
370
  };
275
371
  b.e = (c) => {
276
- c.n = this.mv();
372
+ c.n = this.mx();
277
373
  c.r = c.n;
278
374
  };
279
375
  b.p = (c, d, e) => {
@@ -281,7 +377,7 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
281
377
  if (e) {
282
378
  return false;
283
379
  }
284
- let g = this.ng(d, f.center, c.aa, c.z, 0);
380
+ let g = this.nl(d, f.center, c.aa, c.z, 0);
285
381
  if (g.x < c.z.right && g.x >= c.z.left && g.y < c.z.bottom && g.y >= c.z.top) {
286
382
  return true;
287
383
  }
@@ -300,11 +396,11 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
300
396
  return i;
301
397
  };
302
398
  b.f = runOn(this, this.getGroupCenter);
303
- b.i = runOn(this, this.my);
399
+ b.i = runOn(this, this.m0);
304
400
  return b;
305
401
  }
306
- ng(a, b, c, d, e) {
307
- let f = this.mv();
402
+ nl(a, b, c, d, e) {
403
+ let f = this.mx();
308
404
  let g = ViewportUtils.b(e, c, d);
309
405
  if (this.az != null && (this.az.c == 5 || this.az.c == 1)) {
310
406
  g *= -1;
@@ -315,27 +411,44 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
315
411
  i = ViewportUtils.f(i, c, d);
316
412
  return { $type: Point_$type, x: h, y: i };
317
413
  }
318
- mv() {
319
- if (this.ml == null) {
414
+ nk(a, b, c, d, e, f, g) {
415
+ if (!isNaN_(b) && !isNaN_(c)) {
416
+ let h = this.mx();
417
+ let i = b / f.width;
418
+ let j = c / f.width;
419
+ let k = ViewportUtils.b(g, e, f);
420
+ let l = GeometryUtil.h(h, a, i, j);
421
+ let m = d.x + (l + k) * Math.cos(a);
422
+ let n = d.y + (l + k) * Math.sin(a);
423
+ m = ViewportUtils.c(m, e, f);
424
+ n = ViewportUtils.f(n, e, f);
425
+ return { $type: Point_$type, x: m, y: n };
426
+ }
427
+ else {
428
+ return this.nl(a, d, e, f, g);
429
+ }
430
+ }
431
+ mx() {
432
+ if (this.mn == null) {
320
433
  return 0;
321
434
  }
322
435
  if (!this.b5()) {
323
- return this.ml.nt();
436
+ return this.mn.nt();
324
437
  }
325
438
  else {
326
- return this.ml.nu((this.fv));
439
+ return this.mn.nu((this.fv));
327
440
  }
328
441
  }
329
- mg(a, b, c, d) {
442
+ mi(a, b, c, d) {
330
443
  if (this.kr == null) {
331
444
  return null;
332
445
  }
333
446
  let e = new RadialAxisRenderingParameters();
334
447
  let f = this.kr.count - 1;
335
- let g = this.a5.a1();
336
- let h = this.a5.a4();
337
- let i = this.a5.a2();
338
- let j = this.a5.a3();
448
+ let g = this.a5.a4();
449
+ let h = this.a5.a7();
450
+ let i = this.a5.a5();
451
+ let j = this.a5.a6();
339
452
  e.t = g;
340
453
  e.w = h;
341
454
  e.u = i;
@@ -347,18 +460,18 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
347
460
  e.y = c;
348
461
  e.x = d;
349
462
  e.aa = b;
350
- e.g = this.mo();
351
- e.p = this.mz;
463
+ e.g = this.mq();
464
+ e.p = this.m1;
352
465
  e.o = this.ey();
353
- e.q = this.m0;
466
+ e.q = this.m2;
354
467
  e.s = this.f0;
355
- let k = this.mm.f(b);
356
- let l = this.mm.g(b);
357
- let m = 0.5 * this.ml.no;
358
- let n = 0.5 * this.ml.nn;
468
+ let k = this.mo.f(b);
469
+ let l = this.mo.g(b);
470
+ let m = 0.5 * this.mn.no;
471
+ let n = 0.5 * this.mn.nn;
359
472
  let o = k;
360
473
  let p = l;
361
- let q = this.ml.nt();
474
+ let q = this.mn.nt();
362
475
  if (isNaN_(q) || isInfinity(q)) {
363
476
  return null;
364
477
  }
@@ -369,7 +482,7 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
369
482
  o = n;
370
483
  }
371
484
  let r = a.width;
372
- this.mm.k(b, e, 0, this.kr.count, this.ch, runOn(this, this.getUnscaledAngle), r);
485
+ this.mo.k(b, e, 0, this.kr.count, this.ch, runOn(this, this.getUnscaledAngle), r);
373
486
  let s = { $type: Point_$type, x: 0.5, y: 0.5 };
374
487
  e.center = s;
375
488
  e.maxLength = p;
@@ -385,7 +498,7 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
385
498
  return e;
386
499
  }
387
500
  getMinMaxAngle(a, b, c) {
388
- let d = this.mm.l(a, b, c);
501
+ let d = this.mo.l(a, b, c);
389
502
  b = d.p1;
390
503
  c = d.p2;
391
504
  return {
@@ -397,9 +510,9 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
397
510
  super.ac();
398
511
  this.h8(false);
399
512
  }
400
- get ml() {
401
- if (this.mk != null) {
402
- return this.mk;
513
+ get mn() {
514
+ if (this.mm != null) {
515
+ return this.mm;
403
516
  }
404
517
  let a = typeCast(XamDataChart.$, this.bi);
405
518
  if (a != null) {
@@ -409,13 +522,21 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
409
522
  }
410
523
  }
411
524
  }
412
- return this.mk;
525
+ return this.mm;
413
526
  }
414
- set ml(a) {
415
- this.mk = a;
527
+ set mn(a) {
528
+ this.mm = a;
416
529
  }
417
530
  ak() {
418
- return this.ml;
531
+ return this.mn;
532
+ }
533
+ mh() {
534
+ if (this.mg == 0) {
535
+ return 1;
536
+ }
537
+ else {
538
+ return this.mg;
539
+ }
419
540
  }
420
541
  getCategorySize(a, b, c) {
421
542
  return 2 * Math.PI / this.lf;
@@ -444,7 +565,7 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
444
565
  }
445
566
  return this.getCategorySize(b, c, d) * e;
446
567
  }
447
- my(a) {
568
+ m0(a) {
448
569
  let b = 0.5;
449
570
  if (this.lh > 1) {
450
571
  let c = this.lb(Rect.empty, Rect.empty, Rect.empty);
@@ -465,16 +586,16 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
465
586
  let c = !b.isEmpty ? this.kd : Rect.empty;
466
587
  let d = this.j8();
467
588
  let e = this.j7();
468
- let f = this.mj.c(a, c, b, d, e);
589
+ let f = this.ml.c(a, c, b, d, e);
469
590
  if (f != null) {
470
- this.mt = f.f.m;
471
- this.mu = f.f.l;
591
+ this.mv = f.f.m;
592
+ this.mw = f.f.l;
472
593
  }
473
594
  }
474
- mx(a, b) {
595
+ mz(a, b) {
475
596
  let c;
476
597
  let d;
477
- let e = this.mm.l(b, c, d);
598
+ let e = this.mo.l(b, c, d);
478
599
  c = e.p1;
479
600
  d = e.p2;
480
601
  if (c == 0) {
@@ -491,10 +612,10 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
491
612
  }
492
613
  return f;
493
614
  }
494
- mw(a, b) {
615
+ my(a, b) {
495
616
  let c;
496
617
  let d;
497
- let e = this.mm.l(b, c, d);
618
+ let e = this.mo.l(b, c, d);
498
619
  c = e.p1;
499
620
  d = e.p2;
500
621
  if (d > Math.PI * 2) {
@@ -520,13 +641,13 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
520
641
  if (this.ci) {
521
642
  c = 1 - c;
522
643
  }
523
- return (c * 2 * Math.PI) + this.ms;
644
+ return (c * 2 * Math.PI) + this.mu;
524
645
  }
525
646
  getUnscaledAngle(a) {
526
- if (a < this.ms) {
647
+ if (a < this.mu) {
527
648
  a += 2 * Math.PI;
528
649
  }
529
- let b = (a - this.ms) / (2 * Math.PI);
650
+ let b = (a - this.mu) / (2 * Math.PI);
530
651
  if (this.ch) {
531
652
  b = 1 - b;
532
653
  }
@@ -544,22 +665,22 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
544
665
  switch (b) {
545
666
  case "CrossingAxis":
546
667
  let f = typeCast(NumericRadiusAxis.$, d);
547
- this.nc(f);
668
+ this.nf(f);
548
669
  if (f != null) {
549
670
  f.n3(this);
550
671
  }
551
672
  this.cq = true;
552
673
  this.h8(false);
553
674
  break;
554
- case CategoryAngleAxis.$$p[0]:
555
- this.ms = this.m2;
556
- while (this.ms < 0) {
557
- this.ms += 360;
675
+ case CategoryAngleAxis.$$p[1]:
676
+ this.mu = this.m4;
677
+ while (this.mu < 0) {
678
+ this.mu += 360;
558
679
  }
559
- while (this.ms >= 360) {
560
- this.ms -= 360;
680
+ while (this.mu >= 360) {
681
+ this.mu -= 360;
561
682
  }
562
- this.ms = (this.ms * Math.PI) / 180;
683
+ this.mu = (this.mu * Math.PI) / 180;
563
684
  this.cq = true;
564
685
  this.h8(false);
565
686
  for (let g of fromEnum(this.de)) {
@@ -586,56 +707,56 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
586
707
  }
587
708
  break;
588
709
  case "LabelSettings":
589
- this.mj = this.mi();
590
- this.na();
710
+ this.ml = this.mk();
711
+ this.nd();
591
712
  this.cq = true;
592
713
  this.h8(false);
593
714
  break;
594
715
  }
595
716
  }
596
- na() {
597
- this.mr = NaN;
717
+ nd() {
718
+ this.mt = NaN;
598
719
  }
599
- nc(a) {
600
- this.ml = a;
720
+ nf(a) {
721
+ this.mn = a;
601
722
  }
602
- get mz() {
603
- return this.c(CategoryAngleAxis.nd);
723
+ get m1() {
724
+ return this.c(CategoryAngleAxis.ng);
604
725
  }
605
- set mz(a) {
606
- this.h(CategoryAngleAxis.nd, a);
726
+ set m1(a) {
727
+ this.h(CategoryAngleAxis.ng, a);
607
728
  }
608
- get mt() {
609
- return this.mp;
729
+ get mv() {
730
+ return this.mr;
610
731
  }
611
- set mt(a) {
612
- if (this.mt != a) {
613
- let b = this.mp;
614
- this.mp = a;
615
- this.h2("ActualInterval", b, this.mt);
732
+ set mv(a) {
733
+ if (this.mv != a) {
734
+ let b = this.mr;
735
+ this.mr = a;
736
+ this.h2("ActualInterval", b, this.mv);
616
737
  }
617
738
  }
618
739
  ev() {
619
- return this.mt;
740
+ return this.mv;
620
741
  }
621
- get m0() {
622
- return this.c(CategoryAngleAxis.ne);
742
+ get m2() {
743
+ return this.c(CategoryAngleAxis.ni);
623
744
  }
624
- set m0(a) {
625
- this.h(CategoryAngleAxis.ne, a);
745
+ set m2(a) {
746
+ this.h(CategoryAngleAxis.ni, a);
626
747
  }
627
- get mu() {
628
- return this.mq;
748
+ get mw() {
749
+ return this.ms;
629
750
  }
630
- set mu(a) {
631
- if (this.mu != a) {
632
- let b = this.mq;
633
- this.mq = a;
634
- this.h2("ActualMinorInterval", b, this.mu);
751
+ set mw(a) {
752
+ if (this.mw != a) {
753
+ let b = this.ms;
754
+ this.ms = a;
755
+ this.h2("ActualMinorInterval", b, this.mw);
635
756
  }
636
757
  }
637
- mo() {
638
- return !isNaN_(this.mz);
758
+ mq() {
759
+ return !isNaN_(this.m1);
639
760
  }
640
761
  get_a2() {
641
762
  return 2;
@@ -651,22 +772,22 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
651
772
  return false;
652
773
  }
653
774
  let a = this.kr.count;
654
- if (a != this.m4) {
655
- let b = new AxisRangeChangedEventArgs(0, 1, 1, this.m4, a);
656
- this.m4 = a;
775
+ if (a != this.m6) {
776
+ let b = new AxisRangeChangedEventArgs(0, 1, 1, this.m6, a);
777
+ this.m6 = a;
657
778
  this.h3(b);
658
779
  return true;
659
780
  }
660
781
  return false;
661
782
  }
662
- get m4() {
663
- return this.m3;
783
+ get m6() {
784
+ return this.m5;
664
785
  }
665
- set m4(a) {
666
- this.m3 = a;
786
+ set m6(a) {
787
+ this.m5 = a;
667
788
  }
668
789
  j5(a, b, c, d = null, e = null) {
669
- let f = typeCast(RadialAxisRenderingParameters.$, this.mj.d(c, b, d, e));
790
+ let f = typeCast(RadialAxisRenderingParameters.$, this.ml.d(c, b, d, e));
670
791
  if (f == null) {
671
792
  return null;
672
793
  }
@@ -711,15 +832,15 @@ export let CategoryAngleAxis = /*@__PURE__*/ (() => {
711
832
  }
712
833
  }
713
834
  CategoryAngleAxis.$t = /*@__PURE__*/ markType(CategoryAngleAxis, 'CategoryAngleAxis', CategoryAxisBase.$, [IAngleScaler_$type]);
714
- CategoryAngleAxis.nd = /*@__PURE__*/ DependencyProperty.i("Interval", Number_$type, CategoryAngleAxis.$, /*@__PURE__*/ new PropertyMetadata(2, NaN, (a, b) => {
835
+ CategoryAngleAxis.ng = /*@__PURE__*/ DependencyProperty.i("Interval", Number_$type, CategoryAngleAxis.$, /*@__PURE__*/ new PropertyMetadata(2, NaN, (a, b) => {
715
836
  a.h2("Interval", b.oldValue, b.newValue);
716
837
  a.h8(false);
717
838
  }));
718
- CategoryAngleAxis.ne = /*@__PURE__*/ DependencyProperty.i("MinorInterval", Number_$type, CategoryAngleAxis.$, /*@__PURE__*/ new PropertyMetadata(2, NaN, (a, b) => {
839
+ CategoryAngleAxis.ni = /*@__PURE__*/ DependencyProperty.i("MinorInterval", Number_$type, CategoryAngleAxis.$, /*@__PURE__*/ new PropertyMetadata(2, NaN, (a, b) => {
719
840
  (typeCast(CategoryAngleAxis.$, a)).h2("MinorInterval", b.oldValue, b.newValue);
720
841
  (typeCast(CategoryAngleAxis.$, a)).h8(false);
721
842
  }));
722
- CategoryAngleAxis.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, CategoryAngleAxis, 'h2', ['StartAngleOffset:m2:nf', [1, 0]]);
843
+ CategoryAngleAxis.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, CategoryAngleAxis, 'h2', ['LabelMode:mg:nh', [AxisAngleLabelMode_$type, /*@__PURE__*/ enumGetBox(AxisAngleLabelMode_$type, 0)], 'StartAngleOffset:m4:nj', [1, 0]]);
723
844
  return CategoryAngleAxis;
724
845
  })();
725
846
  /**
@@ -732,107 +853,107 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
732
853
  }
733
854
  hs(a) {
734
855
  super.hs(a);
735
- this.nh = a;
856
+ this.nj = a;
736
857
  }
737
858
  get_b9() {
738
859
  return true;
739
860
  }
740
861
  constructor() {
741
862
  super();
863
+ this.nm = null;
864
+ this.nn = false;
865
+ this.no = NaN;
866
+ this.np = 0;
742
867
  this.nk = null;
743
- this.nl = false;
744
- this.nm = NaN;
745
- this.nn = 0;
746
- this.ni = null;
747
868
  this.ab = NumericAngleAxis.$;
748
- this.nk = new PolarAxisRenderingManager();
869
+ this.nm = new PolarAxisRenderingManager();
749
870
  this.k0 = this.ky();
750
871
  }
751
872
  av() {
752
873
  let a = new AngleAxisLabelPanel();
753
- a.dg = (b) => {
754
- let c = this.bi != null ? this.bi.tn : Rect.empty;
755
- let d = !c.isEmpty ? this.kd : Rect.empty;
756
- return this.nx(b, { $type: Point_$type, x: 0.5, y: 0.5 }, c, d, this.aw.bh);
874
+ a.di = (b, c, d) => {
875
+ let e = this.bi != null ? this.bi.tn : Rect.empty;
876
+ let f = !e.isEmpty ? this.kd : Rect.empty;
877
+ return this.n1(b, { $type: Point_$type, x: 0.5, y: 0.5 }, e, f, this.aw.bh);
757
878
  };
758
879
  return a;
759
880
  }
760
- no() {
761
- if (this.nj == null) {
881
+ nq() {
882
+ if (this.nl == null) {
762
883
  return 0;
763
884
  }
764
885
  if (!this.b5()) {
765
- return this.nj.nt();
886
+ return this.nl.nt();
766
887
  }
767
888
  else {
768
- return this.nj.nu((this.fv));
889
+ return this.nl.nu((this.fv));
769
890
  }
770
891
  }
771
- nq(a) {
892
+ ns(a) {
772
893
  return Math.round(a * Math.pow(10, 10)) / Math.pow(10, 10);
773
894
  }
774
895
  ky() {
775
896
  let a = super.ky();
776
897
  a.b.c = (b) => {
777
- if ((this.az == null || this.az.visibility == 0) && this.nj != null && this.nm != b) {
898
+ if ((this.az == null || this.az.visibility == 0) && this.nl != null && this.no != b) {
778
899
  let c = typeCast(XamDataChart.$, this.bi);
779
900
  if (c == null) {
780
901
  return;
781
902
  }
782
- this.nm = b;
903
+ this.no = b;
783
904
  this.aw.bg = b;
784
905
  c.mg();
785
906
  for (let d of fromEnum(c.axes)) {
786
907
  if (d != this && typeCast(AngleAxisLabelPanel.$, d.aw) !== null) {
787
- d.a5.ag();
908
+ d.a5.ai();
788
909
  }
789
910
  }
790
911
  }
791
912
  };
792
913
  a.e = (b) => {
793
- b.n = this.no();
914
+ b.n = this.nq();
794
915
  b.r = b.n;
795
916
  };
796
917
  a.j = (b) => {
797
918
  let c = typeCast(PolarAxisRenderingParameters.$, b);
798
919
  if (c.e == c.k._inner[0]) {
799
- this.nk.i(b.t, b.n, b.z, b.aa, c.center, c.minAngle, c.maxAngle);
920
+ this.nm.i(b.t, b.n, b.z, b.aa, c.center, c.minAngle, c.maxAngle);
800
921
  }
801
922
  };
802
923
  a.k = (b, c, d) => {
803
924
  let e = typeCast(PolarAxisRenderingParameters.$, b);
804
- this.nk.m(c, d, b.z, b.aa, e.minLength, e.maxLength, e.center);
925
+ this.nm.m(c, d, b.z, b.aa, e.minLength, e.maxLength, e.center);
805
926
  };
806
927
  a.l = (b, c, d, e) => {
807
928
  let f = typeCast(PolarAxisRenderingParameters.$, b);
808
- this.nk.n(c, d, e, f.z, b.aa, f.minLength, f.maxLength, f.center);
929
+ this.nm.n(c, d, e, f.z, b.aa, f.minLength, f.maxLength, f.center);
809
930
  };
810
931
  a.d = (b, c, d, e) => {
811
932
  let f = typeCast(PolarAxisRenderingParameters.$, this.k1(b, c, d, e));
812
933
  return f;
813
934
  };
814
935
  a.v = () => {
815
- if (!this.nl) {
816
- this.nl = true;
817
- this.nj.c1();
818
- this.nl = false;
936
+ if (!this.nn) {
937
+ this.nn = true;
938
+ this.nl.c1();
939
+ this.nn = false;
819
940
  }
820
941
  };
821
942
  a.m = (b, c) => this.getScaledAngle(c);
822
- a.o = (b, c) => !c.isEmpty && !b.isEmpty && this.nj != null;
943
+ a.o = (b, c) => !c.isEmpty && !b.isEmpty && this.nl != null;
823
944
  a.q = (b, c) => {
824
- if (this.nq(c - this.nn) < 0) {
945
+ if (this.ns(c - this.np) < 0) {
825
946
  return false;
826
947
  }
827
- if (this.nq(c - this.nn - (2 * Math.PI)) > 0) {
948
+ if (this.ns(c - this.np - (2 * Math.PI)) > 0) {
828
949
  return false;
829
950
  }
830
951
  return true;
831
952
  };
832
953
  a.p = (b, c, d) => {
833
954
  let e = typeCast(PolarAxisRenderingParameters.$, b);
834
- let f = this.nx(this.getScaledAngle(e.l), e.center, b.aa, b.z, 0);
835
- let g = this.nx(c, e.center, b.aa, b.z, 0);
955
+ let f = this.n1(this.getScaledAngle(e.l), e.center, b.aa, b.z, 0);
956
+ let g = this.n1(c, e.center, b.aa, b.z, 0);
836
957
  if (d && MathUtil.g(f.x - g.x, f.y - g.y) < 2) {
837
958
  return false;
838
959
  }
@@ -852,8 +973,8 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
852
973
  };
853
974
  return a;
854
975
  }
855
- nx(a, b, c, d, e) {
856
- let f = this.no();
976
+ n1(a, b, c, d, e) {
977
+ let f = this.nq();
857
978
  let g = ViewportUtils.b(e, c, d);
858
979
  if (this.az != null && (this.az.c == 5 || this.az.c == 1)) {
859
980
  g *= -1;
@@ -878,7 +999,7 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
878
999
  if (c) {
879
1000
  d = 1 - d;
880
1001
  }
881
- return (d * 2 * Math.PI) + this.nn;
1002
+ return (d * 2 * Math.PI) + this.np;
882
1003
  }
883
1004
  getScaledAngle(a) {
884
1005
  return this.getScaledAngle1(a, this.lj, this.ci);
@@ -887,7 +1008,7 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
887
1008
  return this.getUnscaledAngle(a);
888
1009
  }
889
1010
  getUnscaledAngle(a) {
890
- let b = (a - this.nn) / (2 * Math.PI);
1011
+ let b = (a - this.np) / (2 * Math.PI);
891
1012
  if (this.ch) {
892
1013
  b = 1 - b;
893
1014
  }
@@ -898,27 +1019,35 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
898
1019
  return this.lx + b * (this.lw - this.lx);
899
1020
  }
900
1021
  }
1022
+ ni() {
1023
+ if (this.nh == 0) {
1024
+ return 1;
1025
+ }
1026
+ else {
1027
+ return this.nh;
1028
+ }
1029
+ }
901
1030
  hw(a, b, c, d) {
902
1031
  super.hw(a, b, c, d);
903
1032
  let e = typeCast(XamDataChart.$, this.bi);
904
1033
  switch (b) {
905
1034
  case "CrossingAxis":
906
1035
  let f = typeCast(NumericRadiusAxis.$, d);
907
- this.nv(f);
1036
+ this.ny(f);
908
1037
  if (f != null) {
909
1038
  f.n3(this);
910
1039
  }
911
1040
  this.h8(false);
912
1041
  break;
913
- case NumericAngleAxis.$$p[0]:
914
- this.nn = this.nr;
915
- while (this.nn < 0) {
916
- this.nn += 360;
1042
+ case NumericAngleAxis.$$p[1]:
1043
+ this.np = this.nt;
1044
+ while (this.np < 0) {
1045
+ this.np += 360;
917
1046
  }
918
- while (this.nn >= 360) {
919
- this.nn -= 360;
1047
+ while (this.np >= 360) {
1048
+ this.np -= 360;
920
1049
  }
921
- this.nn = (this.nr * Math.PI) / 180;
1050
+ this.np = (this.nt * Math.PI) / 180;
922
1051
  this.h8(false);
923
1052
  for (let g of fromEnum(this.db())) {
924
1053
  g.pq(false);
@@ -943,27 +1072,27 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
943
1072
  break;
944
1073
  case "LabelSettings":
945
1074
  this.k0 = this.ky();
946
- this.nt();
1075
+ this.nw();
947
1076
  this.cq = true;
948
1077
  this.h8(false);
949
1078
  break;
950
1079
  }
951
1080
  }
952
- nt() {
953
- this.nm = NaN;
1081
+ nw() {
1082
+ this.no = NaN;
954
1083
  }
955
1084
  k2() {
956
1085
  return new PolarAxisRenderingParameters();
957
1086
  }
958
1087
  k1(a, b, c, d) {
959
1088
  let e = typeCast(PolarAxisRenderingParameters.$, super.k1(a, b, c, d));
960
- let f = this.nk.f(b);
961
- let g = this.nk.g(b);
962
- let h = 0.5 * this.nj.no;
963
- let i = 0.5 * this.nj.nn;
1089
+ let f = this.nm.f(b);
1090
+ let g = this.nm.g(b);
1091
+ let h = 0.5 * this.nl.no;
1092
+ let i = 0.5 * this.nl.nn;
964
1093
  let j = f;
965
1094
  let k = g;
966
- let l = this.nj.nt();
1095
+ let l = this.nl.nt();
967
1096
  if (isNaN_(l) || isInfinity(l)) {
968
1097
  return null;
969
1098
  }
@@ -974,7 +1103,7 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
974
1103
  j = i;
975
1104
  }
976
1105
  let m = a.width;
977
- this.nk.k(b, e, this.lx, this.lw, this.ch, runOn(this, this.getUnscaledAngle), m);
1106
+ this.nm.k(b, e, this.lx, this.lw, this.ch, runOn(this, this.getUnscaledAngle), m);
978
1107
  let n = { $type: Point_$type, x: 0.5, y: 0.5 };
979
1108
  e.center = n;
980
1109
  e.maxLength = k;
@@ -983,7 +1112,7 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
983
1112
  return e;
984
1113
  }
985
1114
  getMinMaxAngle(a, b, c) {
986
- let d = this.nk.l(a, b, c);
1115
+ let d = this.nm.l(a, b, c);
987
1116
  b = d.p1;
988
1117
  c = d.p2;
989
1118
  return {
@@ -1003,9 +1132,9 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
1003
1132
  this.ly = f.f.l;
1004
1133
  }
1005
1134
  }
1006
- get nj() {
1007
- if (this.ni != null) {
1008
- return this.ni;
1135
+ get nl() {
1136
+ if (this.nk != null) {
1137
+ return this.nk;
1009
1138
  }
1010
1139
  let a = typeCast(XamDataChart.$, this.bi);
1011
1140
  if (a != null) {
@@ -1015,16 +1144,16 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
1015
1144
  }
1016
1145
  }
1017
1146
  }
1018
- return this.ni;
1147
+ return this.nk;
1019
1148
  }
1020
- set nj(a) {
1021
- this.ni = a;
1149
+ set nl(a) {
1150
+ this.nk = a;
1022
1151
  }
1023
1152
  ak() {
1024
- return this.nj;
1153
+ return this.nl;
1025
1154
  }
1026
- nv(a) {
1027
- this.nj = a;
1155
+ ny(a) {
1156
+ this.nl = a;
1028
1157
  }
1029
1158
  ip(a, b) {
1030
1159
  super.ip(a, b);
@@ -1039,7 +1168,7 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
1039
1168
  return this.get_a2();
1040
1169
  }
1041
1170
  j5(a, b, c, d = null, e = null) {
1042
- if (this.nj == null) {
1171
+ if (this.nl == null) {
1043
1172
  return null;
1044
1173
  }
1045
1174
  let f = typeCast(PolarAxisRenderingParameters.$, this.k1(c, b, d, e));
@@ -1063,7 +1192,7 @@ export let NumericAngleAxis = /*@__PURE__*/ (() => {
1063
1192
  }
1064
1193
  }
1065
1194
  NumericAngleAxis.$t = /*@__PURE__*/ markType(NumericAngleAxis, 'NumericAngleAxis', NumericAxisBase.$, [IAngleScaler_$type]);
1066
- NumericAngleAxis.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, NumericAngleAxis, 'h2', ['StartAngleOffset:nr:nw', [1, 0]]);
1195
+ NumericAngleAxis.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, NumericAngleAxis, 'h2', ['LabelMode:nh:nz', [AxisAngleLabelMode_$type, /*@__PURE__*/ enumGetBox(AxisAngleLabelMode_$type, 0)], 'StartAngleOffset:nt:n0', [1, 0]]);
1067
1196
  return NumericAngleAxis;
1068
1197
  })();
1069
1198
  /**
@@ -1320,11 +1449,11 @@ export let NumericRadiusAxis = /*@__PURE__*/ (() => {
1320
1449
  }
1321
1450
  if (g != null) {
1322
1451
  this.n3(g);
1323
- g.nv(this);
1452
+ g.ny(this);
1324
1453
  }
1325
1454
  if (h != null) {
1326
1455
  this.n3(h);
1327
- h.nc(this);
1456
+ h.nf(this);
1328
1457
  }
1329
1458
  this.cq = true;
1330
1459
  this.h8(false);
@@ -1599,31 +1728,67 @@ export let AngleAxisLabelPanelView = /*@__PURE__*/ (() => {
1599
1728
  super.an();
1600
1729
  this.az.da = true;
1601
1730
  }
1602
- a0(a, b) {
1731
+ a1(a, b) {
1732
+ this.az.df = -1.7976931348623157E+308;
1733
+ this.az.dc = -1.7976931348623157E+308;
1603
1734
  this.az.de = -1.7976931348623157E+308;
1604
- this.az.db = -1.7976931348623157E+308;
1605
1735
  this.az.dd = -1.7976931348623157E+308;
1606
- this.az.dc = -1.7976931348623157E+308;
1607
1736
  for (let c = 0; c < this.a.bb.count; c++) {
1608
1737
  let d = this.a.bb._inner[c];
1609
1738
  let e = this.a.ba._inner[c];
1610
1739
  let f = e.a;
1611
- let g = this.az.dg(e.c);
1740
+ let g = this.az.di(e.c, NaN, NaN);
1612
1741
  let h = this.m(d);
1613
1742
  let i = this.l(d);
1614
1743
  let j = h + this.p() + this.q();
1615
1744
  let k = i + this.r() + this.o();
1616
1745
  let l = g.x - j / 2;
1617
1746
  let m = g.y - k / 2;
1618
- this.az.dd = Math.max(h, this.az.dd);
1619
- this.az.dc = Math.max(i, this.az.dc);
1620
- this.az.de = Math.max(j, this.az.de);
1621
- this.az.db = Math.max(k, this.az.db);
1747
+ this.az.de = Math.max(h, this.az.de);
1748
+ this.az.dd = Math.max(i, this.az.dd);
1749
+ this.az.df = Math.max(j, this.az.df);
1750
+ this.az.dc = Math.max(k, this.az.dc);
1622
1751
  let n = new Rect(0, l, m, j, k);
1623
1752
  a.add(n);
1624
1753
  b.add(f);
1625
1754
  }
1626
1755
  }
1756
+ a0(a, b) {
1757
+ this.az.db = -1.7976931348623157E+308;
1758
+ let c = 0;
1759
+ if (typeCast(CategoryAngleAxis.$, this.az.ad) !== null) {
1760
+ c = this.az.ad.mx() * this.az.ad.kd.width;
1761
+ }
1762
+ else if (typeCast(NumericAngleAxis.$, this.az.ad) !== null) {
1763
+ c = this.az.ad.nq() * this.az.ad.kd.width;
1764
+ }
1765
+ let d = { $type: Point_$type, x: this.az.ad.kd.width * 0.5, y: this.az.ad.kd.width * 0.5 };
1766
+ for (let e = 0; e < this.a.bb.count; e++) {
1767
+ let f = this.a.bb._inner[e];
1768
+ let g = this.a.ba._inner[e];
1769
+ let h = g.a;
1770
+ let i = this.m(f);
1771
+ let j = this.l(f);
1772
+ let k = i + this.p() + this.q();
1773
+ let l = j + this.r() + this.o();
1774
+ let m = this.az.di(g.c, k, l);
1775
+ let n = m.x - k / 2;
1776
+ let o = m.y - l / 2;
1777
+ let p = new Rect(0, n, o, i, j);
1778
+ if (!h) {
1779
+ let q = Math.sqrt((p.left - d.x) * (p.left - d.x) + (p.top - d.y) * (p.top - d.y));
1780
+ let r = Math.sqrt((p.right - d.x) * (p.right - d.x) + (p.top - d.y) * (p.top - d.y));
1781
+ let s = Math.sqrt((p.left - d.x) * (p.left - d.x) + (p.bottom - d.y) * (p.bottom - d.y));
1782
+ let t = Math.sqrt((p.right - d.x) * (p.right - d.x) + (p.bottom - d.y) * (p.bottom - d.y));
1783
+ this.az.db = Math.max(q - c, this.az.db);
1784
+ this.az.db = Math.max(r - c, this.az.db);
1785
+ this.az.db = Math.max(s - c, this.az.db);
1786
+ this.az.db = Math.max(t - c, this.az.db);
1787
+ }
1788
+ a.add(p);
1789
+ b.add(h);
1790
+ }
1791
+ }
1627
1792
  o() {
1628
1793
  return 0;
1629
1794
  }
@@ -1647,11 +1812,11 @@ export let CategoryAngleAxisView = /*@__PURE__*/ (() => {
1647
1812
  class CategoryAngleAxisView extends CategoryAxisBaseView {
1648
1813
  constructor(a) {
1649
1814
  super(a);
1650
- this.bj = null;
1651
- this.bj = a;
1815
+ this.bm = null;
1816
+ this.bm = a;
1652
1817
  }
1653
- aj() {
1654
- super.aj();
1818
+ al() {
1819
+ super.al();
1655
1820
  this.a.jw = AxisDefaults.h;
1656
1821
  this.a.jz = AxisDefaults.g;
1657
1822
  }
@@ -1666,11 +1831,11 @@ export let NumericAngleAxisView = /*@__PURE__*/ (() => {
1666
1831
  class NumericAngleAxisView extends NumericAxisBaseView {
1667
1832
  constructor(a) {
1668
1833
  super(a);
1669
- this.bj = null;
1670
- this.bj = a;
1834
+ this.bm = null;
1835
+ this.bm = a;
1671
1836
  }
1672
- aj() {
1673
- super.aj();
1837
+ al() {
1838
+ super.al();
1674
1839
  this.a.jw = AxisDefaults.h;
1675
1840
  this.a.jz = AxisDefaults.g;
1676
1841
  }
@@ -1685,11 +1850,11 @@ export let NumericRadiusAxisView = /*@__PURE__*/ (() => {
1685
1850
  class NumericRadiusAxisView extends NumericAxisBaseView {
1686
1851
  constructor(a) {
1687
1852
  super(a);
1688
- this.bj = null;
1689
- this.bj = a;
1853
+ this.bm = null;
1854
+ this.bm = a;
1690
1855
  }
1691
- aj() {
1692
- super.aj();
1856
+ al() {
1857
+ super.al();
1693
1858
  this.a.jw = AxisDefaults.h;
1694
1859
  this.a.jz = AxisDefaults.g;
1695
1860
  }