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
|
@@ -15,10 +15,10 @@ import { Brush } from "igniteui-webcomponents-core";
|
|
|
15
15
|
import { PenLineCap_$type } from "igniteui-webcomponents-core";
|
|
16
16
|
import { DoubleCollection } from "igniteui-webcomponents-core";
|
|
17
17
|
import { RadialFrame } from "./RadialFrame";
|
|
18
|
+
import { ProportionalCategoryAngleAxis } from "./ProportionalCategoryAngleAxis";
|
|
18
19
|
import { ScalerParams } from "./ScalerParams";
|
|
19
20
|
import { Rect } from "igniteui-webcomponents-core";
|
|
20
21
|
import { FastItemCoalescingColumn } from "./FastItemCoalescingColumn";
|
|
21
|
-
import { ProportionalCategoryAngleAxis } from "./ProportionalCategoryAngleAxis";
|
|
22
22
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
23
23
|
import { SeriesLayerPropertyOverlay } from "./SeriesLayerPropertyOverlay";
|
|
24
24
|
import { DataLegendSeriesValueInfo } from "igniteui-webcomponents-core";
|
|
@@ -116,7 +116,7 @@ export let AnchoredRadialSeries = /*@__PURE__*/ (() => {
|
|
|
116
116
|
}
|
|
117
117
|
kr(a) {
|
|
118
118
|
if (this.yr != null && this.yr.cl) {
|
|
119
|
-
if (a == this.yr.
|
|
119
|
+
if (a == this.yr.othersIndex) {
|
|
120
120
|
return this.yy;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
@@ -1151,7 +1151,7 @@ export let CalloutLayer = /*@__PURE__*/ (() => {
|
|
|
1151
1151
|
d = true;
|
|
1152
1152
|
}
|
|
1153
1153
|
a.kg = this.zs;
|
|
1154
|
-
if (!a.gg && a.d9(this.aa9, this.aa4, this.aa0, this.abn)) {
|
|
1154
|
+
if (!a.gg && a.d9(this.aa9, this.aa4, this.aa0, this.abn, false)) {
|
|
1155
1155
|
let e = this.aa9;
|
|
1156
1156
|
for (let f = 0; f < this.aa9.count; f++) {
|
|
1157
1157
|
let g = e._inner[f];
|
|
@@ -711,103 +711,103 @@ export let CategorySeries = /*@__PURE__*/ (() => {
|
|
|
711
711
|
}
|
|
712
712
|
return this.yy;
|
|
713
713
|
}
|
|
714
|
-
d9(a, b, c, d) {
|
|
714
|
+
d9(a, b, c, d, e) {
|
|
715
715
|
if (!this.hasMarkers) {
|
|
716
716
|
return false;
|
|
717
717
|
}
|
|
718
|
-
let
|
|
719
|
-
let
|
|
720
|
-
let
|
|
721
|
-
|
|
722
|
-
let
|
|
723
|
-
let
|
|
724
|
-
|
|
725
|
-
let
|
|
726
|
-
let
|
|
727
|
-
let
|
|
728
|
-
let
|
|
729
|
-
if (
|
|
730
|
-
|
|
718
|
+
let f = this.getEffectiveViewport1(this.ct);
|
|
719
|
+
let g = this.yk();
|
|
720
|
+
let h = new ScalerParams(1, this.c9.vl, this.wl, g.ch);
|
|
721
|
+
h.c = f;
|
|
722
|
+
let i = this.y0();
|
|
723
|
+
let j = new ScalerParams(1, this.c9.vl, this.wl, i.ch);
|
|
724
|
+
j.c = f;
|
|
725
|
+
let k = this.c9.vl;
|
|
726
|
+
let l = this.wl;
|
|
727
|
+
let m = this.currentMode2Index;
|
|
728
|
+
let n = 0;
|
|
729
|
+
if (g.ce && g.cc) {
|
|
730
|
+
n = g.getSeriesOffset(k, l, f, m, g.categoryMode);
|
|
731
731
|
}
|
|
732
732
|
a.clear();
|
|
733
|
-
this.wy.cj((
|
|
734
|
-
if (
|
|
735
|
-
let
|
|
736
|
-
let
|
|
737
|
-
let
|
|
738
|
-
if (
|
|
733
|
+
this.wy.cj((o) => {
|
|
734
|
+
if (o._visibility == 0) {
|
|
735
|
+
let p = new SeriesPointOfInterest();
|
|
736
|
+
let q = o.n;
|
|
737
|
+
let r = o.o;
|
|
738
|
+
if (q < this.wl.left || q > this.wl.right || r < this.wl.top || r > this.wl.bottom) {
|
|
739
739
|
return;
|
|
740
740
|
}
|
|
741
741
|
if (this.isVertical) {
|
|
742
|
-
if (
|
|
743
|
-
|
|
742
|
+
if (g.cb && !g.ce && g.categoryMode != 0) {
|
|
743
|
+
p.e = o.ak;
|
|
744
744
|
}
|
|
745
745
|
else {
|
|
746
|
-
|
|
746
|
+
p.e = g.en(r, h);
|
|
747
747
|
}
|
|
748
|
-
|
|
748
|
+
p.d = i.en(q, j);
|
|
749
749
|
}
|
|
750
750
|
else {
|
|
751
|
-
if (
|
|
752
|
-
|
|
751
|
+
if (g.cb && !g.ce && g.categoryMode != 0) {
|
|
752
|
+
p.d = o.ak;
|
|
753
753
|
}
|
|
754
754
|
else {
|
|
755
|
-
|
|
755
|
+
p.d = g.en(q, h);
|
|
756
756
|
}
|
|
757
|
-
|
|
757
|
+
p.e = i.en(r, j);
|
|
758
758
|
}
|
|
759
|
-
|
|
759
|
+
p.b = o.content;
|
|
760
760
|
if (b) {
|
|
761
761
|
if (this.isVertical) {
|
|
762
762
|
if (c) {
|
|
763
|
-
|
|
763
|
+
p.f = this.zq(p.d, d);
|
|
764
764
|
}
|
|
765
765
|
else {
|
|
766
|
-
let
|
|
767
|
-
if (!isNaN_(
|
|
768
|
-
|
|
766
|
+
let s = this.jb(o);
|
|
767
|
+
if (!isNaN_(s)) {
|
|
768
|
+
p.f = this.zq(s, d);
|
|
769
769
|
}
|
|
770
770
|
else {
|
|
771
|
-
|
|
771
|
+
p.f = this.zq(p.d, d);
|
|
772
772
|
}
|
|
773
773
|
}
|
|
774
774
|
}
|
|
775
775
|
else {
|
|
776
776
|
if (c) {
|
|
777
|
-
|
|
777
|
+
p.f = this.zq(p.e, d);
|
|
778
778
|
}
|
|
779
779
|
else {
|
|
780
|
-
let
|
|
781
|
-
if (!isNaN_(
|
|
782
|
-
|
|
780
|
+
let t = this.jb(o);
|
|
781
|
+
if (!isNaN_(t)) {
|
|
782
|
+
p.f = this.zq(t, d);
|
|
783
783
|
}
|
|
784
784
|
else {
|
|
785
|
-
|
|
785
|
+
p.f = this.zq(p.e, d);
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
}
|
|
790
790
|
else {
|
|
791
|
-
let
|
|
792
|
-
if (
|
|
793
|
-
let
|
|
794
|
-
if (
|
|
795
|
-
|
|
791
|
+
let u = this.at(true);
|
|
792
|
+
if (u != null) {
|
|
793
|
+
let v = this.kq(o.ak, false);
|
|
794
|
+
if (v != null) {
|
|
795
|
+
p.f = u.i(v);
|
|
796
796
|
}
|
|
797
797
|
else {
|
|
798
|
-
|
|
798
|
+
p.f = null;
|
|
799
799
|
}
|
|
800
800
|
}
|
|
801
801
|
else {
|
|
802
|
-
|
|
802
|
+
p.f = g.ge(o.ak);
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
|
-
|
|
806
|
-
|
|
805
|
+
p.c = o.ak;
|
|
806
|
+
p.g = this.va;
|
|
807
807
|
if (this.g7) {
|
|
808
|
-
|
|
808
|
+
p.g = this.vh(o.ak);
|
|
809
809
|
}
|
|
810
|
-
a.add(
|
|
810
|
+
a.add(p);
|
|
811
811
|
}
|
|
812
812
|
});
|
|
813
813
|
return true;
|
|
@@ -33,8 +33,10 @@ import { Extensions } from "igniteui-webcomponents-core";
|
|
|
33
33
|
import { TextBlock } from "igniteui-webcomponents-core";
|
|
34
34
|
import { DataLegendVisualDataRow } from "./DataLegendVisualDataRow";
|
|
35
35
|
import { DataLegendVisualDataColumn } from "./DataLegendVisualDataColumn";
|
|
36
|
+
import { ILegendContext_$type } from "igniteui-webcomponents-core";
|
|
36
37
|
import { RectData } from "igniteui-webcomponents-core";
|
|
37
38
|
import { AppearanceHelper } from "igniteui-webcomponents-core";
|
|
39
|
+
import { PrimitiveAppearanceData } from "igniteui-webcomponents-core";
|
|
38
40
|
import { FrameworkElement } from "igniteui-webcomponents-core";
|
|
39
41
|
import { DataLegendSummaryEventArgs } from "./DataLegendSummaryEventArgs";
|
|
40
42
|
import { DataLegendSummaryCalculationTotal } from "./DataLegendSummaryCalculationTotal";
|
|
@@ -642,6 +644,11 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
642
644
|
l.badgeMarginBottom = k.z.bottom;
|
|
643
645
|
l.badgeMarginRight = k.z.right;
|
|
644
646
|
l.badgeMarginLeft = k.z.left;
|
|
647
|
+
l.badgeAppearance = new PrimitiveAppearanceData();
|
|
648
|
+
let aa = typeCast(ILegendContext_$type, k.n);
|
|
649
|
+
let ab = typeCast(ILegendContext_$type, k.i);
|
|
650
|
+
l.badgeAppearance.fill = AppearanceHelper.b(aa.actualItemBrush);
|
|
651
|
+
l.badgeAppearance.stroke = AppearanceHelper.b(aa.outline);
|
|
645
652
|
l.badgeShape = k.o;
|
|
646
653
|
}
|
|
647
654
|
l.rowBounds = RectData.b(m);
|
|
@@ -227,6 +227,7 @@ export let DataLegendVisualDataRow = /*@__PURE__*/ (() => {
|
|
|
227
227
|
this._badgeMarginRight = 0;
|
|
228
228
|
this._badgeMarginBottom = 0;
|
|
229
229
|
this._badgeShape = null;
|
|
230
|
+
this._badgeAppearance = null;
|
|
230
231
|
this._rowBounds = null;
|
|
231
232
|
this._rowMarginLeft = 0;
|
|
232
233
|
this._rowMarginTop = 0;
|
|
@@ -283,6 +284,12 @@ export let DataLegendVisualDataRow = /*@__PURE__*/ (() => {
|
|
|
283
284
|
set badgeShape(a) {
|
|
284
285
|
this._badgeShape = a;
|
|
285
286
|
}
|
|
287
|
+
get badgeAppearance() {
|
|
288
|
+
return this._badgeAppearance;
|
|
289
|
+
}
|
|
290
|
+
set badgeAppearance(a) {
|
|
291
|
+
this._badgeAppearance = a;
|
|
292
|
+
}
|
|
286
293
|
get rowBounds() {
|
|
287
294
|
return this._rowBounds;
|
|
288
295
|
}
|
|
@@ -318,33 +325,36 @@ export let DataLegendVisualDataRow = /*@__PURE__*/ (() => {
|
|
|
318
325
|
let b = " ";
|
|
319
326
|
let c = new StringBuilder(0);
|
|
320
327
|
c.u("{");
|
|
321
|
-
c.u(b + this.
|
|
322
|
-
c.u(b + this.
|
|
323
|
-
c.u(b + this.
|
|
324
|
-
c.u(b + this.
|
|
328
|
+
c.u(b + this.o("badgeMarginLeft") + this.badgeMarginLeft + a);
|
|
329
|
+
c.u(b + this.o("badgeMarginTop") + this.badgeMarginTop + a);
|
|
330
|
+
c.u(b + this.o("badgeMarginRight") + this.badgeMarginRight + a);
|
|
331
|
+
c.u(b + this.o("badgeMarginBottom") + this.badgeMarginBottom + a);
|
|
325
332
|
if (this.badgeBounds == null) {
|
|
326
|
-
c.u(b + this.
|
|
333
|
+
c.u(b + this.o("badgeBounds") + "{}" + a);
|
|
327
334
|
}
|
|
328
335
|
else {
|
|
329
|
-
c.u(b + this.
|
|
336
|
+
c.u(b + this.o("badgeBounds") + DataLegendVisualData.serialize1(this.badgeBounds) + a);
|
|
337
|
+
}
|
|
338
|
+
c.u(b + this.o("badgeShape") + DataLegendVisualData.serialize1(this.badgeShape) + a);
|
|
339
|
+
if (this.badgeAppearance != null) {
|
|
340
|
+
c.u(b + this.o("badgeAppearance") + this.badgeAppearance.serialize() + a);
|
|
330
341
|
}
|
|
331
|
-
c.u(b + this.
|
|
332
|
-
c.u(b + this.
|
|
333
|
-
c.u(b + this.
|
|
334
|
-
c.u(b + this.
|
|
335
|
-
c.u(b + this.
|
|
336
|
-
c.u(b + this.n("rowMarginBottom") + this.rowMarginBottom + a);
|
|
342
|
+
c.u(b + this.o("rowBounds") + DataLegendVisualData.serialize1(this.rowBounds) + a);
|
|
343
|
+
c.u(b + this.o("rowMarginLeft") + this.rowMarginLeft + a);
|
|
344
|
+
c.u(b + this.o("rowMarginTop") + this.rowMarginTop + a);
|
|
345
|
+
c.u(b + this.o("rowMarginRight") + this.rowMarginRight + a);
|
|
346
|
+
c.u(b + this.o("rowMarginBottom") + this.rowMarginBottom + a);
|
|
337
347
|
let d = new List$1(String_$type, 0);
|
|
338
348
|
for (let e of fromEnum(this.columns)) {
|
|
339
349
|
d.add(e.serialize());
|
|
340
350
|
}
|
|
341
|
-
c.u(b + this.
|
|
351
|
+
c.u(b + this.o("columns") + "[");
|
|
342
352
|
c.u(b + b + stringJoin(", \n" + b + b, ...d.toArray()));
|
|
343
353
|
c.u(b + "]");
|
|
344
354
|
c.u("}");
|
|
345
355
|
return c.toString();
|
|
346
356
|
}
|
|
347
|
-
|
|
357
|
+
o(a) {
|
|
348
358
|
return a + ": ";
|
|
349
359
|
}
|
|
350
360
|
}
|