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
|
@@ -10,8 +10,8 @@ import { Rect } from "igniteui-webcomponents-core";
|
|
|
10
10
|
import { RenderingContext } from "igniteui-webcomponents-core";
|
|
11
11
|
import { PieChartStyleInfo } from "./PieChartStyleInfo";
|
|
12
12
|
import { BrushCollection } from "igniteui-webcomponents-core";
|
|
13
|
-
import { Brush } from "igniteui-webcomponents-core";
|
|
14
13
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
14
|
+
import { Brush } from "igniteui-webcomponents-core";
|
|
15
15
|
import { FontUtil } from "igniteui-webcomponents-core";
|
|
16
16
|
import { DeviceUtils } from "igniteui-webcomponents-core";
|
|
17
17
|
import { Path } from "igniteui-webcomponents-core";
|
|
@@ -49,8 +49,8 @@ import { LegendEmptyValuesMode_$type } from "./LegendEmptyValuesMode";
|
|
|
49
49
|
import { SliceSelectionMode_$type } from "./SliceSelectionMode";
|
|
50
50
|
import { ObjectCollection } from "igniteui-webcomponents-core";
|
|
51
51
|
import { BindingFormatter } from "igniteui-webcomponents-core";
|
|
52
|
-
import { Pool$1 } from "igniteui-webcomponents-core";
|
|
53
52
|
import { PropertyUpdatedEventArgs } from "igniteui-webcomponents-core";
|
|
53
|
+
import { Pool$1 } from "igniteui-webcomponents-core";
|
|
54
54
|
import { SelectedItemChangingEventArgs } from "./SelectedItemChangingEventArgs";
|
|
55
55
|
import { SelectedItemsChangingEventArgs } from "./SelectedItemsChangingEventArgs";
|
|
56
56
|
import { SelectedItemChangedEventArgs } from "./SelectedItemChangedEventArgs";
|
|
@@ -753,7 +753,7 @@ var PieLabel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
753
753
|
var c = b.al;
|
|
754
754
|
a.a.gy();
|
|
755
755
|
var d = this.ah.isExploded ? this.ah.b5 : this.ah.b7;
|
|
756
|
-
var e = GeometryUtil.
|
|
756
|
+
var e = GeometryUtil.n(d, this.ai, this.ah.a2 + a.a.da);
|
|
757
757
|
var f = a.b4.width;
|
|
758
758
|
if (a.z(b) + e.x > f && e.x < f) {
|
|
759
759
|
while (c.length > 0 && a.z(b) + e.x > f) {
|
|
@@ -784,7 +784,7 @@ var PieLabel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
784
784
|
this.ap._visibility = this.ah.ai.jd != 0 ? this.ah.ai.jd : this.ah.aj._visibility;
|
|
785
785
|
var a;
|
|
786
786
|
var b = this.ah.ai.db;
|
|
787
|
-
var c = GeometryUtil.
|
|
787
|
+
var c = GeometryUtil.n(this.ah.b6(), this.ai, this.ah.a2);
|
|
788
788
|
this.ap.an = c.x;
|
|
789
789
|
this.ap.ap = c.y;
|
|
790
790
|
if (this.ai < 90 || this.ai >= 270) {
|
|
@@ -796,7 +796,7 @@ var PieLabel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
796
796
|
if (b > 0) {
|
|
797
797
|
var d = GeometryUtil.g(c, a);
|
|
798
798
|
if (b < d) {
|
|
799
|
-
a = GeometryUtil.
|
|
799
|
+
a = GeometryUtil.p(a, c, b);
|
|
800
800
|
}
|
|
801
801
|
else {
|
|
802
802
|
a = c;
|
|
@@ -812,8 +812,8 @@ var PieLabel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
812
812
|
var c = b._segments._inner[0];
|
|
813
813
|
var d = this.ah.ai.db;
|
|
814
814
|
var e = (this.ao.top + this.ao.bottom) / 2;
|
|
815
|
-
var f = GeometryUtil.
|
|
816
|
-
var g = GeometryUtil.
|
|
815
|
+
var f = GeometryUtil.n(a, this.ai, this.ah.a2);
|
|
816
|
+
var g = GeometryUtil.n(a, this.ai, this.ah.a2 + this.ah.ai.da / 2);
|
|
817
817
|
var h;
|
|
818
818
|
var i;
|
|
819
819
|
var j;
|
|
@@ -837,16 +837,16 @@ var PieLabel = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
837
837
|
if (d > 0) {
|
|
838
838
|
var l = GeometryUtil.g(f, j);
|
|
839
839
|
if (d < l) {
|
|
840
|
-
i = GeometryUtil.
|
|
840
|
+
i = GeometryUtil.p(j, f, d);
|
|
841
841
|
var m = g.x - f.x;
|
|
842
842
|
var n = g.y - f.y;
|
|
843
|
-
g = GeometryUtil.
|
|
843
|
+
g = GeometryUtil.p(g, f, d);
|
|
844
844
|
var o = g.x - f.x;
|
|
845
845
|
var p = g.y - f.y;
|
|
846
846
|
if ((m > 0 && o < 0) || (m < 0 && o > 0) || (n > 0 && p < 0) || (n < 0 && p > 0)) {
|
|
847
847
|
g = f;
|
|
848
848
|
}
|
|
849
|
-
h = GeometryUtil.
|
|
849
|
+
h = GeometryUtil.p(h, f, d);
|
|
850
850
|
var q = GeometryUtil.g(f, i) / GeometryUtil.g(f, j);
|
|
851
851
|
h.x = f.x + (h.x - f.x) * q;
|
|
852
852
|
h.y = f.y + (h.y - f.y) * q;
|
|
@@ -1010,6 +1010,9 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1010
1010
|
PieChartBase.prototype.onAttachedToUI = function () {
|
|
1011
1011
|
this.a4.ay();
|
|
1012
1012
|
};
|
|
1013
|
+
PieChartBase.prototype.fz = function () {
|
|
1014
|
+
this.a4.ap();
|
|
1015
|
+
};
|
|
1013
1016
|
Object.defineProperty(PieChartBase.prototype, "bu", {
|
|
1014
1017
|
get: function () {
|
|
1015
1018
|
return this.bp;
|
|
@@ -1311,8 +1314,8 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1311
1314
|
var f = this.i2 == 1 ? c.ax : c.a3;
|
|
1312
1315
|
var g = false;
|
|
1313
1316
|
var h = false;
|
|
1314
|
-
var i = GeometryUtil.
|
|
1315
|
-
var j = GeometryUtil.
|
|
1317
|
+
var i = GeometryUtil.n(d, e, c.a2);
|
|
1318
|
+
var j = GeometryUtil.n(d, f, c.a2);
|
|
1316
1319
|
e = PieChartBase.c5(i.x, d.x, i.y, d.y);
|
|
1317
1320
|
f = PieChartBase.c5(j.x, d.x, j.y, d.y);
|
|
1318
1321
|
if (this.cc(c)) {
|
|
@@ -1392,14 +1395,14 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1392
1395
|
if (f == 360) {
|
|
1393
1396
|
f = 0;
|
|
1394
1397
|
}
|
|
1395
|
-
return GeometryUtil.
|
|
1398
|
+
return GeometryUtil.j(f);
|
|
1396
1399
|
};
|
|
1397
1400
|
PieChartBase.g7 = function (a) {
|
|
1398
1401
|
var b = new Array(a.count);
|
|
1399
1402
|
for (var c = 0; c < a.count; c++) {
|
|
1400
1403
|
var d = a._inner[c];
|
|
1401
1404
|
var e = d.ah;
|
|
1402
|
-
var f = GeometryUtil.
|
|
1405
|
+
var f = GeometryUtil.n(e.b7, d.ai, e.a2);
|
|
1403
1406
|
b[c] = f.y;
|
|
1404
1407
|
}
|
|
1405
1408
|
for (var g = 0; g < a.count; g++) {
|
|
@@ -1472,7 +1475,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1472
1475
|
var u = this.da + e;
|
|
1473
1476
|
var v = Math.abs(f.y - (t.y + i / 2));
|
|
1474
1477
|
var w = Math.sqrt(Math.abs(u * u - v * v));
|
|
1475
|
-
var x = GeometryUtil.
|
|
1478
|
+
var x = GeometryUtil.j(s.ai);
|
|
1476
1479
|
if (x > 90 && x < 270) {
|
|
1477
1480
|
w = (t.width + w) * -1;
|
|
1478
1481
|
}
|
|
@@ -1491,7 +1494,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1491
1494
|
var ad = this.da + e;
|
|
1492
1495
|
var ae = Math.abs(f.y - (ac.y + i / 2));
|
|
1493
1496
|
var af = Math.sqrt(Math.abs(ad * ad - ae * ae));
|
|
1494
|
-
var ag = GeometryUtil.
|
|
1497
|
+
var ag = GeometryUtil.j(ab.ai);
|
|
1495
1498
|
if (ag > 90 && ag < 270) {
|
|
1496
1499
|
af = (ac.width + af) * -1;
|
|
1497
1500
|
}
|
|
@@ -1781,7 +1784,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1781
1784
|
var l = this_1.bv.item(c);
|
|
1782
1785
|
var m = this_1.bw.item(c);
|
|
1783
1786
|
m.aj = l;
|
|
1784
|
-
l.ai = GeometryUtil.
|
|
1787
|
+
l.ai = GeometryUtil.j((m.a3 + m.ax) / 2);
|
|
1785
1788
|
l.ah = m;
|
|
1786
1789
|
l.aj = ((function () {
|
|
1787
1790
|
var $ret = new TextBlock();
|
|
@@ -1832,7 +1835,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1832
1835
|
try {
|
|
1833
1836
|
for (var _b = __values(fromEnum(this.bw.a)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1834
1837
|
var i = _c.value;
|
|
1835
|
-
var j = GeometryUtil.
|
|
1838
|
+
var j = GeometryUtil.m(a.width, a.height, true, (i.a3 + i.ax) / 2, f * this.cz);
|
|
1836
1839
|
i.aw = true;
|
|
1837
1840
|
i.a1 = this.c0;
|
|
1838
1841
|
i.a0 = this.c0;
|
|
@@ -1886,7 +1889,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1886
1889
|
var k = g.ao.height;
|
|
1887
1890
|
if (this.az == 1 || this.az == 4) {
|
|
1888
1891
|
var l = h.a2 * h.a1 / 100;
|
|
1889
|
-
var m = GeometryUtil.
|
|
1892
|
+
var m = GeometryUtil.n(i, g.ai, h.a2 - (h.a2 - l) / 2);
|
|
1890
1893
|
g.ao = new Rect(0, m.x - j / 2, m.y - k / 2, j, k);
|
|
1891
1894
|
var n = this.b9(g, m);
|
|
1892
1895
|
if (n || this.az == 1) {
|
|
@@ -1916,7 +1919,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1916
1919
|
}
|
|
1917
1920
|
if (this.az == 2 || this.az == 4) {
|
|
1918
1921
|
var o = PieChartBase.c6(i, h.a2, g);
|
|
1919
|
-
var p = GeometryUtil.
|
|
1922
|
+
var p = GeometryUtil.n(i, g.ai, o);
|
|
1920
1923
|
g.ao = new Rect(0, p.x - j / 2, p.y - k / 2, j, k);
|
|
1921
1924
|
var q = this.b9(g, p);
|
|
1922
1925
|
if (q || this.az == 2) {
|
|
@@ -1951,7 +1954,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1951
1954
|
h.b2 = this.iy;
|
|
1952
1955
|
}
|
|
1953
1956
|
h.au = false;
|
|
1954
|
-
var r = GeometryUtil.
|
|
1957
|
+
var r = GeometryUtil.n(i, g.ai, h.a2 + this.da);
|
|
1955
1958
|
g.ag = 3;
|
|
1956
1959
|
g._visibility = 0;
|
|
1957
1960
|
g.al();
|
|
@@ -2089,7 +2092,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2089
2092
|
PieChartBase.c6 = function (a, b, c) {
|
|
2090
2093
|
var d = c.ai * Math.PI / 180;
|
|
2091
2094
|
var e = 1;
|
|
2092
|
-
var f = GeometryUtil.
|
|
2095
|
+
var f = GeometryUtil.n({ $type: Point_$type, x: 0, y: 0 }, c.ai, e);
|
|
2093
2096
|
var g = PieChartBase.i4(c);
|
|
2094
2097
|
var h = Math.sqrt(g.x * g.x + g.y * g.y);
|
|
2095
2098
|
var i = { $type: Point_$type, x: g.x / h, y: g.y / h };
|
|
@@ -2102,14 +2105,14 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2102
2105
|
if (o < n) {
|
|
2103
2106
|
m = -m;
|
|
2104
2107
|
}
|
|
2105
|
-
var p = GeometryUtil.
|
|
2108
|
+
var p = GeometryUtil.n(a, (d + m) * 180 / Math.PI, b);
|
|
2106
2109
|
var q = PieChartBase.i3(c, p);
|
|
2107
2110
|
var r = Math.sqrt((q.x - a.x) * (q.x - a.x) + (q.y - a.y) * (q.y - a.y));
|
|
2108
2111
|
var s = r - 5;
|
|
2109
2112
|
return s;
|
|
2110
2113
|
};
|
|
2111
2114
|
PieChartBase.i3 = function (a, b) {
|
|
2112
|
-
var c = GeometryUtil.
|
|
2115
|
+
var c = GeometryUtil.j(a.ai);
|
|
2113
2116
|
var d = a.ao.width / 2;
|
|
2114
2117
|
var e = a.ao.height / 2;
|
|
2115
2118
|
if (c >= 0 && c <= 90) {
|
|
@@ -2131,7 +2134,7 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2131
2134
|
return f;
|
|
2132
2135
|
};
|
|
2133
2136
|
PieChartBase.i4 = function (a) {
|
|
2134
|
-
var b = GeometryUtil.
|
|
2137
|
+
var b = GeometryUtil.j(a.ai);
|
|
2135
2138
|
var c = a.ao.width / 2;
|
|
2136
2139
|
var d = a.ao.height / 2;
|
|
2137
2140
|
if (b >= 0 && b <= 90) {
|
|
@@ -2897,9 +2900,6 @@ var PieChartBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2897
2900
|
this.gu();
|
|
2898
2901
|
this.a4.az(null);
|
|
2899
2902
|
};
|
|
2900
|
-
PieChartBase.prototype.fz = function () {
|
|
2901
|
-
this.a4.ap();
|
|
2902
|
-
};
|
|
2903
2903
|
Object.defineProperty(PieChartBase.prototype, "fp", {
|
|
2904
2904
|
get: function () {
|
|
2905
2905
|
return this.dr;
|
|
@@ -3643,7 +3643,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3643
3643
|
var as = aq;
|
|
3644
3644
|
var at = new Rect(0, 0, 0, b.width, b.height);
|
|
3645
3645
|
at.intersect(as);
|
|
3646
|
-
var au = GeometryUtil.
|
|
3646
|
+
var au = GeometryUtil.j((this.a3 + this.ax) / 2);
|
|
3647
3647
|
var av = au / 180 * Math.PI;
|
|
3648
3648
|
var aw = Math.abs((as.height - at.height) / Math.sin(av));
|
|
3649
3649
|
var ax = Math.abs((as.width - at.width) / Math.cos(av));
|
|
@@ -3654,7 +3654,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3654
3654
|
ax = 0;
|
|
3655
3655
|
}
|
|
3656
3656
|
var ay = Math.max(aw, ax);
|
|
3657
|
-
var az = GeometryUtil.
|
|
3657
|
+
var az = GeometryUtil.m(this.ai.i8.width, this.ai.i8.height, true, au, this.a2 * this.ai.cz - ay);
|
|
3658
3658
|
this.al.d(az.x - this.b5.x, az.y - this.b5.y);
|
|
3659
3659
|
this.aq = true;
|
|
3660
3660
|
this.b3 = az;
|
|
@@ -3694,7 +3694,7 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3694
3694
|
return this.ao(j);
|
|
3695
3695
|
};
|
|
3696
3696
|
Slice.prototype.ao = function (a) {
|
|
3697
|
-
a = GeometryUtil.
|
|
3697
|
+
a = GeometryUtil.j(a);
|
|
3698
3698
|
var b = Math.min(this.a3, this.ax);
|
|
3699
3699
|
var c = Math.max(this.a3, this.ax);
|
|
3700
3700
|
return (a > b && a < c) || (a - 360 > b && a - 360 < c) || (a + 360 > b && a + 360 < c);
|
|
@@ -3705,19 +3705,19 @@ var Slice = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
3705
3705
|
h.add(b);
|
|
3706
3706
|
h.add(c);
|
|
3707
3707
|
h.add(f);
|
|
3708
|
-
d = GeometryUtil.
|
|
3709
|
-
e = GeometryUtil.
|
|
3708
|
+
d = GeometryUtil.j(d);
|
|
3709
|
+
e = GeometryUtil.j(e);
|
|
3710
3710
|
if ((0 > d && 0 < e) || (360 > d && 360 < e) || (e < d)) {
|
|
3711
|
-
h.add(GeometryUtil.
|
|
3711
|
+
h.add(GeometryUtil.n(f, 0, g));
|
|
3712
3712
|
}
|
|
3713
3713
|
if (90 > d && 90 < e) {
|
|
3714
|
-
h.add(GeometryUtil.
|
|
3714
|
+
h.add(GeometryUtil.n(f, 90, g));
|
|
3715
3715
|
}
|
|
3716
3716
|
if (180 > d && 180 < e) {
|
|
3717
|
-
h.add(GeometryUtil.
|
|
3717
|
+
h.add(GeometryUtil.n(f, 180, g));
|
|
3718
3718
|
}
|
|
3719
3719
|
if (270 > d && 270 < e) {
|
|
3720
|
-
h.add(GeometryUtil.
|
|
3720
|
+
h.add(GeometryUtil.n(f, 270, g));
|
|
3721
3721
|
}
|
|
3722
3722
|
var i = 1.7976931348623157E+308;
|
|
3723
3723
|
var j = 1.7976931348623157E+308;
|
|
@@ -22,8 +22,8 @@ import { DeviceUtils } from "igniteui-webcomponents-core";
|
|
|
22
22
|
import { PropertyMetadata } from "igniteui-webcomponents-core";
|
|
23
23
|
import { RenderingContext } from "igniteui-webcomponents-core";
|
|
24
24
|
import { Rectangle } from "igniteui-webcomponents-core";
|
|
25
|
-
import { Brush } from "igniteui-webcomponents-core";
|
|
26
25
|
import { CanvasViewRenderer } from "igniteui-webcomponents-core";
|
|
26
|
+
import { Brush } from "igniteui-webcomponents-core";
|
|
27
27
|
import { Rect } from "igniteui-webcomponents-core";
|
|
28
28
|
import { truncate, isNaN_ } from "igniteui-webcomponents-core";
|
|
29
29
|
/**
|
|
@@ -7,15 +7,15 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { Base, Point_$type, typeCast, markType } from "igniteui-webcomponents-core";
|
|
9
9
|
import { PathFigure } from "igniteui-webcomponents-core";
|
|
10
|
-
import { ArcSegment } from "igniteui-webcomponents-core";
|
|
11
10
|
import { ViewportUtils } from "./ViewportUtils";
|
|
11
|
+
import { ArcSegment } from "igniteui-webcomponents-core";
|
|
12
12
|
import { Size } from "igniteui-webcomponents-core";
|
|
13
13
|
import { PathGeometry } from "igniteui-webcomponents-core";
|
|
14
14
|
import { LineSegment } from "igniteui-webcomponents-core";
|
|
15
15
|
import { LineGeometry } from "igniteui-webcomponents-core";
|
|
16
|
-
import { RangeInfo } from "./RangeInfo";
|
|
17
16
|
import { PolarAxisRenderingParameters } from "./PolarAxisRenderingParameters";
|
|
18
17
|
import { RadialAxisRenderingParameters } from "./RadialAxisRenderingParameters";
|
|
18
|
+
import { RangeInfo } from "./RangeInfo";
|
|
19
19
|
/**
|
|
20
20
|
* @hidden
|
|
21
21
|
*/
|
|
@@ -36,8 +36,8 @@ import { GeometryUtil } from "igniteui-webcomponents-core";
|
|
|
36
36
|
import { DataContext } from "igniteui-webcomponents-core";
|
|
37
37
|
import { HashPool$2 } from "igniteui-webcomponents-core";
|
|
38
38
|
import { Clipper } from "igniteui-webcomponents-core";
|
|
39
|
-
import { TrendResolutionParams } from "./TrendResolutionParams";
|
|
40
39
|
import { PolarTrendLineManager } from "./PolarTrendLineManager";
|
|
40
|
+
import { TrendResolutionParams } from "./TrendResolutionParams";
|
|
41
41
|
import { AssigningPolarStyleEventArgs } from "./AssigningPolarStyleEventArgs";
|
|
42
42
|
import { AssigningPolarMarkerStyleEventArgs } from "./AssigningPolarMarkerStyleEventArgs";
|
|
43
43
|
import { SeriesRenderManager } from "./SeriesRenderManager";
|
|
@@ -499,7 +499,7 @@ var PolarBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
499
499
|
var m = f._inner[i];
|
|
500
500
|
var n = f._inner[i - 1];
|
|
501
501
|
if (!b || (e.j.containsKey(this.c7.item(i)) && e.j.containsKey(this.c7.item(i - 1)))) {
|
|
502
|
-
var o = GeometryUtil.
|
|
502
|
+
var o = GeometryUtil.i(g, n, m);
|
|
503
503
|
return (i - 1) + o;
|
|
504
504
|
}
|
|
505
505
|
else if (e.j.containsKey(this.c7.item(i))) {
|
|
@@ -12,8 +12,8 @@ import { Path } from "igniteui-webcomponents-core";
|
|
|
12
12
|
import { PropertyMetadata } from "igniteui-webcomponents-core";
|
|
13
13
|
import { PolarLineSeriesBaseView } from "./PolarLineSeriesBaseView";
|
|
14
14
|
import { PathGeometry } from "igniteui-webcomponents-core";
|
|
15
|
-
import { PathFigure } from "igniteui-webcomponents-core";
|
|
16
15
|
import { Defaults } from "./Defaults";
|
|
16
|
+
import { PathFigure } from "igniteui-webcomponents-core";
|
|
17
17
|
import { Extensions } from "igniteui-webcomponents-core";
|
|
18
18
|
import { Numeric } from "igniteui-webcomponents-core";
|
|
19
19
|
import { Color } from "igniteui-webcomponents-core";
|
|
@@ -73,11 +73,11 @@ var RadialBucketCalculator = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
73
73
|
this.b = 0;
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
|
-
var e = Math.floor(d.
|
|
77
|
-
var f = Math.ceil(d.
|
|
76
|
+
var e = Math.floor(d.mz(c, b));
|
|
77
|
+
var f = Math.ceil(d.my(c, b));
|
|
78
78
|
if (d.ch) {
|
|
79
|
-
f = Math.ceil(d.
|
|
80
|
-
e = Math.floor(d.
|
|
79
|
+
f = Math.ceil(d.mz(c, b));
|
|
80
|
+
e = Math.floor(d.my(c, b));
|
|
81
81
|
}
|
|
82
82
|
if (f < e) {
|
|
83
83
|
f = d.lf + f;
|
|
@@ -286,16 +286,16 @@ var RangeCategorySeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
286
286
|
};
|
|
287
287
|
RangeCategorySeries.prototype.jv = function (a, b) {
|
|
288
288
|
var c = this.lw(b);
|
|
289
|
-
if (c == RangeCategorySeries.$$p[
|
|
289
|
+
if (c == RangeCategorySeries.$$p[0]) {
|
|
290
290
|
return this.jw(a, b, this.xp);
|
|
291
291
|
}
|
|
292
292
|
if (c == RangeCategorySeries.$$p[3]) {
|
|
293
293
|
return this.jw(a, b, this.xs);
|
|
294
294
|
}
|
|
295
|
-
if (c == RangeCategorySeries.$$p[
|
|
295
|
+
if (c == RangeCategorySeries.$$p[2]) {
|
|
296
296
|
return this.jw(a, b, this.xn);
|
|
297
297
|
}
|
|
298
|
-
if (c == RangeCategorySeries.$$p[
|
|
298
|
+
if (c == RangeCategorySeries.$$p[1]) {
|
|
299
299
|
return this.jw(a, b, this.xl);
|
|
300
300
|
}
|
|
301
301
|
return _super.prototype.jv.call(this, a, b);
|
|
@@ -484,7 +484,7 @@ var RangeCategorySeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
484
484
|
this.pq(this.fr && this.dp);
|
|
485
485
|
}
|
|
486
486
|
break;
|
|
487
|
-
case RangeCategorySeries.$$p[
|
|
487
|
+
case RangeCategorySeries.$$p[0]:
|
|
488
488
|
if (this.c7 != null) {
|
|
489
489
|
this.c7.deregisterColumn(this.highColumn);
|
|
490
490
|
this.highColumn = this.c4(this.xp);
|
|
@@ -671,7 +671,7 @@ var RangeCategorySeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
671
671
|
configurable: true
|
|
672
672
|
});
|
|
673
673
|
RangeCategorySeries.$t = markType(RangeCategorySeries, 'RangeCategorySeries', CategorySeries.$, [IIsCategoryBased_$type, IHasHighLowValueCategory_$type]);
|
|
674
|
-
RangeCategorySeries.$$p = markDep(DependencyProperty, PropertyMetadata, RangeCategorySeries, 'raisePropertyChanged', ['
|
|
674
|
+
RangeCategorySeries.$$p = markDep(DependencyProperty, PropertyMetadata, RangeCategorySeries, 'raisePropertyChanged', ['HighMemberPath:xp:xz', [2, null], 'HighlightedHighMemberPath:xl:xx', [2, null], 'HighlightedLowMemberPath:xn:xy', [2, null], 'LowMemberPath:xs:x0', [2, null]]);
|
|
675
675
|
return RangeCategorySeries;
|
|
676
676
|
}(CategorySeries));
|
|
677
677
|
export { RangeCategorySeries };
|
|
@@ -752,7 +752,7 @@ var ScatterBase = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
752
752
|
var n = { $type: Point_$type, x: this.vg[j], y: this.vh[j] };
|
|
753
753
|
var o = { $type: Point_$type, x: this.vg[j - 1], y: this.vh[j - 1] };
|
|
754
754
|
if (!b || (e.j.containsKey(this.c7.item(j)) && e.j.containsKey(this.c7.item(j - 1)))) {
|
|
755
|
-
var p = GeometryUtil.
|
|
755
|
+
var p = GeometryUtil.i(h, o, n);
|
|
756
756
|
return (j - 1) + p;
|
|
757
757
|
}
|
|
758
758
|
else if (e.j.containsKey(this.c7.item(j))) {
|
|
@@ -31,8 +31,8 @@ import { isNaN_ } from "igniteui-webcomponents-core";
|
|
|
31
31
|
import { Pool$1 } from "igniteui-webcomponents-core";
|
|
32
32
|
import { PathGeometry } from "igniteui-webcomponents-core";
|
|
33
33
|
import { PathFigure } from "igniteui-webcomponents-core";
|
|
34
|
-
import { PolyLineSegment } from "igniteui-webcomponents-core";
|
|
35
34
|
import { PointCollectionUtil } from "igniteui-webcomponents-core";
|
|
35
|
+
import { PolyLineSegment } from "igniteui-webcomponents-core";
|
|
36
36
|
import { Tuple$2 } from "igniteui-webcomponents-core";
|
|
37
37
|
import { GeometryUtil } from "igniteui-webcomponents-core";
|
|
38
38
|
import { stringIsNullOrEmpty } from "igniteui-webcomponents-core";
|
|
@@ -12,8 +12,8 @@ import { ScatterFrame } from "./ScatterFrame";
|
|
|
12
12
|
import { ScatterSplineSeriesView } from "./ScatterSplineSeriesView";
|
|
13
13
|
import { Defaults } from "./Defaults";
|
|
14
14
|
import { Clipper } from "igniteui-webcomponents-core";
|
|
15
|
-
import { ScalerParams } from "./ScalerParams";
|
|
16
15
|
import { OwnedPoint } from "./OwnedPoint";
|
|
16
|
+
import { ScalerParams } from "./ScalerParams";
|
|
17
17
|
import { PathGeometry } from "igniteui-webcomponents-core";
|
|
18
18
|
import { Numeric } from "igniteui-webcomponents-core";
|
|
19
19
|
import { PropertyMetadata } from "igniteui-webcomponents-core";
|
|
@@ -201,7 +201,7 @@ var ScatterTriangulationSeries = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
201
201
|
}
|
|
202
202
|
this.om();
|
|
203
203
|
break;
|
|
204
|
-
case ScatterTriangulationSeries.$$p[
|
|
204
|
+
case ScatterTriangulationSeries.$$p[4]:
|
|
205
205
|
if (this.trianglesSource != null) {
|
|
206
206
|
this.ve();
|
|
207
207
|
this.uh = ((function () {
|
|
@@ -233,7 +233,7 @@ var ScatterTriangulationSeries = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
233
233
|
this.pq(false);
|
|
234
234
|
this.om();
|
|
235
235
|
break;
|
|
236
|
-
case ScatterTriangulationSeries.$$p[
|
|
236
|
+
case ScatterTriangulationSeries.$$p[1]:
|
|
237
237
|
if (this.uh != null) {
|
|
238
238
|
this.uh.deregisterColumn(this.uc);
|
|
239
239
|
this.uc = this.ub(this.uh, this.us);
|
|
@@ -241,7 +241,7 @@ var ScatterTriangulationSeries = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
241
241
|
this.pq(false);
|
|
242
242
|
this.om();
|
|
243
243
|
break;
|
|
244
|
-
case ScatterTriangulationSeries.$$p[
|
|
244
|
+
case ScatterTriangulationSeries.$$p[2]:
|
|
245
245
|
if (this.uh != null) {
|
|
246
246
|
this.uh.deregisterColumn(this.ud);
|
|
247
247
|
this.ud = this.ub(this.uh, this.uu);
|
|
@@ -249,7 +249,7 @@ var ScatterTriangulationSeries = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
249
249
|
this.pq(false);
|
|
250
250
|
this.om();
|
|
251
251
|
break;
|
|
252
|
-
case ScatterTriangulationSeries.$$p[
|
|
252
|
+
case ScatterTriangulationSeries.$$p[3]:
|
|
253
253
|
if (this.uh != null) {
|
|
254
254
|
this.uh.deregisterColumn(this.ue);
|
|
255
255
|
this.ue = this.ub(this.uh, this.uw);
|
|
@@ -403,7 +403,7 @@ var ScatterTriangulationSeries = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
403
403
|
return i;
|
|
404
404
|
};
|
|
405
405
|
ScatterTriangulationSeries.$t = markType(ScatterTriangulationSeries, 'ScatterTriangulationSeries', Series.$);
|
|
406
|
-
ScatterTriangulationSeries.$$p = markDep(DependencyProperty, PropertyMetadata, ScatterTriangulationSeries, 'raisePropertyChanged', ['FastTrianglesSource:uh:vi', [IFastItemsSource_$type, null], '
|
|
406
|
+
ScatterTriangulationSeries.$$p = markDep(DependencyProperty, PropertyMetadata, ScatterTriangulationSeries, 'raisePropertyChanged', ['FastTrianglesSource:uh:vi', [IFastItemsSource_$type, null], 'TriangleVertexMemberPath1:us:vk', [2, null], 'TriangleVertexMemberPath2:uu:vl', [2, null], 'TriangleVertexMemberPath3:uw:vm', [2, null], 'TrianglesSource::vj', [IEnumerable_$type, null], 'XAxis:t2:vn', [NumericXAxis.$, null], 'XMemberAsLegendLabel:u0:vo', [2, null], 'XMemberAsLegendUnit:u2:vp', [2, null], 'XMemberPath:u4:vq', [2, null], 'YAxis:t3:vr', [NumericYAxis.$, null], 'YMemberAsLegendLabel:u8:vs', [2, null], 'YMemberAsLegendUnit:va:vt', [2, null], 'YMemberPath:vc:vu', [2, null]]);
|
|
407
407
|
return ScatterTriangulationSeries;
|
|
408
408
|
}(Series));
|
|
409
409
|
export { ScatterTriangulationSeries };
|