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.
- package/bundles/igniteui-webcomponents-charts.umd.js +1138 -832
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AngleAxisLabelPanel_combined.js +400 -235
- package/esm2015/lib/Arc_combined.js +1 -1
- package/esm2015/lib/AxisAngleLabelMode.js +28 -0
- package/esm2015/lib/AxisVisualDataManager.js +9 -9
- package/esm2015/lib/BubbleSeries_combined.js +1 -1
- package/esm2015/lib/CategoryDateTimeXAxis_combined.js +10 -10
- package/esm2015/lib/CategoryXAxis_combined.js +15 -15
- package/esm2015/lib/CategoryYAxis_combined.js +14 -14
- package/esm2015/lib/DataAbbreviator.js +1 -1
- package/esm2015/lib/DataLegendContent_combined.js +50 -47
- package/esm2015/lib/DomainChart_combined.js +1 -1
- package/esm2015/lib/FinancialEventArgs_combined.js +3 -3
- package/esm2015/lib/FinancialIndicator_combined.js +2 -2
- package/esm2015/lib/LegendBaseViewManager_combined.js +3 -3
- package/esm2015/lib/NumericXAxis_combined.js +4 -4
- package/esm2015/lib/NumericYAxis_combined.js +4 -4
- package/esm2015/lib/PieChartViewManager_combined.js +37 -37
- package/esm2015/lib/PointerTooltip_combined.js +1 -1
- package/esm2015/lib/PolarAxisRenderingManager.js +2 -2
- package/esm2015/lib/PolarBase_combined.js +2 -2
- package/esm2015/lib/PolarSplineSeries_combined.js +1 -1
- package/esm2015/lib/RadialBucketCalculator_combined.js +4 -4
- package/esm2015/lib/RangeCategoryBucketCalculator_combined.js +5 -5
- package/esm2015/lib/ScatterBase_combined.js +1 -1
- package/esm2015/lib/ScatterContourSeries_combined.js +1 -1
- package/esm2015/lib/ScatterSplineSeries.js +1 -1
- package/esm2015/lib/ScatterTriangulationSeries.js +5 -5
- package/esm2015/lib/SeriesViewer_combined.js +198 -190
- package/esm2015/lib/ShapeSeriesBase_combined.js +2 -2
- package/esm2015/lib/StraightNumericAxisBase_combined.js +6 -6
- package/esm2015/lib/TimeAxisBase.js +5 -5
- package/esm2015/lib/TimeXAxis.js +3 -3
- package/esm2015/lib/TreemapView_combined.js +8 -8
- package/esm2015/lib/XamFunnelView_combined.js +71 -65
- package/esm2015/lib/ZoomSliderView_combined.js +2 -2
- package/esm2015/lib/igc-axis-collection.js +6 -1
- package/esm2015/lib/igc-callout-annotation-collection.js +6 -1
- package/esm2015/lib/igc-category-angle-axis-component.js +28 -17
- package/esm2015/lib/igc-data-legend-component.js +4 -0
- package/esm2015/lib/igc-funnel-chart-component.js +51 -42
- package/esm2015/lib/igc-numeric-angle-axis-component.js +15 -4
- package/esm2015/lib/igc-pie-chart-base-component.js +9 -9
- package/esm2015/lib/igc-ring-series-collection.js +6 -1
- package/esm2015/lib/igc-series-collection.js +6 -1
- package/esm2015/lib/igc-series-layer-collection.js +6 -1
- package/esm2015/lib/igc-series-layer-property-overlay-collection.js +6 -1
- package/esm2015/lib/igc-stacked-series-collection.js +6 -1
- package/esm2015/lib/igc-time-axis-break-collection.js +6 -1
- package/esm2015/lib/igc-time-axis-interval-collection.js +6 -1
- package/esm2015/lib/igc-time-axis-label-format-collection.js +6 -1
- package/esm2015/lib/igc-treemap-node-style-mapping-collection.js +6 -1
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/AngleAxisLabelPanel_combined.js +393 -228
- package/esm5/lib/Arc_combined.js +1 -1
- package/esm5/lib/AxisAngleLabelMode.js +28 -0
- package/esm5/lib/AxisVisualDataManager.js +9 -9
- package/esm5/lib/BubbleSeries_combined.js +1 -1
- package/esm5/lib/CategoryDateTimeXAxis_combined.js +10 -10
- package/esm5/lib/CategoryXAxis_combined.js +15 -15
- package/esm5/lib/CategoryYAxis_combined.js +14 -14
- package/esm5/lib/DataAbbreviator.js +1 -1
- package/esm5/lib/DataLegendContent_combined.js +50 -47
- package/esm5/lib/DomainChart_combined.js +1 -1
- package/esm5/lib/FinancialEventArgs_combined.js +3 -3
- package/esm5/lib/FinancialIndicator_combined.js +2 -2
- package/esm5/lib/LegendBaseViewManager_combined.js +3 -3
- package/esm5/lib/NumericXAxis_combined.js +4 -4
- package/esm5/lib/NumericYAxis_combined.js +4 -4
- package/esm5/lib/PieChartViewManager_combined.js +37 -37
- package/esm5/lib/PointerTooltip_combined.js +1 -1
- package/esm5/lib/PolarAxisRenderingManager.js +2 -2
- package/esm5/lib/PolarBase_combined.js +2 -2
- package/esm5/lib/PolarSplineSeries_combined.js +1 -1
- package/esm5/lib/RadialBucketCalculator_combined.js +4 -4
- package/esm5/lib/RangeCategoryBucketCalculator_combined.js +5 -5
- package/esm5/lib/ScatterBase_combined.js +1 -1
- package/esm5/lib/ScatterContourSeries_combined.js +1 -1
- package/esm5/lib/ScatterSplineSeries.js +1 -1
- package/esm5/lib/ScatterTriangulationSeries.js +5 -5
- package/esm5/lib/SeriesViewer_combined.js +198 -190
- package/esm5/lib/ShapeSeriesBase_combined.js +2 -2
- package/esm5/lib/StraightNumericAxisBase_combined.js +6 -6
- package/esm5/lib/TimeAxisBase.js +5 -5
- package/esm5/lib/TimeXAxis.js +3 -3
- package/esm5/lib/TreemapView_combined.js +8 -8
- package/esm5/lib/XamFunnelView_combined.js +70 -64
- package/esm5/lib/ZoomSliderView_combined.js +2 -2
- package/esm5/lib/igc-axis-collection.js +6 -1
- package/esm5/lib/igc-callout-annotation-collection.js +6 -1
- package/esm5/lib/igc-category-angle-axis-component.js +32 -17
- package/esm5/lib/igc-data-legend-component.js +4 -0
- package/esm5/lib/igc-funnel-chart-component.js +51 -42
- package/esm5/lib/igc-numeric-angle-axis-component.js +19 -4
- package/esm5/lib/igc-pie-chart-base-component.js +9 -9
- package/esm5/lib/igc-ring-series-collection.js +6 -1
- package/esm5/lib/igc-series-collection.js +6 -1
- package/esm5/lib/igc-series-layer-collection.js +6 -1
- package/esm5/lib/igc-series-layer-property-overlay-collection.js +6 -1
- package/esm5/lib/igc-stacked-series-collection.js +6 -1
- package/esm5/lib/igc-time-axis-break-collection.js +6 -1
- package/esm5/lib/igc-time-axis-interval-collection.js +6 -1
- package/esm5/lib/igc-time-axis-label-format-collection.js +6 -1
- package/esm5/lib/igc-treemap-node-style-mapping-collection.js +6 -1
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-webcomponents-charts.js +1125 -829
- package/fesm5/igniteui-webcomponents-charts.js +1137 -833
- package/lib/AngleAxisLabelPanel_combined.d.ts +69 -58
- package/lib/AxisAngleLabelMode.d.ts +21 -0
- package/lib/CategoryDateTimeXAxis_combined.d.ts +3 -3
- package/lib/CategoryXAxis_combined.d.ts +2 -2
- package/lib/CategoryYAxis_combined.d.ts +2 -2
- package/lib/NumericXAxis_combined.d.ts +2 -2
- package/lib/NumericYAxis_combined.d.ts +2 -2
- package/lib/PieChartViewManager_combined.d.ts +2 -2
- package/lib/SeriesViewer_combined.d.ts +66 -63
- package/lib/StraightNumericAxisBase_combined.d.ts +2 -2
- package/lib/XamFunnelView_combined.d.ts +21 -19
- package/lib/igc-category-angle-axis-component.d.ts +6 -0
- package/lib/igc-data-legend-component.d.ts +1 -0
- package/lib/igc-funnel-chart-component.d.ts +8 -1
- package/lib/igc-numeric-angle-axis-component.d.ts +6 -0
- package/lib/igc-pie-chart-base-component.d.ts +7 -7
- package/package.json +2 -2
- package/public_api.d.ts +1 -0
|
@@ -6,12 +6,13 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { __extends, __values } from "tslib";
|
|
8
8
|
import { AxisLabelPanelBase } from "./AxisLabelPanelBase";
|
|
9
|
-
import { Boolean_$type, typeCast, markType, Point_$type, typeGetValue, fromEnum, runOn, Number_$type, markDep } from "igniteui-webcomponents-core";
|
|
9
|
+
import { Boolean_$type, typeCast, markType, Point_$type, typeGetValue, fromEnum, runOn, Number_$type, enumGetBox, markDep } from "igniteui-webcomponents-core";
|
|
10
10
|
import { AxisLabelPanelBaseView } from "./AxisLabelPanelBaseView";
|
|
11
11
|
import { Rect } from "igniteui-webcomponents-core";
|
|
12
12
|
import { Extensions } from "igniteui-webcomponents-core";
|
|
13
13
|
import { Axis } from "./Axis";
|
|
14
14
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
15
|
+
import { AxisAngleLabelMode_$type } from "./AxisAngleLabelMode";
|
|
15
16
|
import { LabelPosition } from "./LabelPosition";
|
|
16
17
|
import { XamDataChart } from "./XamDataChart";
|
|
17
18
|
import { CategoryAxisBase } from "./CategoryAxisBase";
|
|
@@ -21,6 +22,7 @@ import { DependencyProperty } from "igniteui-webcomponents-core";
|
|
|
21
22
|
import { PolarAxisRenderingManager } from "./PolarAxisRenderingManager";
|
|
22
23
|
import { AxisLabelManager } from "./AxisLabelManager";
|
|
23
24
|
import { ViewportUtils } from "./ViewportUtils";
|
|
25
|
+
import { GeometryUtil } from "igniteui-webcomponents-core";
|
|
24
26
|
import { RadialAxisRenderingParameters } from "./RadialAxisRenderingParameters";
|
|
25
27
|
import { CategoryTickmarkValues } from "./CategoryTickmarkValues";
|
|
26
28
|
import { SeriesViewer } from "./SeriesViewer";
|
|
@@ -52,11 +54,12 @@ var AngleAxisLabelPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
52
54
|
function AngleAxisLabelPanel() {
|
|
53
55
|
var _this = _super.call(this) || this;
|
|
54
56
|
_this.da = false;
|
|
55
|
-
_this.
|
|
57
|
+
_this.di = null;
|
|
58
|
+
_this.df = 0;
|
|
59
|
+
_this.dc = 0;
|
|
56
60
|
_this.de = 0;
|
|
57
|
-
_this.db = 0;
|
|
58
61
|
_this.dd = 0;
|
|
59
|
-
_this.
|
|
62
|
+
_this.db = 0;
|
|
60
63
|
return _this;
|
|
61
64
|
}
|
|
62
65
|
AngleAxisLabelPanel.prototype.ae = function () {
|
|
@@ -81,34 +84,105 @@ var AngleAxisLabelPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
81
84
|
if (this.bb.count != this.ba.count) {
|
|
82
85
|
return a;
|
|
83
86
|
}
|
|
84
|
-
|
|
85
|
-
|
|
87
|
+
var c = 1;
|
|
88
|
+
if (typeCast(CategoryAngleAxis.$, this.ad) !== null) {
|
|
89
|
+
c = this.ad.mh();
|
|
90
|
+
}
|
|
91
|
+
else if (typeCast(NumericAngleAxis.$, this.ad) !== null) {
|
|
92
|
+
c = this.ad.ni();
|
|
93
|
+
}
|
|
94
|
+
if (c == 2) {
|
|
95
|
+
this.c9.a0(a, b);
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
this.c9.a1(a, b);
|
|
99
|
+
}
|
|
100
|
+
var d = false;
|
|
86
101
|
this.ao = this.an(a, b);
|
|
87
102
|
if (!this.ad.b8()) {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
103
|
+
d = true;
|
|
104
|
+
switch (c) {
|
|
105
|
+
case 1:
|
|
106
|
+
this.dk();
|
|
107
|
+
break;
|
|
108
|
+
case 2:
|
|
109
|
+
this.dj();
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
91
112
|
}
|
|
92
113
|
else {
|
|
93
|
-
|
|
114
|
+
d = true;
|
|
94
115
|
this.c9.ac();
|
|
95
116
|
}
|
|
96
|
-
if (
|
|
97
|
-
for (var
|
|
98
|
-
var
|
|
99
|
-
var
|
|
100
|
-
var
|
|
101
|
-
var
|
|
102
|
-
var
|
|
103
|
-
var
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
a._inner[
|
|
117
|
+
if (d) {
|
|
118
|
+
for (var e = 0; e < a.count; e++) {
|
|
119
|
+
var f = this.bb._inner[e];
|
|
120
|
+
var g = this.ba._inner[e];
|
|
121
|
+
var h = a._inner[e];
|
|
122
|
+
var i = this.di(g.c, h.width, h.height);
|
|
123
|
+
var j = i.x - this.bk(f) / 2;
|
|
124
|
+
var k = i.y - this.bj(f) / 2;
|
|
125
|
+
h.x = j;
|
|
126
|
+
h.y = k;
|
|
127
|
+
a._inner[e] = h;
|
|
107
128
|
}
|
|
108
129
|
}
|
|
109
130
|
return a;
|
|
110
131
|
};
|
|
111
|
-
AngleAxisLabelPanel.prototype.
|
|
132
|
+
AngleAxisLabelPanel.prototype.dk = function () {
|
|
133
|
+
this.bh = this.df / 2;
|
|
134
|
+
this.bh = this.bh + this.dg();
|
|
135
|
+
};
|
|
136
|
+
AngleAxisLabelPanel.prototype.dj = function () {
|
|
137
|
+
this.bh = 5;
|
|
138
|
+
this.bh = this.bh + this.dh();
|
|
139
|
+
};
|
|
140
|
+
AngleAxisLabelPanel.prototype.dh = function () {
|
|
141
|
+
var a;
|
|
142
|
+
var b;
|
|
143
|
+
b = this.ad;
|
|
144
|
+
a = null;
|
|
145
|
+
if (b != null) {
|
|
146
|
+
a = typeCast(XamDataChart.$, b.bi);
|
|
147
|
+
}
|
|
148
|
+
if (a == null || b == null) {
|
|
149
|
+
return 0;
|
|
150
|
+
}
|
|
151
|
+
var c = new List$1(Axis.$, 0);
|
|
152
|
+
for (var d = 0; d < a.axes.count; d++) {
|
|
153
|
+
var e = a.axes._inner[d];
|
|
154
|
+
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)) {
|
|
155
|
+
c.add(e);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
var f = c.indexOf(b);
|
|
159
|
+
if (f == -1) {
|
|
160
|
+
return 0;
|
|
161
|
+
}
|
|
162
|
+
var g = 0;
|
|
163
|
+
if (f > 0) {
|
|
164
|
+
if (typeCast(CategoryAngleAxis.$, c._inner[f - 1]) !== null) {
|
|
165
|
+
var h = c._inner[f - 1];
|
|
166
|
+
if (h.mg == 2) {
|
|
167
|
+
g += h.aw.db;
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
g += c._inner[f - 1].aw.bh;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
else if (typeCast(NumericAngleAxis.$, c._inner[f - 1]) !== null) {
|
|
174
|
+
var i = c._inner[f - 1];
|
|
175
|
+
if (i.mg == 2) {
|
|
176
|
+
g += i.aw.db;
|
|
177
|
+
}
|
|
178
|
+
else {
|
|
179
|
+
g += c._inner[f - 1].aw.bh;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return g;
|
|
184
|
+
};
|
|
185
|
+
AngleAxisLabelPanel.prototype.dg = function () {
|
|
112
186
|
var a;
|
|
113
187
|
var b;
|
|
114
188
|
b = this.ad;
|
|
@@ -136,7 +210,24 @@ var AngleAxisLabelPanel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
136
210
|
g += h;
|
|
137
211
|
}
|
|
138
212
|
else {
|
|
139
|
-
|
|
213
|
+
if (typeCast(CategoryAngleAxis.$, c._inner[f - 1]) !== null) {
|
|
214
|
+
var i = c._inner[f - 1];
|
|
215
|
+
if (i.mg == 2) {
|
|
216
|
+
g += i.aw.db;
|
|
217
|
+
}
|
|
218
|
+
else {
|
|
219
|
+
g += c._inner[f - 1].aw.bh;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
else if (typeCast(NumericAngleAxis.$, c._inner[f - 1]) !== null) {
|
|
223
|
+
var j = c._inner[f - 1];
|
|
224
|
+
if (j.mg == 2) {
|
|
225
|
+
g += j.aw.db;
|
|
226
|
+
}
|
|
227
|
+
else {
|
|
228
|
+
g += c._inner[f - 1].aw.bh;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
140
231
|
g += c._inner[f].aw.bh * 2 + h;
|
|
141
232
|
}
|
|
142
233
|
return g;
|
|
@@ -158,18 +249,18 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
158
249
|
__extends(CategoryAngleAxis, _super);
|
|
159
250
|
function CategoryAngleAxis() {
|
|
160
251
|
var _this = _super.call(this) || this;
|
|
252
|
+
_this.mo = null;
|
|
253
|
+
_this.ml = null;
|
|
254
|
+
_this.mp = false;
|
|
255
|
+
_this.mt = NaN;
|
|
161
256
|
_this.mm = null;
|
|
162
|
-
_this.
|
|
163
|
-
_this.
|
|
164
|
-
_this.mr = NaN;
|
|
165
|
-
_this.mk = null;
|
|
257
|
+
_this.mu = 0;
|
|
258
|
+
_this.mr = 0;
|
|
166
259
|
_this.ms = 0;
|
|
167
|
-
_this.
|
|
168
|
-
_this.mq = 0;
|
|
169
|
-
_this.m3 = 1;
|
|
260
|
+
_this.m5 = 1;
|
|
170
261
|
_this.ab = CategoryAngleAxis.$;
|
|
171
|
-
_this.
|
|
172
|
-
_this.
|
|
262
|
+
_this.ml = _this.mk();
|
|
263
|
+
_this.mo = new PolarAxisRenderingManager();
|
|
173
264
|
return _this;
|
|
174
265
|
}
|
|
175
266
|
CategoryAngleAxis.prototype.a4 = function () {
|
|
@@ -177,7 +268,7 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
177
268
|
};
|
|
178
269
|
CategoryAngleAxis.prototype.hs = function (a) {
|
|
179
270
|
_super.prototype.hs.call(this, a);
|
|
180
|
-
this.
|
|
271
|
+
this.mj = a;
|
|
181
272
|
};
|
|
182
273
|
CategoryAngleAxis.prototype.get_b9 = function () {
|
|
183
274
|
return true;
|
|
@@ -185,17 +276,22 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
185
276
|
CategoryAngleAxis.prototype.av = function () {
|
|
186
277
|
var _this = this;
|
|
187
278
|
var a = new AngleAxisLabelPanel();
|
|
188
|
-
a.
|
|
189
|
-
var
|
|
190
|
-
var
|
|
191
|
-
|
|
279
|
+
a.di = function (b, c, d) {
|
|
280
|
+
var e = _this.bi != null ? _this.bi.tn : Rect.empty;
|
|
281
|
+
var f = !e.isEmpty ? _this.kd : Rect.empty;
|
|
282
|
+
switch (_this.mg) {
|
|
283
|
+
case 2: return _this.nk(b, c, d, { $type: Point_$type, x: 0.5, y: 0.5 }, e, f, _this.aw.bh);
|
|
284
|
+
case 0:
|
|
285
|
+
case 1:
|
|
286
|
+
default: return _this.nl(b, { $type: Point_$type, x: 0.5, y: 0.5 }, e, f, _this.aw.bh);
|
|
287
|
+
}
|
|
192
288
|
};
|
|
193
289
|
return a;
|
|
194
290
|
};
|
|
195
|
-
CategoryAngleAxis.prototype.
|
|
291
|
+
CategoryAngleAxis.prototype.m3 = function (a) {
|
|
196
292
|
return Math.round(a * Math.pow(10, 10)) / Math.pow(10, 10);
|
|
197
293
|
};
|
|
198
|
-
CategoryAngleAxis.prototype.
|
|
294
|
+
CategoryAngleAxis.prototype.mk = function () {
|
|
199
295
|
var _this = this;
|
|
200
296
|
var a = ((function () {
|
|
201
297
|
var $ret = new AxisLabelManager();
|
|
@@ -210,23 +306,23 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
210
306
|
}
|
|
211
307
|
var b = new CategoryAxisRenderer(a);
|
|
212
308
|
b.u = function () {
|
|
213
|
-
var c = _this.a5.
|
|
214
|
-
var d = _this.a5.
|
|
215
|
-
var e = _this.a5.
|
|
216
|
-
var f = _this.a5.
|
|
309
|
+
var c = _this.a5.a4();
|
|
310
|
+
var d = _this.a5.a7();
|
|
311
|
+
var e = _this.a5.a5();
|
|
312
|
+
var f = _this.a5.a6();
|
|
217
313
|
_this.il();
|
|
218
314
|
_this.hi(c);
|
|
219
315
|
_this.hi(d);
|
|
220
316
|
_this.hi(e);
|
|
221
317
|
_this.hi(f);
|
|
222
318
|
};
|
|
223
|
-
b.o = function (c, d) { return !d.isEmpty && !c.isEmpty && _this.
|
|
224
|
-
b.d = function (c, d, e, f) { return _this.
|
|
319
|
+
b.o = function (c, d) { return !d.isEmpty && !c.isEmpty && _this.mn != null; };
|
|
320
|
+
b.d = function (c, d, e, f) { return _this.mi(c, d, e, f); };
|
|
225
321
|
b.v = function () {
|
|
226
|
-
if (!_this.
|
|
227
|
-
_this.
|
|
228
|
-
_this.
|
|
229
|
-
_this.
|
|
322
|
+
if (!_this.mp) {
|
|
323
|
+
_this.mp = true;
|
|
324
|
+
_this.mn.c1();
|
|
325
|
+
_this.mp = false;
|
|
230
326
|
}
|
|
231
327
|
};
|
|
232
328
|
b.g = function (c, d) {
|
|
@@ -239,19 +335,19 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
239
335
|
};
|
|
240
336
|
b.b.c = function (c) {
|
|
241
337
|
var e_1, _a;
|
|
242
|
-
if ((_this.az == null || _this.az.visibility == 0) && _this.
|
|
338
|
+
if ((_this.az == null || _this.az.visibility == 0) && _this.mn != null && _this.mt != c) {
|
|
243
339
|
var d = typeCast(XamDataChart.$, _this.bi);
|
|
244
340
|
if (d == null) {
|
|
245
341
|
return;
|
|
246
342
|
}
|
|
247
|
-
_this.
|
|
343
|
+
_this.mt = c;
|
|
248
344
|
_this.aw.bg = c;
|
|
249
345
|
d.mg();
|
|
250
346
|
try {
|
|
251
347
|
for (var _b = __values(fromEnum(d.axes)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
252
348
|
var e = _c.value;
|
|
253
349
|
if (e != _this && typeCast(AngleAxisLabelPanel.$, e.aw) !== null) {
|
|
254
|
-
e.a5.
|
|
350
|
+
e.a5.ai();
|
|
255
351
|
}
|
|
256
352
|
}
|
|
257
353
|
}
|
|
@@ -272,18 +368,18 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
272
368
|
};
|
|
273
369
|
b.k = function (c, d, e) {
|
|
274
370
|
var f = typeCast(RadialAxisRenderingParameters.$, c);
|
|
275
|
-
_this.
|
|
371
|
+
_this.mo.m(d, e, c.z, c.aa, f.minLength, f.maxLength, f.center);
|
|
276
372
|
};
|
|
277
373
|
b.l = function (c, d, e, f) {
|
|
278
374
|
var g = typeCast(RadialAxisRenderingParameters.$, c);
|
|
279
|
-
_this.
|
|
375
|
+
_this.mo.n(d, e, f, g.z, c.aa, g.minLength, g.maxLength, g.center);
|
|
280
376
|
};
|
|
281
377
|
b.m = function (c, d) { return _this.getScaledAngle(d); };
|
|
282
378
|
b.q = function (c, d) {
|
|
283
|
-
if (_this.
|
|
379
|
+
if (_this.m3(d - _this.mu) < 0) {
|
|
284
380
|
return false;
|
|
285
381
|
}
|
|
286
|
-
if (_this.
|
|
382
|
+
if (_this.m3(d - _this.mu - (2 * Math.PI)) > 0) {
|
|
287
383
|
return false;
|
|
288
384
|
}
|
|
289
385
|
return true;
|
|
@@ -291,11 +387,11 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
291
387
|
b.j = function (c) {
|
|
292
388
|
var d = typeCast(RadialAxisRenderingParameters.$, c);
|
|
293
389
|
if (d.e == d.k._inner[0]) {
|
|
294
|
-
_this.
|
|
390
|
+
_this.mo.i(c.t, c.n, c.z, c.aa, d.center, d.minAngle, d.maxAngle);
|
|
295
391
|
}
|
|
296
392
|
};
|
|
297
393
|
b.e = function (c) {
|
|
298
|
-
c.n = _this.
|
|
394
|
+
c.n = _this.mx();
|
|
299
395
|
c.r = c.n;
|
|
300
396
|
};
|
|
301
397
|
b.p = function (c, d, e) {
|
|
@@ -303,7 +399,7 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
303
399
|
if (e) {
|
|
304
400
|
return false;
|
|
305
401
|
}
|
|
306
|
-
var g = _this.
|
|
402
|
+
var g = _this.nl(d, f.center, c.aa, c.z, 0);
|
|
307
403
|
if (g.x < c.z.right && g.x >= c.z.left && g.y < c.z.bottom && g.y >= c.z.top) {
|
|
308
404
|
return true;
|
|
309
405
|
}
|
|
@@ -322,11 +418,11 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
322
418
|
return i;
|
|
323
419
|
};
|
|
324
420
|
b.f = runOn(this, this.getGroupCenter);
|
|
325
|
-
b.i = runOn(this, this.
|
|
421
|
+
b.i = runOn(this, this.m0);
|
|
326
422
|
return b;
|
|
327
423
|
};
|
|
328
|
-
CategoryAngleAxis.prototype.
|
|
329
|
-
var f = this.
|
|
424
|
+
CategoryAngleAxis.prototype.nl = function (a, b, c, d, e) {
|
|
425
|
+
var f = this.mx();
|
|
330
426
|
var g = ViewportUtils.b(e, c, d);
|
|
331
427
|
if (this.az != null && (this.az.c == 5 || this.az.c == 1)) {
|
|
332
428
|
g *= -1;
|
|
@@ -337,27 +433,44 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
337
433
|
i = ViewportUtils.f(i, c, d);
|
|
338
434
|
return { $type: Point_$type, x: h, y: i };
|
|
339
435
|
};
|
|
340
|
-
CategoryAngleAxis.prototype.
|
|
341
|
-
if (
|
|
436
|
+
CategoryAngleAxis.prototype.nk = function (a, b, c, d, e, f, g) {
|
|
437
|
+
if (!isNaN_(b) && !isNaN_(c)) {
|
|
438
|
+
var h = this.mx();
|
|
439
|
+
var i = b / f.width;
|
|
440
|
+
var j = c / f.width;
|
|
441
|
+
var k = ViewportUtils.b(g, e, f);
|
|
442
|
+
var l = GeometryUtil.h(h, a, i, j);
|
|
443
|
+
var m = d.x + (l + k) * Math.cos(a);
|
|
444
|
+
var n = d.y + (l + k) * Math.sin(a);
|
|
445
|
+
m = ViewportUtils.c(m, e, f);
|
|
446
|
+
n = ViewportUtils.f(n, e, f);
|
|
447
|
+
return { $type: Point_$type, x: m, y: n };
|
|
448
|
+
}
|
|
449
|
+
else {
|
|
450
|
+
return this.nl(a, d, e, f, g);
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
CategoryAngleAxis.prototype.mx = function () {
|
|
454
|
+
if (this.mn == null) {
|
|
342
455
|
return 0;
|
|
343
456
|
}
|
|
344
457
|
if (!this.b5()) {
|
|
345
|
-
return this.
|
|
458
|
+
return this.mn.nt();
|
|
346
459
|
}
|
|
347
460
|
else {
|
|
348
|
-
return this.
|
|
461
|
+
return this.mn.nu((this.fv));
|
|
349
462
|
}
|
|
350
463
|
};
|
|
351
|
-
CategoryAngleAxis.prototype.
|
|
464
|
+
CategoryAngleAxis.prototype.mi = function (a, b, c, d) {
|
|
352
465
|
if (this.kr == null) {
|
|
353
466
|
return null;
|
|
354
467
|
}
|
|
355
468
|
var e = new RadialAxisRenderingParameters();
|
|
356
469
|
var f = this.kr.count - 1;
|
|
357
|
-
var g = this.a5.
|
|
358
|
-
var h = this.a5.
|
|
359
|
-
var i = this.a5.
|
|
360
|
-
var j = this.a5.
|
|
470
|
+
var g = this.a5.a4();
|
|
471
|
+
var h = this.a5.a7();
|
|
472
|
+
var i = this.a5.a5();
|
|
473
|
+
var j = this.a5.a6();
|
|
361
474
|
e.t = g;
|
|
362
475
|
e.w = h;
|
|
363
476
|
e.u = i;
|
|
@@ -369,18 +482,18 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
369
482
|
e.y = c;
|
|
370
483
|
e.x = d;
|
|
371
484
|
e.aa = b;
|
|
372
|
-
e.g = this.
|
|
373
|
-
e.p = this.
|
|
485
|
+
e.g = this.mq();
|
|
486
|
+
e.p = this.m1;
|
|
374
487
|
e.o = this.ey();
|
|
375
|
-
e.q = this.
|
|
488
|
+
e.q = this.m2;
|
|
376
489
|
e.s = this.f0;
|
|
377
|
-
var k = this.
|
|
378
|
-
var l = this.
|
|
379
|
-
var m = 0.5 * this.
|
|
380
|
-
var n = 0.5 * this.
|
|
490
|
+
var k = this.mo.f(b);
|
|
491
|
+
var l = this.mo.g(b);
|
|
492
|
+
var m = 0.5 * this.mn.no;
|
|
493
|
+
var n = 0.5 * this.mn.nn;
|
|
381
494
|
var o = k;
|
|
382
495
|
var p = l;
|
|
383
|
-
var q = this.
|
|
496
|
+
var q = this.mn.nt();
|
|
384
497
|
if (isNaN_(q) || isInfinity(q)) {
|
|
385
498
|
return null;
|
|
386
499
|
}
|
|
@@ -391,7 +504,7 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
391
504
|
o = n;
|
|
392
505
|
}
|
|
393
506
|
var r = a.width;
|
|
394
|
-
this.
|
|
507
|
+
this.mo.k(b, e, 0, this.kr.count, this.ch, runOn(this, this.getUnscaledAngle), r);
|
|
395
508
|
var s = { $type: Point_$type, x: 0.5, y: 0.5 };
|
|
396
509
|
e.center = s;
|
|
397
510
|
e.maxLength = p;
|
|
@@ -407,7 +520,7 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
407
520
|
return e;
|
|
408
521
|
};
|
|
409
522
|
CategoryAngleAxis.prototype.getMinMaxAngle = function (a, b, c) {
|
|
410
|
-
var d = this.
|
|
523
|
+
var d = this.mo.l(a, b, c);
|
|
411
524
|
b = d.p1;
|
|
412
525
|
c = d.p2;
|
|
413
526
|
return {
|
|
@@ -419,10 +532,10 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
419
532
|
_super.prototype.ac.call(this);
|
|
420
533
|
this.h8(false);
|
|
421
534
|
};
|
|
422
|
-
Object.defineProperty(CategoryAngleAxis.prototype, "
|
|
535
|
+
Object.defineProperty(CategoryAngleAxis.prototype, "mn", {
|
|
423
536
|
get: function () {
|
|
424
|
-
if (this.
|
|
425
|
-
return this.
|
|
537
|
+
if (this.mm != null) {
|
|
538
|
+
return this.mm;
|
|
426
539
|
}
|
|
427
540
|
var a = typeCast(XamDataChart.$, this.bi);
|
|
428
541
|
if (a != null) {
|
|
@@ -432,16 +545,24 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
432
545
|
}
|
|
433
546
|
}
|
|
434
547
|
}
|
|
435
|
-
return this.
|
|
548
|
+
return this.mm;
|
|
436
549
|
},
|
|
437
550
|
set: function (a) {
|
|
438
|
-
this.
|
|
551
|
+
this.mm = a;
|
|
439
552
|
},
|
|
440
553
|
enumerable: false,
|
|
441
554
|
configurable: true
|
|
442
555
|
});
|
|
443
556
|
CategoryAngleAxis.prototype.ak = function () {
|
|
444
|
-
return this.
|
|
557
|
+
return this.mn;
|
|
558
|
+
};
|
|
559
|
+
CategoryAngleAxis.prototype.mh = function () {
|
|
560
|
+
if (this.mg == 0) {
|
|
561
|
+
return 1;
|
|
562
|
+
}
|
|
563
|
+
else {
|
|
564
|
+
return this.mg;
|
|
565
|
+
}
|
|
445
566
|
};
|
|
446
567
|
CategoryAngleAxis.prototype.getCategorySize = function (a, b, c) {
|
|
447
568
|
return 2 * Math.PI / this.lf;
|
|
@@ -470,7 +591,7 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
470
591
|
}
|
|
471
592
|
return this.getCategorySize(b, c, d) * e;
|
|
472
593
|
};
|
|
473
|
-
CategoryAngleAxis.prototype.
|
|
594
|
+
CategoryAngleAxis.prototype.m0 = function (a) {
|
|
474
595
|
var b = 0.5;
|
|
475
596
|
if (this.lh > 1) {
|
|
476
597
|
var c = this.lb(Rect.empty, Rect.empty, Rect.empty);
|
|
@@ -491,16 +612,16 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
491
612
|
var c = !b.isEmpty ? this.kd : Rect.empty;
|
|
492
613
|
var d = this.j8();
|
|
493
614
|
var e = this.j7();
|
|
494
|
-
var f = this.
|
|
615
|
+
var f = this.ml.c(a, c, b, d, e);
|
|
495
616
|
if (f != null) {
|
|
496
|
-
this.
|
|
497
|
-
this.
|
|
617
|
+
this.mv = f.f.m;
|
|
618
|
+
this.mw = f.f.l;
|
|
498
619
|
}
|
|
499
620
|
};
|
|
500
|
-
CategoryAngleAxis.prototype.
|
|
621
|
+
CategoryAngleAxis.prototype.mz = function (a, b) {
|
|
501
622
|
var c;
|
|
502
623
|
var d;
|
|
503
|
-
var e = this.
|
|
624
|
+
var e = this.mo.l(b, c, d);
|
|
504
625
|
c = e.p1;
|
|
505
626
|
d = e.p2;
|
|
506
627
|
if (c == 0) {
|
|
@@ -517,10 +638,10 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
517
638
|
}
|
|
518
639
|
return f;
|
|
519
640
|
};
|
|
520
|
-
CategoryAngleAxis.prototype.
|
|
641
|
+
CategoryAngleAxis.prototype.my = function (a, b) {
|
|
521
642
|
var c;
|
|
522
643
|
var d;
|
|
523
|
-
var e = this.
|
|
644
|
+
var e = this.mo.l(b, c, d);
|
|
524
645
|
c = e.p1;
|
|
525
646
|
d = e.p2;
|
|
526
647
|
if (d > Math.PI * 2) {
|
|
@@ -546,13 +667,13 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
546
667
|
if (this.ci) {
|
|
547
668
|
c = 1 - c;
|
|
548
669
|
}
|
|
549
|
-
return (c * 2 * Math.PI) + this.
|
|
670
|
+
return (c * 2 * Math.PI) + this.mu;
|
|
550
671
|
};
|
|
551
672
|
CategoryAngleAxis.prototype.getUnscaledAngle = function (a) {
|
|
552
|
-
if (a < this.
|
|
673
|
+
if (a < this.mu) {
|
|
553
674
|
a += 2 * Math.PI;
|
|
554
675
|
}
|
|
555
|
-
var b = (a - this.
|
|
676
|
+
var b = (a - this.mu) / (2 * Math.PI);
|
|
556
677
|
if (this.ch) {
|
|
557
678
|
b = 1 - b;
|
|
558
679
|
}
|
|
@@ -571,22 +692,22 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
571
692
|
switch (b) {
|
|
572
693
|
case "CrossingAxis":
|
|
573
694
|
var f = typeCast(NumericRadiusAxis.$, d);
|
|
574
|
-
this.
|
|
695
|
+
this.nf(f);
|
|
575
696
|
if (f != null) {
|
|
576
697
|
f.n3(this);
|
|
577
698
|
}
|
|
578
699
|
this.cq = true;
|
|
579
700
|
this.h8(false);
|
|
580
701
|
break;
|
|
581
|
-
case CategoryAngleAxis.$$p[
|
|
582
|
-
this.
|
|
583
|
-
while (this.
|
|
584
|
-
this.
|
|
702
|
+
case CategoryAngleAxis.$$p[1]:
|
|
703
|
+
this.mu = this.m4;
|
|
704
|
+
while (this.mu < 0) {
|
|
705
|
+
this.mu += 360;
|
|
585
706
|
}
|
|
586
|
-
while (this.
|
|
587
|
-
this.
|
|
707
|
+
while (this.mu >= 360) {
|
|
708
|
+
this.mu -= 360;
|
|
588
709
|
}
|
|
589
|
-
this.
|
|
710
|
+
this.mu = (this.mu * Math.PI) / 180;
|
|
590
711
|
this.cq = true;
|
|
591
712
|
this.h8(false);
|
|
592
713
|
try {
|
|
@@ -661,72 +782,72 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
661
782
|
}
|
|
662
783
|
break;
|
|
663
784
|
case "LabelSettings":
|
|
664
|
-
this.
|
|
665
|
-
this.
|
|
785
|
+
this.ml = this.mk();
|
|
786
|
+
this.nd();
|
|
666
787
|
this.cq = true;
|
|
667
788
|
this.h8(false);
|
|
668
789
|
break;
|
|
669
790
|
}
|
|
670
791
|
};
|
|
671
|
-
CategoryAngleAxis.prototype.
|
|
672
|
-
this.
|
|
792
|
+
CategoryAngleAxis.prototype.nd = function () {
|
|
793
|
+
this.mt = NaN;
|
|
673
794
|
};
|
|
674
|
-
CategoryAngleAxis.prototype.
|
|
675
|
-
this.
|
|
795
|
+
CategoryAngleAxis.prototype.nf = function (a) {
|
|
796
|
+
this.mn = a;
|
|
676
797
|
};
|
|
677
|
-
Object.defineProperty(CategoryAngleAxis.prototype, "
|
|
798
|
+
Object.defineProperty(CategoryAngleAxis.prototype, "m1", {
|
|
678
799
|
get: function () {
|
|
679
|
-
return this.c(CategoryAngleAxis.
|
|
800
|
+
return this.c(CategoryAngleAxis.ng);
|
|
680
801
|
},
|
|
681
802
|
set: function (a) {
|
|
682
|
-
this.h(CategoryAngleAxis.
|
|
803
|
+
this.h(CategoryAngleAxis.ng, a);
|
|
683
804
|
},
|
|
684
805
|
enumerable: false,
|
|
685
806
|
configurable: true
|
|
686
807
|
});
|
|
687
|
-
Object.defineProperty(CategoryAngleAxis.prototype, "
|
|
808
|
+
Object.defineProperty(CategoryAngleAxis.prototype, "mv", {
|
|
688
809
|
get: function () {
|
|
689
|
-
return this.
|
|
810
|
+
return this.mr;
|
|
690
811
|
},
|
|
691
812
|
set: function (a) {
|
|
692
|
-
if (this.
|
|
693
|
-
var b = this.
|
|
694
|
-
this.
|
|
695
|
-
this.h2("ActualInterval", b, this.
|
|
813
|
+
if (this.mv != a) {
|
|
814
|
+
var b = this.mr;
|
|
815
|
+
this.mr = a;
|
|
816
|
+
this.h2("ActualInterval", b, this.mv);
|
|
696
817
|
}
|
|
697
818
|
},
|
|
698
819
|
enumerable: false,
|
|
699
820
|
configurable: true
|
|
700
821
|
});
|
|
701
822
|
CategoryAngleAxis.prototype.ev = function () {
|
|
702
|
-
return this.
|
|
823
|
+
return this.mv;
|
|
703
824
|
};
|
|
704
|
-
Object.defineProperty(CategoryAngleAxis.prototype, "
|
|
825
|
+
Object.defineProperty(CategoryAngleAxis.prototype, "m2", {
|
|
705
826
|
get: function () {
|
|
706
|
-
return this.c(CategoryAngleAxis.
|
|
827
|
+
return this.c(CategoryAngleAxis.ni);
|
|
707
828
|
},
|
|
708
829
|
set: function (a) {
|
|
709
|
-
this.h(CategoryAngleAxis.
|
|
830
|
+
this.h(CategoryAngleAxis.ni, a);
|
|
710
831
|
},
|
|
711
832
|
enumerable: false,
|
|
712
833
|
configurable: true
|
|
713
834
|
});
|
|
714
|
-
Object.defineProperty(CategoryAngleAxis.prototype, "
|
|
835
|
+
Object.defineProperty(CategoryAngleAxis.prototype, "mw", {
|
|
715
836
|
get: function () {
|
|
716
|
-
return this.
|
|
837
|
+
return this.ms;
|
|
717
838
|
},
|
|
718
839
|
set: function (a) {
|
|
719
|
-
if (this.
|
|
720
|
-
var b = this.
|
|
721
|
-
this.
|
|
722
|
-
this.h2("ActualMinorInterval", b, this.
|
|
840
|
+
if (this.mw != a) {
|
|
841
|
+
var b = this.ms;
|
|
842
|
+
this.ms = a;
|
|
843
|
+
this.h2("ActualMinorInterval", b, this.mw);
|
|
723
844
|
}
|
|
724
845
|
},
|
|
725
846
|
enumerable: false,
|
|
726
847
|
configurable: true
|
|
727
848
|
});
|
|
728
|
-
CategoryAngleAxis.prototype.
|
|
729
|
-
return !isNaN_(this.
|
|
849
|
+
CategoryAngleAxis.prototype.mq = function () {
|
|
850
|
+
return !isNaN_(this.m1);
|
|
730
851
|
};
|
|
731
852
|
CategoryAngleAxis.prototype.get_a2 = function () {
|
|
732
853
|
return 2;
|
|
@@ -746,20 +867,20 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
746
867
|
return false;
|
|
747
868
|
}
|
|
748
869
|
var a = this.kr.count;
|
|
749
|
-
if (a != this.
|
|
750
|
-
var b = new AxisRangeChangedEventArgs(0, 1, 1, this.
|
|
751
|
-
this.
|
|
870
|
+
if (a != this.m6) {
|
|
871
|
+
var b = new AxisRangeChangedEventArgs(0, 1, 1, this.m6, a);
|
|
872
|
+
this.m6 = a;
|
|
752
873
|
this.h3(b);
|
|
753
874
|
return true;
|
|
754
875
|
}
|
|
755
876
|
return false;
|
|
756
877
|
};
|
|
757
|
-
Object.defineProperty(CategoryAngleAxis.prototype, "
|
|
878
|
+
Object.defineProperty(CategoryAngleAxis.prototype, "m6", {
|
|
758
879
|
get: function () {
|
|
759
|
-
return this.
|
|
880
|
+
return this.m5;
|
|
760
881
|
},
|
|
761
882
|
set: function (a) {
|
|
762
|
-
this.
|
|
883
|
+
this.m5 = a;
|
|
763
884
|
},
|
|
764
885
|
enumerable: false,
|
|
765
886
|
configurable: true
|
|
@@ -771,7 +892,7 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
771
892
|
if (e === void 0) {
|
|
772
893
|
e = null;
|
|
773
894
|
}
|
|
774
|
-
var f = typeCast(RadialAxisRenderingParameters.$, this.
|
|
895
|
+
var f = typeCast(RadialAxisRenderingParameters.$, this.ml.d(c, b, d, e));
|
|
775
896
|
if (f == null) {
|
|
776
897
|
return null;
|
|
777
898
|
}
|
|
@@ -823,15 +944,15 @@ var CategoryAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
823
944
|
return this.ag.apply(this, arguments);
|
|
824
945
|
};
|
|
825
946
|
CategoryAngleAxis.$t = markType(CategoryAngleAxis, 'CategoryAngleAxis', CategoryAxisBase.$, [IAngleScaler_$type]);
|
|
826
|
-
CategoryAngleAxis.
|
|
947
|
+
CategoryAngleAxis.ng = DependencyProperty.i("Interval", Number_$type, CategoryAngleAxis.$, new PropertyMetadata(2, NaN, function (a, b) {
|
|
827
948
|
a.h2("Interval", b.oldValue, b.newValue);
|
|
828
949
|
a.h8(false);
|
|
829
950
|
}));
|
|
830
|
-
CategoryAngleAxis.
|
|
951
|
+
CategoryAngleAxis.ni = DependencyProperty.i("MinorInterval", Number_$type, CategoryAngleAxis.$, new PropertyMetadata(2, NaN, function (a, b) {
|
|
831
952
|
(typeCast(CategoryAngleAxis.$, a)).h2("MinorInterval", b.oldValue, b.newValue);
|
|
832
953
|
(typeCast(CategoryAngleAxis.$, a)).h8(false);
|
|
833
954
|
}));
|
|
834
|
-
CategoryAngleAxis.$$p = markDep(DependencyProperty, PropertyMetadata, CategoryAngleAxis, 'h2', ['StartAngleOffset:
|
|
955
|
+
CategoryAngleAxis.$$p = markDep(DependencyProperty, PropertyMetadata, CategoryAngleAxis, 'h2', ['LabelMode:mg:nh', [AxisAngleLabelMode_$type, enumGetBox(AxisAngleLabelMode_$type, 0)], 'StartAngleOffset:m4:nj', [1, 0]]);
|
|
835
956
|
return CategoryAngleAxis;
|
|
836
957
|
}(CategoryAxisBase));
|
|
837
958
|
export { CategoryAngleAxis };
|
|
@@ -842,13 +963,13 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
842
963
|
__extends(NumericAngleAxis, _super);
|
|
843
964
|
function NumericAngleAxis() {
|
|
844
965
|
var _this = _super.call(this) || this;
|
|
966
|
+
_this.nm = null;
|
|
967
|
+
_this.nn = false;
|
|
968
|
+
_this.no = NaN;
|
|
969
|
+
_this.np = 0;
|
|
845
970
|
_this.nk = null;
|
|
846
|
-
_this.nl = false;
|
|
847
|
-
_this.nm = NaN;
|
|
848
|
-
_this.nn = 0;
|
|
849
|
-
_this.ni = null;
|
|
850
971
|
_this.ab = NumericAngleAxis.$;
|
|
851
|
-
_this.
|
|
972
|
+
_this.nm = new PolarAxisRenderingManager();
|
|
852
973
|
_this.k0 = _this.ky();
|
|
853
974
|
return _this;
|
|
854
975
|
}
|
|
@@ -857,7 +978,7 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
857
978
|
};
|
|
858
979
|
NumericAngleAxis.prototype.hs = function (a) {
|
|
859
980
|
_super.prototype.hs.call(this, a);
|
|
860
|
-
this.
|
|
981
|
+
this.nj = a;
|
|
861
982
|
};
|
|
862
983
|
NumericAngleAxis.prototype.get_b9 = function () {
|
|
863
984
|
return true;
|
|
@@ -865,25 +986,25 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
865
986
|
NumericAngleAxis.prototype.av = function () {
|
|
866
987
|
var _this = this;
|
|
867
988
|
var a = new AngleAxisLabelPanel();
|
|
868
|
-
a.
|
|
869
|
-
var
|
|
870
|
-
var
|
|
871
|
-
return _this.
|
|
989
|
+
a.di = function (b, c, d) {
|
|
990
|
+
var e = _this.bi != null ? _this.bi.tn : Rect.empty;
|
|
991
|
+
var f = !e.isEmpty ? _this.kd : Rect.empty;
|
|
992
|
+
return _this.n1(b, { $type: Point_$type, x: 0.5, y: 0.5 }, e, f, _this.aw.bh);
|
|
872
993
|
};
|
|
873
994
|
return a;
|
|
874
995
|
};
|
|
875
|
-
NumericAngleAxis.prototype.
|
|
876
|
-
if (this.
|
|
996
|
+
NumericAngleAxis.prototype.nq = function () {
|
|
997
|
+
if (this.nl == null) {
|
|
877
998
|
return 0;
|
|
878
999
|
}
|
|
879
1000
|
if (!this.b5()) {
|
|
880
|
-
return this.
|
|
1001
|
+
return this.nl.nt();
|
|
881
1002
|
}
|
|
882
1003
|
else {
|
|
883
|
-
return this.
|
|
1004
|
+
return this.nl.nu((this.fv));
|
|
884
1005
|
}
|
|
885
1006
|
};
|
|
886
|
-
NumericAngleAxis.prototype.
|
|
1007
|
+
NumericAngleAxis.prototype.ns = function (a) {
|
|
887
1008
|
return Math.round(a * Math.pow(10, 10)) / Math.pow(10, 10);
|
|
888
1009
|
};
|
|
889
1010
|
NumericAngleAxis.prototype.ky = function () {
|
|
@@ -891,19 +1012,19 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
891
1012
|
var a = _super.prototype.ky.call(this);
|
|
892
1013
|
a.b.c = function (b) {
|
|
893
1014
|
var e_5, _a;
|
|
894
|
-
if ((_this.az == null || _this.az.visibility == 0) && _this.
|
|
1015
|
+
if ((_this.az == null || _this.az.visibility == 0) && _this.nl != null && _this.no != b) {
|
|
895
1016
|
var c = typeCast(XamDataChart.$, _this.bi);
|
|
896
1017
|
if (c == null) {
|
|
897
1018
|
return;
|
|
898
1019
|
}
|
|
899
|
-
_this.
|
|
1020
|
+
_this.no = b;
|
|
900
1021
|
_this.aw.bg = b;
|
|
901
1022
|
c.mg();
|
|
902
1023
|
try {
|
|
903
1024
|
for (var _b = __values(fromEnum(c.axes)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
904
1025
|
var d = _c.value;
|
|
905
1026
|
if (d != _this && typeCast(AngleAxisLabelPanel.$, d.aw) !== null) {
|
|
906
|
-
d.a5.
|
|
1027
|
+
d.a5.ai();
|
|
907
1028
|
}
|
|
908
1029
|
}
|
|
909
1030
|
}
|
|
@@ -923,49 +1044,49 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
923
1044
|
}
|
|
924
1045
|
};
|
|
925
1046
|
a.e = function (b) {
|
|
926
|
-
b.n = _this.
|
|
1047
|
+
b.n = _this.nq();
|
|
927
1048
|
b.r = b.n;
|
|
928
1049
|
};
|
|
929
1050
|
a.j = function (b) {
|
|
930
1051
|
var c = typeCast(PolarAxisRenderingParameters.$, b);
|
|
931
1052
|
if (c.e == c.k._inner[0]) {
|
|
932
|
-
_this.
|
|
1053
|
+
_this.nm.i(b.t, b.n, b.z, b.aa, c.center, c.minAngle, c.maxAngle);
|
|
933
1054
|
}
|
|
934
1055
|
};
|
|
935
1056
|
a.k = function (b, c, d) {
|
|
936
1057
|
var e = typeCast(PolarAxisRenderingParameters.$, b);
|
|
937
|
-
_this.
|
|
1058
|
+
_this.nm.m(c, d, b.z, b.aa, e.minLength, e.maxLength, e.center);
|
|
938
1059
|
};
|
|
939
1060
|
a.l = function (b, c, d, e) {
|
|
940
1061
|
var f = typeCast(PolarAxisRenderingParameters.$, b);
|
|
941
|
-
_this.
|
|
1062
|
+
_this.nm.n(c, d, e, f.z, b.aa, f.minLength, f.maxLength, f.center);
|
|
942
1063
|
};
|
|
943
1064
|
a.d = function (b, c, d, e) {
|
|
944
1065
|
var f = typeCast(PolarAxisRenderingParameters.$, _this.k1(b, c, d, e));
|
|
945
1066
|
return f;
|
|
946
1067
|
};
|
|
947
1068
|
a.v = function () {
|
|
948
|
-
if (!_this.
|
|
949
|
-
_this.
|
|
950
|
-
_this.
|
|
951
|
-
_this.
|
|
1069
|
+
if (!_this.nn) {
|
|
1070
|
+
_this.nn = true;
|
|
1071
|
+
_this.nl.c1();
|
|
1072
|
+
_this.nn = false;
|
|
952
1073
|
}
|
|
953
1074
|
};
|
|
954
1075
|
a.m = function (b, c) { return _this.getScaledAngle(c); };
|
|
955
|
-
a.o = function (b, c) { return !c.isEmpty && !b.isEmpty && _this.
|
|
1076
|
+
a.o = function (b, c) { return !c.isEmpty && !b.isEmpty && _this.nl != null; };
|
|
956
1077
|
a.q = function (b, c) {
|
|
957
|
-
if (_this.
|
|
1078
|
+
if (_this.ns(c - _this.np) < 0) {
|
|
958
1079
|
return false;
|
|
959
1080
|
}
|
|
960
|
-
if (_this.
|
|
1081
|
+
if (_this.ns(c - _this.np - (2 * Math.PI)) > 0) {
|
|
961
1082
|
return false;
|
|
962
1083
|
}
|
|
963
1084
|
return true;
|
|
964
1085
|
};
|
|
965
1086
|
a.p = function (b, c, d) {
|
|
966
1087
|
var e = typeCast(PolarAxisRenderingParameters.$, b);
|
|
967
|
-
var f = _this.
|
|
968
|
-
var g = _this.
|
|
1088
|
+
var f = _this.n1(_this.getScaledAngle(e.l), e.center, b.aa, b.z, 0);
|
|
1089
|
+
var g = _this.n1(c, e.center, b.aa, b.z, 0);
|
|
969
1090
|
if (d && MathUtil.g(f.x - g.x, f.y - g.y) < 2) {
|
|
970
1091
|
return false;
|
|
971
1092
|
}
|
|
@@ -985,8 +1106,8 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
985
1106
|
};
|
|
986
1107
|
return a;
|
|
987
1108
|
};
|
|
988
|
-
NumericAngleAxis.prototype.
|
|
989
|
-
var f = this.
|
|
1109
|
+
NumericAngleAxis.prototype.n1 = function (a, b, c, d, e) {
|
|
1110
|
+
var f = this.nq();
|
|
990
1111
|
var g = ViewportUtils.b(e, c, d);
|
|
991
1112
|
if (this.az != null && (this.az.c == 5 || this.az.c == 1)) {
|
|
992
1113
|
g *= -1;
|
|
@@ -1011,7 +1132,7 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1011
1132
|
if (c) {
|
|
1012
1133
|
d = 1 - d;
|
|
1013
1134
|
}
|
|
1014
|
-
return (d * 2 * Math.PI) + this.
|
|
1135
|
+
return (d * 2 * Math.PI) + this.np;
|
|
1015
1136
|
};
|
|
1016
1137
|
NumericAngleAxis.prototype.getScaledAngle = function (a) {
|
|
1017
1138
|
return this.getScaledAngle1(a, this.lj, this.ci);
|
|
@@ -1020,7 +1141,7 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1020
1141
|
return this.getUnscaledAngle(a);
|
|
1021
1142
|
};
|
|
1022
1143
|
NumericAngleAxis.prototype.getUnscaledAngle = function (a) {
|
|
1023
|
-
var b = (a - this.
|
|
1144
|
+
var b = (a - this.np) / (2 * Math.PI);
|
|
1024
1145
|
if (this.ch) {
|
|
1025
1146
|
b = 1 - b;
|
|
1026
1147
|
}
|
|
@@ -1031,6 +1152,14 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1031
1152
|
return this.lx + b * (this.lw - this.lx);
|
|
1032
1153
|
}
|
|
1033
1154
|
};
|
|
1155
|
+
NumericAngleAxis.prototype.ni = function () {
|
|
1156
|
+
if (this.nh == 0) {
|
|
1157
|
+
return 1;
|
|
1158
|
+
}
|
|
1159
|
+
else {
|
|
1160
|
+
return this.nh;
|
|
1161
|
+
}
|
|
1162
|
+
};
|
|
1034
1163
|
NumericAngleAxis.prototype.hw = function (a, b, c, d) {
|
|
1035
1164
|
var e_6, _a, e_7, _b, e_8, _c;
|
|
1036
1165
|
_super.prototype.hw.call(this, a, b, c, d);
|
|
@@ -1038,21 +1167,21 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1038
1167
|
switch (b) {
|
|
1039
1168
|
case "CrossingAxis":
|
|
1040
1169
|
var f = typeCast(NumericRadiusAxis.$, d);
|
|
1041
|
-
this.
|
|
1170
|
+
this.ny(f);
|
|
1042
1171
|
if (f != null) {
|
|
1043
1172
|
f.n3(this);
|
|
1044
1173
|
}
|
|
1045
1174
|
this.h8(false);
|
|
1046
1175
|
break;
|
|
1047
|
-
case NumericAngleAxis.$$p[
|
|
1048
|
-
this.
|
|
1049
|
-
while (this.
|
|
1050
|
-
this.
|
|
1176
|
+
case NumericAngleAxis.$$p[1]:
|
|
1177
|
+
this.np = this.nt;
|
|
1178
|
+
while (this.np < 0) {
|
|
1179
|
+
this.np += 360;
|
|
1051
1180
|
}
|
|
1052
|
-
while (this.
|
|
1053
|
-
this.
|
|
1181
|
+
while (this.np >= 360) {
|
|
1182
|
+
this.np -= 360;
|
|
1054
1183
|
}
|
|
1055
|
-
this.
|
|
1184
|
+
this.np = (this.nt * Math.PI) / 180;
|
|
1056
1185
|
this.h8(false);
|
|
1057
1186
|
try {
|
|
1058
1187
|
for (var _d = __values(fromEnum(this.db())), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
@@ -1125,27 +1254,27 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1125
1254
|
break;
|
|
1126
1255
|
case "LabelSettings":
|
|
1127
1256
|
this.k0 = this.ky();
|
|
1128
|
-
this.
|
|
1257
|
+
this.nw();
|
|
1129
1258
|
this.cq = true;
|
|
1130
1259
|
this.h8(false);
|
|
1131
1260
|
break;
|
|
1132
1261
|
}
|
|
1133
1262
|
};
|
|
1134
|
-
NumericAngleAxis.prototype.
|
|
1135
|
-
this.
|
|
1263
|
+
NumericAngleAxis.prototype.nw = function () {
|
|
1264
|
+
this.no = NaN;
|
|
1136
1265
|
};
|
|
1137
1266
|
NumericAngleAxis.prototype.k2 = function () {
|
|
1138
1267
|
return new PolarAxisRenderingParameters();
|
|
1139
1268
|
};
|
|
1140
1269
|
NumericAngleAxis.prototype.k1 = function (a, b, c, d) {
|
|
1141
1270
|
var e = typeCast(PolarAxisRenderingParameters.$, _super.prototype.k1.call(this, a, b, c, d));
|
|
1142
|
-
var f = this.
|
|
1143
|
-
var g = this.
|
|
1144
|
-
var h = 0.5 * this.
|
|
1145
|
-
var i = 0.5 * this.
|
|
1271
|
+
var f = this.nm.f(b);
|
|
1272
|
+
var g = this.nm.g(b);
|
|
1273
|
+
var h = 0.5 * this.nl.no;
|
|
1274
|
+
var i = 0.5 * this.nl.nn;
|
|
1146
1275
|
var j = f;
|
|
1147
1276
|
var k = g;
|
|
1148
|
-
var l = this.
|
|
1277
|
+
var l = this.nl.nt();
|
|
1149
1278
|
if (isNaN_(l) || isInfinity(l)) {
|
|
1150
1279
|
return null;
|
|
1151
1280
|
}
|
|
@@ -1156,7 +1285,7 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1156
1285
|
j = i;
|
|
1157
1286
|
}
|
|
1158
1287
|
var m = a.width;
|
|
1159
|
-
this.
|
|
1288
|
+
this.nm.k(b, e, this.lx, this.lw, this.ch, runOn(this, this.getUnscaledAngle), m);
|
|
1160
1289
|
var n = { $type: Point_$type, x: 0.5, y: 0.5 };
|
|
1161
1290
|
e.center = n;
|
|
1162
1291
|
e.maxLength = k;
|
|
@@ -1165,7 +1294,7 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1165
1294
|
return e;
|
|
1166
1295
|
};
|
|
1167
1296
|
NumericAngleAxis.prototype.getMinMaxAngle = function (a, b, c) {
|
|
1168
|
-
var d = this.
|
|
1297
|
+
var d = this.nm.l(a, b, c);
|
|
1169
1298
|
b = d.p1;
|
|
1170
1299
|
c = d.p2;
|
|
1171
1300
|
return {
|
|
@@ -1185,10 +1314,10 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1185
1314
|
this.ly = f.f.l;
|
|
1186
1315
|
}
|
|
1187
1316
|
};
|
|
1188
|
-
Object.defineProperty(NumericAngleAxis.prototype, "
|
|
1317
|
+
Object.defineProperty(NumericAngleAxis.prototype, "nl", {
|
|
1189
1318
|
get: function () {
|
|
1190
|
-
if (this.
|
|
1191
|
-
return this.
|
|
1319
|
+
if (this.nk != null) {
|
|
1320
|
+
return this.nk;
|
|
1192
1321
|
}
|
|
1193
1322
|
var a = typeCast(XamDataChart.$, this.bi);
|
|
1194
1323
|
if (a != null) {
|
|
@@ -1198,19 +1327,19 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1198
1327
|
}
|
|
1199
1328
|
}
|
|
1200
1329
|
}
|
|
1201
|
-
return this.
|
|
1330
|
+
return this.nk;
|
|
1202
1331
|
},
|
|
1203
1332
|
set: function (a) {
|
|
1204
|
-
this.
|
|
1333
|
+
this.nk = a;
|
|
1205
1334
|
},
|
|
1206
1335
|
enumerable: false,
|
|
1207
1336
|
configurable: true
|
|
1208
1337
|
});
|
|
1209
1338
|
NumericAngleAxis.prototype.ak = function () {
|
|
1210
|
-
return this.
|
|
1339
|
+
return this.nl;
|
|
1211
1340
|
};
|
|
1212
|
-
NumericAngleAxis.prototype.
|
|
1213
|
-
this.
|
|
1341
|
+
NumericAngleAxis.prototype.ny = function (a) {
|
|
1342
|
+
this.nl = a;
|
|
1214
1343
|
};
|
|
1215
1344
|
NumericAngleAxis.prototype.ip = function (a, b) {
|
|
1216
1345
|
_super.prototype.ip.call(this, a, b);
|
|
@@ -1235,7 +1364,7 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1235
1364
|
if (e === void 0) {
|
|
1236
1365
|
e = null;
|
|
1237
1366
|
}
|
|
1238
|
-
if (this.
|
|
1367
|
+
if (this.nl == null) {
|
|
1239
1368
|
return null;
|
|
1240
1369
|
}
|
|
1241
1370
|
var f = typeCast(PolarAxisRenderingParameters.$, this.k1(c, b, d, e));
|
|
@@ -1258,7 +1387,7 @@ var NumericAngleAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1258
1387
|
return m;
|
|
1259
1388
|
};
|
|
1260
1389
|
NumericAngleAxis.$t = markType(NumericAngleAxis, 'NumericAngleAxis', NumericAxisBase.$, [IAngleScaler_$type]);
|
|
1261
|
-
NumericAngleAxis.$$p = markDep(DependencyProperty, PropertyMetadata, NumericAngleAxis, 'h2', ['StartAngleOffset:
|
|
1390
|
+
NumericAngleAxis.$$p = markDep(DependencyProperty, PropertyMetadata, NumericAngleAxis, 'h2', ['LabelMode:nh:nz', [AxisAngleLabelMode_$type, enumGetBox(AxisAngleLabelMode_$type, 0)], 'StartAngleOffset:nt:n0', [1, 0]]);
|
|
1262
1391
|
return NumericAngleAxis;
|
|
1263
1392
|
}(NumericAxisBase));
|
|
1264
1393
|
export { NumericAngleAxis };
|
|
@@ -1551,11 +1680,11 @@ var NumericRadiusAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1551
1680
|
}
|
|
1552
1681
|
if (g != null) {
|
|
1553
1682
|
this.n3(g);
|
|
1554
|
-
g.
|
|
1683
|
+
g.ny(this);
|
|
1555
1684
|
}
|
|
1556
1685
|
if (h != null) {
|
|
1557
1686
|
this.n3(h);
|
|
1558
|
-
h.
|
|
1687
|
+
h.nf(this);
|
|
1559
1688
|
}
|
|
1560
1689
|
this.cq = true;
|
|
1561
1690
|
this.h8(false);
|
|
@@ -1845,31 +1974,67 @@ var AngleAxisLabelPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1845
1974
|
_super.prototype.an.call(this);
|
|
1846
1975
|
this.az.da = true;
|
|
1847
1976
|
};
|
|
1848
|
-
AngleAxisLabelPanelView.prototype.
|
|
1977
|
+
AngleAxisLabelPanelView.prototype.a1 = function (a, b) {
|
|
1978
|
+
this.az.df = -1.7976931348623157E+308;
|
|
1979
|
+
this.az.dc = -1.7976931348623157E+308;
|
|
1849
1980
|
this.az.de = -1.7976931348623157E+308;
|
|
1850
|
-
this.az.db = -1.7976931348623157E+308;
|
|
1851
1981
|
this.az.dd = -1.7976931348623157E+308;
|
|
1852
|
-
this.az.dc = -1.7976931348623157E+308;
|
|
1853
1982
|
for (var c = 0; c < this.a.bb.count; c++) {
|
|
1854
1983
|
var d = this.a.bb._inner[c];
|
|
1855
1984
|
var e = this.a.ba._inner[c];
|
|
1856
1985
|
var f = e.a;
|
|
1857
|
-
var g = this.az.
|
|
1986
|
+
var g = this.az.di(e.c, NaN, NaN);
|
|
1858
1987
|
var h = this.m(d);
|
|
1859
1988
|
var i = this.l(d);
|
|
1860
1989
|
var j = h + this.p() + this.q();
|
|
1861
1990
|
var k = i + this.r() + this.o();
|
|
1862
1991
|
var l = g.x - j / 2;
|
|
1863
1992
|
var m = g.y - k / 2;
|
|
1864
|
-
this.az.
|
|
1865
|
-
this.az.
|
|
1866
|
-
this.az.
|
|
1867
|
-
this.az.
|
|
1993
|
+
this.az.de = Math.max(h, this.az.de);
|
|
1994
|
+
this.az.dd = Math.max(i, this.az.dd);
|
|
1995
|
+
this.az.df = Math.max(j, this.az.df);
|
|
1996
|
+
this.az.dc = Math.max(k, this.az.dc);
|
|
1868
1997
|
var n = new Rect(0, l, m, j, k);
|
|
1869
1998
|
a.add(n);
|
|
1870
1999
|
b.add(f);
|
|
1871
2000
|
}
|
|
1872
2001
|
};
|
|
2002
|
+
AngleAxisLabelPanelView.prototype.a0 = function (a, b) {
|
|
2003
|
+
this.az.db = -1.7976931348623157E+308;
|
|
2004
|
+
var c = 0;
|
|
2005
|
+
if (typeCast(CategoryAngleAxis.$, this.az.ad) !== null) {
|
|
2006
|
+
c = this.az.ad.mx() * this.az.ad.kd.width;
|
|
2007
|
+
}
|
|
2008
|
+
else if (typeCast(NumericAngleAxis.$, this.az.ad) !== null) {
|
|
2009
|
+
c = this.az.ad.nq() * this.az.ad.kd.width;
|
|
2010
|
+
}
|
|
2011
|
+
var d = { $type: Point_$type, x: this.az.ad.kd.width * 0.5, y: this.az.ad.kd.width * 0.5 };
|
|
2012
|
+
for (var e = 0; e < this.a.bb.count; e++) {
|
|
2013
|
+
var f = this.a.bb._inner[e];
|
|
2014
|
+
var g = this.a.ba._inner[e];
|
|
2015
|
+
var h = g.a;
|
|
2016
|
+
var i = this.m(f);
|
|
2017
|
+
var j = this.l(f);
|
|
2018
|
+
var k = i + this.p() + this.q();
|
|
2019
|
+
var l = j + this.r() + this.o();
|
|
2020
|
+
var m = this.az.di(g.c, k, l);
|
|
2021
|
+
var n = m.x - k / 2;
|
|
2022
|
+
var o = m.y - l / 2;
|
|
2023
|
+
var p = new Rect(0, n, o, i, j);
|
|
2024
|
+
if (!h) {
|
|
2025
|
+
var q = Math.sqrt((p.left - d.x) * (p.left - d.x) + (p.top - d.y) * (p.top - d.y));
|
|
2026
|
+
var r = Math.sqrt((p.right - d.x) * (p.right - d.x) + (p.top - d.y) * (p.top - d.y));
|
|
2027
|
+
var s = Math.sqrt((p.left - d.x) * (p.left - d.x) + (p.bottom - d.y) * (p.bottom - d.y));
|
|
2028
|
+
var t = Math.sqrt((p.right - d.x) * (p.right - d.x) + (p.bottom - d.y) * (p.bottom - d.y));
|
|
2029
|
+
this.az.db = Math.max(q - c, this.az.db);
|
|
2030
|
+
this.az.db = Math.max(r - c, this.az.db);
|
|
2031
|
+
this.az.db = Math.max(s - c, this.az.db);
|
|
2032
|
+
this.az.db = Math.max(t - c, this.az.db);
|
|
2033
|
+
}
|
|
2034
|
+
a.add(p);
|
|
2035
|
+
b.add(h);
|
|
2036
|
+
}
|
|
2037
|
+
};
|
|
1873
2038
|
AngleAxisLabelPanelView.prototype.o = function () {
|
|
1874
2039
|
return 0;
|
|
1875
2040
|
};
|
|
@@ -1893,12 +2058,12 @@ var CategoryAngleAxisView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1893
2058
|
__extends(CategoryAngleAxisView, _super);
|
|
1894
2059
|
function CategoryAngleAxisView(a) {
|
|
1895
2060
|
var _this = _super.call(this, a) || this;
|
|
1896
|
-
_this.
|
|
1897
|
-
_this.
|
|
2061
|
+
_this.bm = null;
|
|
2062
|
+
_this.bm = a;
|
|
1898
2063
|
return _this;
|
|
1899
2064
|
}
|
|
1900
|
-
CategoryAngleAxisView.prototype.
|
|
1901
|
-
_super.prototype.
|
|
2065
|
+
CategoryAngleAxisView.prototype.al = function () {
|
|
2066
|
+
_super.prototype.al.call(this);
|
|
1902
2067
|
this.a.jw = AxisDefaults.h;
|
|
1903
2068
|
this.a.jz = AxisDefaults.g;
|
|
1904
2069
|
};
|
|
@@ -1913,12 +2078,12 @@ var NumericAngleAxisView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1913
2078
|
__extends(NumericAngleAxisView, _super);
|
|
1914
2079
|
function NumericAngleAxisView(a) {
|
|
1915
2080
|
var _this = _super.call(this, a) || this;
|
|
1916
|
-
_this.
|
|
1917
|
-
_this.
|
|
2081
|
+
_this.bm = null;
|
|
2082
|
+
_this.bm = a;
|
|
1918
2083
|
return _this;
|
|
1919
2084
|
}
|
|
1920
|
-
NumericAngleAxisView.prototype.
|
|
1921
|
-
_super.prototype.
|
|
2085
|
+
NumericAngleAxisView.prototype.al = function () {
|
|
2086
|
+
_super.prototype.al.call(this);
|
|
1922
2087
|
this.a.jw = AxisDefaults.h;
|
|
1923
2088
|
this.a.jz = AxisDefaults.g;
|
|
1924
2089
|
};
|
|
@@ -1933,12 +2098,12 @@ var NumericRadiusAxisView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1933
2098
|
__extends(NumericRadiusAxisView, _super);
|
|
1934
2099
|
function NumericRadiusAxisView(a) {
|
|
1935
2100
|
var _this = _super.call(this, a) || this;
|
|
1936
|
-
_this.
|
|
1937
|
-
_this.
|
|
2101
|
+
_this.bm = null;
|
|
2102
|
+
_this.bm = a;
|
|
1938
2103
|
return _this;
|
|
1939
2104
|
}
|
|
1940
|
-
NumericRadiusAxisView.prototype.
|
|
1941
|
-
_super.prototype.
|
|
2105
|
+
NumericRadiusAxisView.prototype.al = function () {
|
|
2106
|
+
_super.prototype.al.call(this);
|
|
1942
2107
|
this.a.jw = AxisDefaults.h;
|
|
1943
2108
|
this.a.jz = AxisDefaults.g;
|
|
1944
2109
|
};
|