igniteui-webcomponents-charts 5.0.0 → 5.0.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 +1088 -948
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
- package/esm2015/lib/CalloutLayer_combined.js +1 -1
- package/esm2015/lib/CategoryBucketCalculator_combined.js +50 -50
- package/esm2015/lib/DataLegendContent_combined.js +7 -0
- package/esm2015/lib/DataLegendVisualData_combined.js +24 -14
- package/esm2015/lib/DataPieBaseChart.js +311 -298
- package/esm2015/lib/DataPieChart.js +73 -73
- package/esm2015/lib/FinancialLegend_combined.js +3 -3
- package/esm2015/lib/ItemLegend_combined.js +26 -25
- package/esm2015/lib/LegendBaseViewManager_combined.js +118 -100
- package/esm2015/lib/Legend_combined.js +13 -13
- package/esm2015/lib/PieChartViewManager_combined.js +11 -1
- package/esm2015/lib/PolarBase_combined.js +24 -24
- package/esm2015/lib/RadialBucketCalculator_combined.js +32 -32
- package/esm2015/lib/RadialPieSeries_combined.js +153 -78
- package/esm2015/lib/ScaleLegend_combined.js +82 -82
- package/esm2015/lib/ScatterBase_combined.js +23 -22
- package/esm2015/lib/ScatterPolygonSeries_combined.js +20 -20
- package/esm2015/lib/SeriesViewer_combined.js +2 -2
- package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +2 -2
- package/esm2015/lib/igc-data-pie-base-chart-component.js +91 -83
- package/esm2015/lib/igc-data-pie-chart-component.js +23 -23
- package/esm2015/lib/igc-pie-chart-base-component.js +1 -1
- package/esm2015/lib/igc-radial-pie-series-component.js +20 -9
- package/esm2015/public_api.js +0 -1
- package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
- package/esm5/lib/CalloutLayer_combined.js +1 -1
- package/esm5/lib/CategoryBucketCalculator_combined.js +50 -50
- package/esm5/lib/DataLegendContent_combined.js +7 -0
- package/esm5/lib/DataLegendVisualData_combined.js +28 -14
- package/esm5/lib/DataPieBaseChart.js +285 -268
- package/esm5/lib/DataPieChart.js +65 -65
- package/esm5/lib/FinancialLegend_combined.js +3 -3
- package/esm5/lib/ItemLegend_combined.js +26 -25
- package/esm5/lib/LegendBaseViewManager_combined.js +118 -100
- package/esm5/lib/Legend_combined.js +13 -13
- package/esm5/lib/PieChartViewManager_combined.js +11 -1
- package/esm5/lib/PolarBase_combined.js +24 -24
- package/esm5/lib/RadialBucketCalculator_combined.js +32 -32
- package/esm5/lib/RadialPieSeries_combined.js +160 -76
- package/esm5/lib/ScaleLegend_combined.js +82 -82
- package/esm5/lib/ScatterBase_combined.js +23 -22
- package/esm5/lib/ScatterPolygonSeries_combined.js +20 -20
- package/esm5/lib/SeriesViewer_combined.js +2 -2
- package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +2 -2
- package/esm5/lib/igc-data-pie-base-chart-component.js +95 -83
- package/esm5/lib/igc-data-pie-chart-component.js +23 -23
- package/esm5/lib/igc-pie-chart-base-component.js +1 -1
- package/esm5/lib/igc-radial-pie-series-component.js +24 -9
- package/esm5/public_api.js +0 -1
- package/fesm2015/igniteui-webcomponents-charts.js +1101 -984
- package/fesm5/igniteui-webcomponents-charts.js +1087 -945
- package/lib/AnchoredRadialBucketCalculator_combined.d.ts +1 -1
- package/lib/CategoryBucketCalculator_combined.d.ts +1 -1
- package/lib/DataLegendVisualData_combined.d.ts +5 -1
- package/lib/DataPieBaseChart.d.ts +96 -92
- package/lib/DataPieChart.d.ts +26 -26
- package/lib/ItemLegend_combined.d.ts +5 -5
- package/lib/LegendBaseViewManager_combined.d.ts +33 -32
- package/lib/Legend_combined.d.ts +2 -2
- package/lib/PieChartViewManager_combined.d.ts +1 -1
- package/lib/PolarBase_combined.d.ts +1 -1
- package/lib/RadialBucketCalculator_combined.d.ts +2 -2
- package/lib/RadialPieSeries_combined.d.ts +18 -12
- package/lib/ScaleLegend_combined.d.ts +23 -23
- package/lib/ScatterBase_combined.d.ts +1 -1
- package/lib/ScatterPolygonSeries_combined.d.ts +1 -1
- package/lib/SeriesViewer_combined.d.ts +1 -1
- package/lib/StackedSeriesCreatedEventArgs_combined.d.ts +1 -1
- package/lib/igc-data-pie-base-chart-component.d.ts +3 -0
- package/lib/igc-pie-chart-base-component.d.ts +1 -1
- package/lib/igc-radial-pie-series-component.d.ts +6 -0
- package/package.json +2 -2
- package/public_api.d.ts +0 -1
- package/esm2015/lib/LegendEmptyValuesMode.js +0 -29
- package/esm5/lib/LegendEmptyValuesMode.js +0 -29
- package/lib/LegendEmptyValuesMode.d.ts +0 -22
|
@@ -183,49 +183,49 @@ var RadialBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
183
183
|
}
|
|
184
184
|
_super.prototype.pn.call(this, a);
|
|
185
185
|
};
|
|
186
|
-
RadialBase.prototype.d9 = function (a, b, c, d) {
|
|
186
|
+
RadialBase.prototype.d9 = function (a, b, c, d, e) {
|
|
187
187
|
var _this = this;
|
|
188
188
|
if (!this.hasMarkers) {
|
|
189
189
|
return false;
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
var
|
|
193
|
-
|
|
194
|
-
var
|
|
195
|
-
var
|
|
196
|
-
|
|
197
|
-
var
|
|
191
|
+
var f = this.yr;
|
|
192
|
+
var g = new ScalerParams(1, this.c9.vl, this.wl, f.ch);
|
|
193
|
+
g.c = this.getEffectiveViewport1(this.ct);
|
|
194
|
+
var h = this.yw;
|
|
195
|
+
var i = new ScalerParams(1, this.c9.vl, this.wl, h.ch);
|
|
196
|
+
i.c = this.getEffectiveViewport1(this.ct);
|
|
197
|
+
var j = this.zw;
|
|
198
198
|
a.clear();
|
|
199
|
-
this.wy.cj(function (
|
|
200
|
-
if (
|
|
201
|
-
var
|
|
202
|
-
var
|
|
203
|
-
var
|
|
204
|
-
if (
|
|
199
|
+
this.wy.cj(function (k) {
|
|
200
|
+
if (k._visibility == 0) {
|
|
201
|
+
var l = new SeriesPointOfInterest();
|
|
202
|
+
var m = k.n;
|
|
203
|
+
var n = k.o;
|
|
204
|
+
if (m < _this.wl.left || m > _this.wl.right || n < _this.wl.top || n > _this.wl.bottom) {
|
|
205
205
|
return;
|
|
206
206
|
}
|
|
207
|
-
var
|
|
208
|
-
if (
|
|
209
|
-
|
|
207
|
+
var o = null;
|
|
208
|
+
if (k.content != null) {
|
|
209
|
+
o = k.content.item;
|
|
210
210
|
}
|
|
211
|
-
var o = void 0;
|
|
212
211
|
var p = void 0;
|
|
213
|
-
var q =
|
|
214
|
-
|
|
215
|
-
p =
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
var s =
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
212
|
+
var q = void 0;
|
|
213
|
+
var r = _this.yz.g(m, n, _this.ct.by, _this.ct.bx, _this.ct.getEffectiveViewport(), p, q);
|
|
214
|
+
p = r.p5;
|
|
215
|
+
q = r.p6;
|
|
216
|
+
l.d = p;
|
|
217
|
+
l.e = q;
|
|
218
|
+
var s = l.e;
|
|
219
|
+
var t = k.ak;
|
|
220
|
+
l.f = _this.aav(s, o, t, d, j, c, b, false);
|
|
221
|
+
l.b = k.content;
|
|
222
|
+
l.g = _this.va;
|
|
223
|
+
l.c = k.ak;
|
|
224
224
|
if (_this.g7) {
|
|
225
|
-
|
|
225
|
+
l.g = _this.vh(k.ak);
|
|
226
226
|
}
|
|
227
|
-
|
|
228
|
-
a.add(
|
|
227
|
+
l.a = _this.aq(k.ak, k.al);
|
|
228
|
+
a.add(l);
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
return true;
|
|
@@ -7,7 +7,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends, __values } from "tslib";
|
|
8
8
|
import { AnchoredRadialSeries } from "./AnchoredRadialSeries";
|
|
9
9
|
import { DependencyProperty } from "igniteui-webcomponents-core";
|
|
10
|
-
import { Point_$type, runOn, markType, markDep, fromEnum } from "igniteui-webcomponents-core";
|
|
10
|
+
import { enumGetBox, Point_$type, runOn, typeCast, markType, markDep, fromEnum } from "igniteui-webcomponents-core";
|
|
11
|
+
import { LegendEmptyValuesMode_$type } from "igniteui-webcomponents-core";
|
|
11
12
|
import { Defaults } from "./Defaults";
|
|
12
13
|
import { Pool$1 } from "igniteui-webcomponents-core";
|
|
13
14
|
import { Path } from "igniteui-webcomponents-core";
|
|
@@ -24,10 +25,12 @@ import { PieSliceCollisionGeometry } from "igniteui-webcomponents-core";
|
|
|
24
25
|
import { Size } from "igniteui-webcomponents-core";
|
|
25
26
|
import { GeometryUtil } from "igniteui-webcomponents-core";
|
|
26
27
|
import { MathUtil } from "igniteui-webcomponents-core";
|
|
28
|
+
import { ProportionalCategoryAngleAxis } from "./ProportionalCategoryAngleAxis";
|
|
29
|
+
import { SeriesPointOfInterest } from "./SeriesPointOfInterest";
|
|
30
|
+
import { DataContext } from "igniteui-webcomponents-core";
|
|
27
31
|
import { PropertyMetadata } from "igniteui-webcomponents-core";
|
|
28
32
|
import { intDivide, isNaN_ } from "igniteui-webcomponents-core";
|
|
29
33
|
import { AnchoredRadialSeriesView } from "./AnchoredRadialSeriesView";
|
|
30
|
-
import { DataContext } from "igniteui-webcomponents-core";
|
|
31
34
|
/**
|
|
32
35
|
* @hidden
|
|
33
36
|
*/
|
|
@@ -35,8 +38,9 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
35
38
|
__extends(RadialPieSeries, _super);
|
|
36
39
|
function RadialPieSeries() {
|
|
37
40
|
var _this = _super.call(this) || this;
|
|
38
|
-
_this.
|
|
39
|
-
_this.
|
|
41
|
+
_this.adg = null;
|
|
42
|
+
_this.adl = null;
|
|
43
|
+
_this.add = 0;
|
|
40
44
|
_this.ab = RadialPieSeries.$;
|
|
41
45
|
return _this;
|
|
42
46
|
}
|
|
@@ -60,31 +64,45 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60
64
|
};
|
|
61
65
|
RadialPieSeries.prototype.qx = function (a) {
|
|
62
66
|
_super.prototype.qx.call(this, a);
|
|
63
|
-
this.
|
|
67
|
+
this.adf = a;
|
|
64
68
|
};
|
|
65
|
-
Object.defineProperty(RadialPieSeries.prototype, "
|
|
69
|
+
Object.defineProperty(RadialPieSeries.prototype, "adh", {
|
|
66
70
|
get: function () {
|
|
67
|
-
return this.
|
|
71
|
+
return this.adg;
|
|
68
72
|
},
|
|
69
73
|
set: function (a) {
|
|
70
|
-
if (this.
|
|
71
|
-
var b = this.
|
|
72
|
-
this.
|
|
73
|
-
this.raisePropertyChanged("LegendLabelColumn", b, this.
|
|
74
|
+
if (this.adg != a) {
|
|
75
|
+
var b = this.adh;
|
|
76
|
+
this.adg = a;
|
|
77
|
+
this.raisePropertyChanged("LegendLabelColumn", b, this.adh);
|
|
74
78
|
}
|
|
75
79
|
},
|
|
76
80
|
enumerable: false,
|
|
77
81
|
configurable: true
|
|
78
82
|
});
|
|
79
|
-
Object.defineProperty(RadialPieSeries.prototype, "
|
|
83
|
+
Object.defineProperty(RadialPieSeries.prototype, "ado", {
|
|
80
84
|
get: function () {
|
|
81
|
-
return this.
|
|
85
|
+
return this.adl;
|
|
82
86
|
},
|
|
83
87
|
set: function (a) {
|
|
84
|
-
if (this.
|
|
85
|
-
var b = this.
|
|
86
|
-
this.
|
|
87
|
-
this.raisePropertyChanged("LegendLabelMemberPath", b, this.
|
|
88
|
+
if (this.adl != a) {
|
|
89
|
+
var b = this.adl;
|
|
90
|
+
this.adl = a;
|
|
91
|
+
this.raisePropertyChanged("LegendLabelMemberPath", b, this.adl);
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
enumerable: false,
|
|
95
|
+
configurable: true
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(RadialPieSeries.prototype, "ade", {
|
|
98
|
+
get: function () {
|
|
99
|
+
return this.add;
|
|
100
|
+
},
|
|
101
|
+
set: function (a) {
|
|
102
|
+
if (this.add != a) {
|
|
103
|
+
var b = this.add;
|
|
104
|
+
this.add = a;
|
|
105
|
+
this.raisePropertyChanged("LegendEmptyValuesMode", enumGetBox(LegendEmptyValuesMode_$type, b), enumGetBox(LegendEmptyValuesMode_$type, this.add));
|
|
88
106
|
}
|
|
89
107
|
},
|
|
90
108
|
enumerable: false,
|
|
@@ -130,7 +148,7 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
130
148
|
}
|
|
131
149
|
var p = o.f._inner[b][0];
|
|
132
150
|
var q = Math.min(o.f._inner[b][2], h.maxLength);
|
|
133
|
-
return this.
|
|
151
|
+
return this.adi(d, e, f, p - (m * 0.5), p + (m * 0.5), l, q, i);
|
|
134
152
|
}
|
|
135
153
|
};
|
|
136
154
|
RadialPieSeries.prototype.get_eb = function () {
|
|
@@ -158,15 +176,15 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
158
176
|
var m = this.yr.k5(d, e, f);
|
|
159
177
|
var n = this.yr.cl;
|
|
160
178
|
var o = { $type: Point_$type, x: 0.5, y: 0.5 };
|
|
161
|
-
var p = this.
|
|
162
|
-
var q = this.
|
|
179
|
+
var p = this.adj;
|
|
180
|
+
var q = this.adk;
|
|
163
181
|
var r = (p > 0 && q > 0);
|
|
164
182
|
var s = this.abx.count;
|
|
165
183
|
this.y7.a2(this, this.zo(), runOn(this, this.yf), this.zx(b), this.zy(b));
|
|
166
|
-
this.y7.r = this.
|
|
167
|
-
this.y7.s = this.
|
|
168
|
-
this.y7.k = this.
|
|
169
|
-
this.y7.l = this.
|
|
184
|
+
this.y7.r = this.adj;
|
|
185
|
+
this.y7.s = this.adk;
|
|
186
|
+
this.y7.k = this.adj;
|
|
187
|
+
this.y7.l = this.adk;
|
|
170
188
|
var t = false;
|
|
171
189
|
var u = this.y7.b;
|
|
172
190
|
if (u != null) {
|
|
@@ -208,10 +226,10 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
208
226
|
r = (ah > 0 && ai > 0);
|
|
209
227
|
var aj = null;
|
|
210
228
|
if (r) {
|
|
211
|
-
aj = this.
|
|
229
|
+
aj = this.adu(d, e, f, aa - (m * 0.5), aa + (m * 0.5), l, ab, o, ah, ai);
|
|
212
230
|
}
|
|
213
231
|
else {
|
|
214
|
-
aj = this.
|
|
232
|
+
aj = this.adv(d, e, f, aa - (m * 0.5), aa + (m * 0.5), l, ab, o);
|
|
215
233
|
}
|
|
216
234
|
ag.an = aj;
|
|
217
235
|
this.y7.ad(ag, false, false, false, false);
|
|
@@ -225,7 +243,7 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
225
243
|
c.c6.count = x;
|
|
226
244
|
c.db();
|
|
227
245
|
};
|
|
228
|
-
RadialPieSeries.prototype.
|
|
246
|
+
RadialPieSeries.prototype.adv = function (a, b, c, d, e, f, g, h) {
|
|
229
247
|
var i = SliceCoords.b(a, b, c, d, e, f, g, h);
|
|
230
248
|
var j = new PathFigure();
|
|
231
249
|
j._startPoint = i.d;
|
|
@@ -260,7 +278,7 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
260
278
|
k.c.add(j);
|
|
261
279
|
return k;
|
|
262
280
|
};
|
|
263
|
-
RadialPieSeries.prototype.
|
|
281
|
+
RadialPieSeries.prototype.adi = function (a, b, c, d, e, f, g, h) {
|
|
264
282
|
var i = SliceCoords.b(a, b, c, d, e, f, g, h);
|
|
265
283
|
if (isNaN_(i.n.width) || isNaN_(d) || isNaN_(e)) {
|
|
266
284
|
return null;
|
|
@@ -269,10 +287,10 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
269
287
|
var k = ViewportUtils.i(0.5, a, b, c);
|
|
270
288
|
return new PieSliceCollisionGeometry(j, k, i.n.width, i.m.width, d, e);
|
|
271
289
|
};
|
|
272
|
-
RadialPieSeries.prototype.
|
|
290
|
+
RadialPieSeries.prototype.adu = function (a, b, c, d, e, f, g, h, i, j) {
|
|
273
291
|
var k = SliceCoords.a(a, b, c, d, e, f, g, h, i, j);
|
|
274
292
|
if (k == null) {
|
|
275
|
-
return this.
|
|
293
|
+
return this.adv(a, b, c, d, e, f, g, h);
|
|
276
294
|
}
|
|
277
295
|
var l = new PathFigure();
|
|
278
296
|
l._startPoint = k.d;
|
|
@@ -354,20 +372,20 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
354
372
|
break;
|
|
355
373
|
case "FastItemsSource":
|
|
356
374
|
if (c != null) {
|
|
357
|
-
if (this.
|
|
358
|
-
c.deregisterColumn(this.
|
|
375
|
+
if (this.adh != null) {
|
|
376
|
+
c.deregisterColumn(this.adh);
|
|
359
377
|
}
|
|
360
378
|
}
|
|
361
379
|
if (d != null) {
|
|
362
|
-
if (this.
|
|
363
|
-
this.
|
|
380
|
+
if (this.ado != null) {
|
|
381
|
+
this.adh = this.dk(this.ado);
|
|
364
382
|
}
|
|
365
383
|
}
|
|
366
384
|
break;
|
|
367
385
|
case "LegendLabelMemberPath":
|
|
368
386
|
if (this.dl != null) {
|
|
369
|
-
this.dl.deregisterColumn(this.
|
|
370
|
-
this.
|
|
387
|
+
this.dl.deregisterColumn(this.adh);
|
|
388
|
+
this.adh = this.dk(this.ado);
|
|
371
389
|
this.pc();
|
|
372
390
|
this.pq();
|
|
373
391
|
}
|
|
@@ -375,61 +393,127 @@ var RadialPieSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
375
393
|
}
|
|
376
394
|
};
|
|
377
395
|
RadialPieSeries.prototype.wh = function (a) {
|
|
378
|
-
var b = this.
|
|
379
|
-
var c = this.
|
|
380
|
-
var d = this.getEffectiveViewport1(this.
|
|
381
|
-
var e = this.wd(this.
|
|
396
|
+
var b = this.adf.by;
|
|
397
|
+
var c = this.adf.bx;
|
|
398
|
+
var d = this.getEffectiveViewport1(this.adf);
|
|
399
|
+
var e = this.wd(this.adf);
|
|
382
400
|
var f = this.yw.k2(c, b, d, e);
|
|
383
401
|
var g = { $type: Point_$type, x: 0.5, y: 0.5 };
|
|
384
402
|
var h = GeometryUtil.i(g, a);
|
|
385
403
|
var i = this.y1.f;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
var l =
|
|
389
|
-
var m = i._inner[
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
404
|
+
var j = 0;
|
|
405
|
+
for (var k = 0; k < i.count; k++) {
|
|
406
|
+
var l = i._inner[k][0];
|
|
407
|
+
var m = Math.min(i._inner[k][2], f.maxLength);
|
|
408
|
+
var n = i._inner[k][3];
|
|
409
|
+
if (isNaN_(n)) {
|
|
410
|
+
continue;
|
|
411
|
+
}
|
|
412
|
+
l = l % 6.28318531;
|
|
413
|
+
if (l < 0) {
|
|
414
|
+
l += 6.28318531;
|
|
415
|
+
}
|
|
416
|
+
if (h >= l - (n * 0.5) && h <= l + (n * 0.5)) {
|
|
417
|
+
var o = Math.max(0, 0.5 * this.yw.no);
|
|
418
|
+
var p = o;
|
|
419
|
+
p = Math.max(p, f.minLength);
|
|
420
|
+
var q = SliceCoords.b(b, c, d, l - (n * 0.5), l + (n * 0.5), p, m, g);
|
|
421
|
+
var r = GeometryUtil.q({ $type: Point_$type, x: ViewportUtils.e(g.x, b, c, d), y: ViewportUtils.i(g.y, b, c, d) }, MathUtil.f(l), q.n.width);
|
|
397
422
|
var s = 1.7976931348623157E+308;
|
|
398
|
-
var t =
|
|
423
|
+
var t = 1.7976931348623157E+308;
|
|
399
424
|
var u = -1.7976931348623157E+308;
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
s = Math.min(s,
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
t = Math.
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
u = Math.max(u,
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
425
|
+
var v = -1.7976931348623157E+308;
|
|
426
|
+
s = Math.min(s, q.d.x);
|
|
427
|
+
s = Math.min(s, q.f.x);
|
|
428
|
+
s = Math.min(s, q.h.x);
|
|
429
|
+
s = Math.min(s, q.j.x);
|
|
430
|
+
s = Math.min(s, r.x);
|
|
431
|
+
t = Math.min(t, q.d.y);
|
|
432
|
+
t = Math.min(t, q.f.y);
|
|
433
|
+
t = Math.min(t, q.h.y);
|
|
434
|
+
t = Math.min(t, q.j.y);
|
|
435
|
+
t = Math.min(t, r.y);
|
|
436
|
+
u = Math.max(u, q.d.x);
|
|
437
|
+
u = Math.max(u, q.f.x);
|
|
438
|
+
u = Math.max(u, q.h.x);
|
|
439
|
+
u = Math.max(u, q.j.x);
|
|
440
|
+
u = Math.max(u, r.x);
|
|
441
|
+
v = Math.max(v, q.d.y);
|
|
442
|
+
v = Math.max(v, q.f.y);
|
|
443
|
+
v = Math.max(v, q.h.y);
|
|
444
|
+
v = Math.max(v, q.j.y);
|
|
445
|
+
v = Math.max(v, r.y);
|
|
446
|
+
return new Rect(0, s, t, u - s, v - t);
|
|
421
447
|
}
|
|
448
|
+
j++;
|
|
422
449
|
}
|
|
423
450
|
return new Rect(0, 0, 0, 0, 0);
|
|
424
451
|
};
|
|
425
452
|
RadialPieSeries.prototype.ks = function (a) {
|
|
426
|
-
if (this.
|
|
427
|
-
return
|
|
453
|
+
if (this.yr != null && this.yr.cl && a == this.yr.othersIndex) {
|
|
454
|
+
return null;
|
|
455
|
+
}
|
|
456
|
+
if (this.adh != null) {
|
|
457
|
+
return this.adh.item(a);
|
|
428
458
|
}
|
|
429
459
|
return null;
|
|
430
460
|
};
|
|
461
|
+
RadialPieSeries.prototype.d9 = function (a, b, c, d, e) {
|
|
462
|
+
var _this = this;
|
|
463
|
+
if (_super.prototype.d9.call(this, a, b, c, d, e)) {
|
|
464
|
+
var f = typeCast(ProportionalCategoryAngleAxis.$, this.yr) !== null && this.yr.hasOthersCategory;
|
|
465
|
+
if (e && (this.ade == 1 || (this.ade == 2 && !f))) {
|
|
466
|
+
var g = this.yr;
|
|
467
|
+
var h = new ScalerParams(1, this.c9.vl, this.wl, g.ch);
|
|
468
|
+
h.c = this.getEffectiveViewport1(this.ct);
|
|
469
|
+
var i = this.yw;
|
|
470
|
+
var j = new ScalerParams(1, this.c9.vl, this.wl, i.ch);
|
|
471
|
+
j.c = this.getEffectiveViewport1(this.ct);
|
|
472
|
+
var k = this.zw;
|
|
473
|
+
var _loop_1 = function (l) {
|
|
474
|
+
var m = this_1.dl.item(l);
|
|
475
|
+
var n = NaN;
|
|
476
|
+
if (m != null) {
|
|
477
|
+
n = this_1.ja(m);
|
|
478
|
+
}
|
|
479
|
+
if (n == 0) {
|
|
480
|
+
var o = new SeriesPointOfInterest();
|
|
481
|
+
o.f = this_1.aav(n, m, l, d, k, c, b, false);
|
|
482
|
+
o.b = ((function () {
|
|
483
|
+
var $ret = new DataContext();
|
|
484
|
+
$ret.item = m;
|
|
485
|
+
$ret.series = _this;
|
|
486
|
+
return $ret;
|
|
487
|
+
})());
|
|
488
|
+
o.g = this_1.va;
|
|
489
|
+
o.c = l;
|
|
490
|
+
if (this_1.g7) {
|
|
491
|
+
o.g = this_1.vh(l);
|
|
492
|
+
}
|
|
493
|
+
var p = false;
|
|
494
|
+
for (var q = 0; q < a.count; q++) {
|
|
495
|
+
if (o.c < a._inner[q].c) {
|
|
496
|
+
a.insert(q, o);
|
|
497
|
+
p = true;
|
|
498
|
+
break;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
if (!p) {
|
|
502
|
+
a.add(o);
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
};
|
|
506
|
+
var this_1 = this;
|
|
507
|
+
for (var l = 0; l < this.dl.count; l++) {
|
|
508
|
+
_loop_1(l);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
return true;
|
|
512
|
+
}
|
|
513
|
+
return false;
|
|
514
|
+
};
|
|
431
515
|
RadialPieSeries.$t = markType(RadialPieSeries, 'RadialPieSeries', AnchoredRadialSeries.$);
|
|
432
|
-
RadialPieSeries.$$p = markDep(DependencyProperty, PropertyMetadata, RadialPieSeries, 'raisePropertyChanged', ['RadiusX:
|
|
516
|
+
RadialPieSeries.$$p = markDep(DependencyProperty, PropertyMetadata, RadialPieSeries, 'raisePropertyChanged', ['RadiusX:adj:ads', [1, 2], 'RadiusY:adk:adt', [1, 2]]);
|
|
433
517
|
return RadialPieSeries;
|
|
434
518
|
}(AnchoredRadialSeries));
|
|
435
519
|
export { RadialPieSeries };
|