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.
Files changed (79) hide show
  1. package/bundles/igniteui-webcomponents-charts.umd.js +1088 -948
  2. package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
  3. package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
  4. package/esm2015/lib/CalloutLayer_combined.js +1 -1
  5. package/esm2015/lib/CategoryBucketCalculator_combined.js +50 -50
  6. package/esm2015/lib/DataLegendContent_combined.js +7 -0
  7. package/esm2015/lib/DataLegendVisualData_combined.js +24 -14
  8. package/esm2015/lib/DataPieBaseChart.js +311 -298
  9. package/esm2015/lib/DataPieChart.js +73 -73
  10. package/esm2015/lib/FinancialLegend_combined.js +3 -3
  11. package/esm2015/lib/ItemLegend_combined.js +26 -25
  12. package/esm2015/lib/LegendBaseViewManager_combined.js +118 -100
  13. package/esm2015/lib/Legend_combined.js +13 -13
  14. package/esm2015/lib/PieChartViewManager_combined.js +11 -1
  15. package/esm2015/lib/PolarBase_combined.js +24 -24
  16. package/esm2015/lib/RadialBucketCalculator_combined.js +32 -32
  17. package/esm2015/lib/RadialPieSeries_combined.js +153 -78
  18. package/esm2015/lib/ScaleLegend_combined.js +82 -82
  19. package/esm2015/lib/ScatterBase_combined.js +23 -22
  20. package/esm2015/lib/ScatterPolygonSeries_combined.js +20 -20
  21. package/esm2015/lib/SeriesViewer_combined.js +2 -2
  22. package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +2 -2
  23. package/esm2015/lib/igc-data-pie-base-chart-component.js +91 -83
  24. package/esm2015/lib/igc-data-pie-chart-component.js +23 -23
  25. package/esm2015/lib/igc-pie-chart-base-component.js +1 -1
  26. package/esm2015/lib/igc-radial-pie-series-component.js +20 -9
  27. package/esm2015/public_api.js +0 -1
  28. package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
  29. package/esm5/lib/CalloutLayer_combined.js +1 -1
  30. package/esm5/lib/CategoryBucketCalculator_combined.js +50 -50
  31. package/esm5/lib/DataLegendContent_combined.js +7 -0
  32. package/esm5/lib/DataLegendVisualData_combined.js +28 -14
  33. package/esm5/lib/DataPieBaseChart.js +285 -268
  34. package/esm5/lib/DataPieChart.js +65 -65
  35. package/esm5/lib/FinancialLegend_combined.js +3 -3
  36. package/esm5/lib/ItemLegend_combined.js +26 -25
  37. package/esm5/lib/LegendBaseViewManager_combined.js +118 -100
  38. package/esm5/lib/Legend_combined.js +13 -13
  39. package/esm5/lib/PieChartViewManager_combined.js +11 -1
  40. package/esm5/lib/PolarBase_combined.js +24 -24
  41. package/esm5/lib/RadialBucketCalculator_combined.js +32 -32
  42. package/esm5/lib/RadialPieSeries_combined.js +160 -76
  43. package/esm5/lib/ScaleLegend_combined.js +82 -82
  44. package/esm5/lib/ScatterBase_combined.js +23 -22
  45. package/esm5/lib/ScatterPolygonSeries_combined.js +20 -20
  46. package/esm5/lib/SeriesViewer_combined.js +2 -2
  47. package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +2 -2
  48. package/esm5/lib/igc-data-pie-base-chart-component.js +95 -83
  49. package/esm5/lib/igc-data-pie-chart-component.js +23 -23
  50. package/esm5/lib/igc-pie-chart-base-component.js +1 -1
  51. package/esm5/lib/igc-radial-pie-series-component.js +24 -9
  52. package/esm5/public_api.js +0 -1
  53. package/fesm2015/igniteui-webcomponents-charts.js +1101 -984
  54. package/fesm5/igniteui-webcomponents-charts.js +1087 -945
  55. package/lib/AnchoredRadialBucketCalculator_combined.d.ts +1 -1
  56. package/lib/CategoryBucketCalculator_combined.d.ts +1 -1
  57. package/lib/DataLegendVisualData_combined.d.ts +5 -1
  58. package/lib/DataPieBaseChart.d.ts +96 -92
  59. package/lib/DataPieChart.d.ts +26 -26
  60. package/lib/ItemLegend_combined.d.ts +5 -5
  61. package/lib/LegendBaseViewManager_combined.d.ts +33 -32
  62. package/lib/Legend_combined.d.ts +2 -2
  63. package/lib/PieChartViewManager_combined.d.ts +1 -1
  64. package/lib/PolarBase_combined.d.ts +1 -1
  65. package/lib/RadialBucketCalculator_combined.d.ts +2 -2
  66. package/lib/RadialPieSeries_combined.d.ts +18 -12
  67. package/lib/ScaleLegend_combined.d.ts +23 -23
  68. package/lib/ScatterBase_combined.d.ts +1 -1
  69. package/lib/ScatterPolygonSeries_combined.d.ts +1 -1
  70. package/lib/SeriesViewer_combined.d.ts +1 -1
  71. package/lib/StackedSeriesCreatedEventArgs_combined.d.ts +1 -1
  72. package/lib/igc-data-pie-base-chart-component.d.ts +3 -0
  73. package/lib/igc-pie-chart-base-component.d.ts +1 -1
  74. package/lib/igc-radial-pie-series-component.d.ts +6 -0
  75. package/package.json +2 -2
  76. package/public_api.d.ts +0 -1
  77. package/esm2015/lib/LegendEmptyValuesMode.js +0 -29
  78. package/esm5/lib/LegendEmptyValuesMode.js +0 -29
  79. package/lib/LegendEmptyValuesMode.d.ts +0 -22
@@ -269,41 +269,41 @@ export let IgcDataPieChartComponent = /*@__PURE__*/ (() => {
269
269
  * Gets or sets the duration used for animating series plots when the chart is loading into view
270
270
  */
271
271
  get transitionInDuration() {
272
- return this.i.ake;
272
+ return this.i.akh;
273
273
  }
274
274
  set transitionInDuration(v) {
275
- this.i.ake = +v;
276
- this._a("transitionInDuration", this.i.ake);
275
+ this.i.akh = +v;
276
+ this._a("transitionInDuration", this.i.akh);
277
277
  }
278
278
  /**
279
279
  * Gets or sets the duration used for animating series plots when the series is leaving view
280
280
  */
281
281
  get transitionOutDuration() {
282
- return this.i.akf;
282
+ return this.i.aki;
283
283
  }
284
284
  set transitionOutDuration(v) {
285
- this.i.akf = +v;
286
- this._a("transitionOutDuration", this.i.akf);
285
+ this.i.aki = +v;
286
+ this._a("transitionOutDuration", this.i.aki);
287
287
  }
288
288
  /**
289
289
  * Gets or sets the easing function used for animating series plots when the chart is loading into view
290
290
  * This can be set to one of the known values "linear" or "cubic," or it can be set to an easing function which takes a single numeric parameter and returns a number.
291
291
  */
292
292
  get transitionInEasingFunction() {
293
- return this.i.aj8;
293
+ return this.i.akb;
294
294
  }
295
295
  set transitionInEasingFunction(v) {
296
- this.i.aj8 = v;
296
+ this.i.akb = v;
297
297
  }
298
298
  /**
299
299
  * Gets or sets the easing function used for animating series plots when the chart is loading into view
300
300
  * This can be set to one of the known values "linear" or "cubic," or it can be set to an easing function which takes a single numeric parameter and returns a number.
301
301
  */
302
302
  get transitionOutEasingFunction() {
303
- return this.i.aj9;
303
+ return this.i.akc;
304
304
  }
305
305
  set transitionOutEasingFunction(v) {
306
- this.i.aj9 = v;
306
+ this.i.akc = v;
307
307
  }
308
308
  /**
309
309
  * Gets the domain type of this chart
@@ -315,48 +315,48 @@ export let IgcDataPieChartComponent = /*@__PURE__*/ (() => {
315
315
  * Gets or sets the type of chart series to generate from the data.
316
316
  */
317
317
  get chartType() {
318
- return this.i.aj3;
318
+ return this.i.aj6;
319
319
  }
320
320
  set chartType(v) {
321
- this.i.aj3 = ensureEnum(DataPieChartType_$type, v);
322
- this._a("chartType", enumToString(DataPieChartType_$type, this.i.aj3));
321
+ this.i.aj6 = ensureEnum(DataPieChartType_$type, v);
322
+ this._a("chartType", enumToString(DataPieChartType_$type, this.i.aj6));
323
323
  }
324
324
  /**
325
325
  * Gets or sets whether animation of series plots is enabled when the chart is loading into view
326
326
  */
327
327
  get isTransitionInEnabled() {
328
- return this.i.akb;
328
+ return this.i.ake;
329
329
  }
330
330
  set isTransitionInEnabled(v) {
331
- this.i.akb = ensureBool(v);
332
- this._a("isTransitionInEnabled", this.i.akb);
331
+ this.i.ake = ensureBool(v);
332
+ this._a("isTransitionInEnabled", this.i.ake);
333
333
  }
334
334
  /**
335
335
  * Gets or sets the method that determines how to animate series plots when the chart is loading into view
336
336
  */
337
337
  get transitionInMode() {
338
- return this.i.aj1;
338
+ return this.i.aj4;
339
339
  }
340
340
  set transitionInMode(v) {
341
- this.i.aj1 = ensureEnum(CategoryTransitionInMode_$type, v);
342
- this._a("transitionInMode", enumToString(CategoryTransitionInMode_$type, this.i.aj1));
341
+ this.i.aj4 = ensureEnum(CategoryTransitionInMode_$type, v);
342
+ this._a("transitionInMode", enumToString(CategoryTransitionInMode_$type, this.i.aj4));
343
343
  }
344
344
  /**
345
345
  * Gets or sets the arrival speed used for animating series plots when the chart is loading into view
346
346
  */
347
347
  get transitionInSpeedType() {
348
- return this.i.aj5;
348
+ return this.i.aj8;
349
349
  }
350
350
  set transitionInSpeedType(v) {
351
- this.i.aj5 = ensureEnum(TransitionInSpeedType_$type, v);
352
- this._a("transitionInSpeedType", enumToString(TransitionInSpeedType_$type, this.i.aj5));
351
+ this.i.aj8 = ensureEnum(TransitionInSpeedType_$type, v);
352
+ this._a("transitionInSpeedType", enumToString(TransitionInSpeedType_$type, this.i.aj8));
353
353
  }
354
354
  /**
355
355
  * Export serialized visual data.
356
356
 
357
357
  */
358
358
  exportSerializedVisualData() {
359
- let iv = this.i.akh();
359
+ let iv = this.i.akk();
360
360
  return (iv);
361
361
  }
362
362
  }
@@ -6,7 +6,7 @@ import { LeaderLineType_$type } from "./LeaderLineType";
6
6
  import { OthersCategoryType_$type } from "igniteui-webcomponents-core";
7
7
  import { IgcIndexCollection } from "./igc-index-collection";
8
8
  import { SweepDirection_$type } from "igniteui-webcomponents-core";
9
- import { LegendEmptyValuesMode_$type } from "./LegendEmptyValuesMode";
9
+ import { LegendEmptyValuesMode_$type } from "igniteui-webcomponents-core";
10
10
  import { SliceSelectionMode_$type } from "./SliceSelectionMode";
11
11
  import { IgcObjectCollection } from "igniteui-webcomponents-core";
12
12
  import { IgcLabelClickEventArgs } from "./igc-label-click-event-args";
@@ -1,6 +1,7 @@
1
+ import { LegendEmptyValuesMode_$type } from "igniteui-webcomponents-core";
1
2
  import { IgcAnchoredRadialSeriesComponent } from "./igc-anchored-radial-series-component";
2
3
  import { RadialPieSeries } from "./RadialPieSeries";
3
- import { getAllPropertyNames, toSpinal, toPoint, fromRect } from "igniteui-webcomponents-core";
4
+ import { getAllPropertyNames, toSpinal, ensureEnum, enumToString, toPoint, fromRect } from "igniteui-webcomponents-core";
4
5
  import { RegisterElementHelper } from "igniteui-webcomponents-core";
5
6
  /**
6
7
  * Represents a IgxDataChartComponent radial pie series.
@@ -75,30 +76,40 @@ export let IgcRadialPieSeriesComponent = /*@__PURE__*/ (() => {
75
76
  * Gets or sets the x-radius of the ellipse that is used to round the corners of the column.
76
77
  */
77
78
  get radiusX() {
78
- return this.i.adh;
79
+ return this.i.adj;
79
80
  }
80
81
  set radiusX(v) {
81
- this.i.adh = +v;
82
- this._a("radiusX", this.i.adh);
82
+ this.i.adj = +v;
83
+ this._a("radiusX", this.i.adj);
83
84
  }
84
85
  /**
85
86
  * Gets or sets the y-radius of the ellipse that is used to round the corners of the column.
86
87
  */
87
88
  get radiusY() {
88
- return this.i.adi;
89
+ return this.i.adk;
89
90
  }
90
91
  set radiusY(v) {
91
- this.i.adi = +v;
92
- this._a("radiusY", this.i.adi);
92
+ this.i.adk = +v;
93
+ this._a("radiusY", this.i.adk);
93
94
  }
94
95
  /**
95
96
  * Gets or sets the property name that contains the legend labels.
96
97
  */
97
98
  get legendLabelMemberPath() {
98
- return this.i.adl;
99
+ return this.i.ado;
99
100
  }
100
101
  set legendLabelMemberPath(v) {
101
- this.i.adl = v;
102
+ this.i.ado = v;
103
+ }
104
+ /**
105
+ * Determines display mode for zero values in the legend.
106
+ */
107
+ get legendEmptyValuesMode() {
108
+ return this.i.ade;
109
+ }
110
+ set legendEmptyValuesMode(v) {
111
+ this.i.ade = ensureEnum(LegendEmptyValuesMode_$type, v);
112
+ this._a("legendEmptyValuesMode", enumToString(LegendEmptyValuesMode_$type, this.i.ade));
102
113
  }
103
114
  /**
104
115
  * For a category plotted series, returns the current width of the items within the categories. This only returns a value if the items have some form of width (e.g. columns, bars, etc.) otherwise 0 is returned.
@@ -1123,7 +1123,6 @@ export * from './lib/igc-pie-chart-module';
1123
1123
  export * from './lib/igc-pie-chart-component';
1124
1124
  export * from './lib/PieChartViewManager';
1125
1125
  export * from './lib/PieLegendTemplates';
1126
- export * from './lib/LegendEmptyValuesMode';
1127
1126
  export * from './lib/LabelsPosition';
1128
1127
  export * from './lib/LeaderLineType';
1129
1128
  export * from './lib/SliceSelectionMode';
@@ -16,10 +16,10 @@ import { Brush } from "igniteui-webcomponents-core";
16
16
  import { PenLineCap_$type } from "igniteui-webcomponents-core";
17
17
  import { DoubleCollection } from "igniteui-webcomponents-core";
18
18
  import { RadialFrame } from "./RadialFrame";
19
+ import { ProportionalCategoryAngleAxis } from "./ProportionalCategoryAngleAxis";
19
20
  import { ScalerParams } from "./ScalerParams";
20
21
  import { Rect } from "igniteui-webcomponents-core";
21
22
  import { FastItemCoalescingColumn } from "./FastItemCoalescingColumn";
22
- import { ProportionalCategoryAngleAxis } from "./ProportionalCategoryAngleAxis";
23
23
  import { List$1 } from "igniteui-webcomponents-core";
24
24
  import { SeriesLayerPropertyOverlay } from "./SeriesLayerPropertyOverlay";
25
25
  import { DataLegendSeriesValueInfo } from "igniteui-webcomponents-core";
@@ -131,7 +131,7 @@ var AnchoredRadialSeries = /** @class */ /*@__PURE__*/ (function (_super) {
131
131
  };
132
132
  AnchoredRadialSeries.prototype.kr = function (a) {
133
133
  if (this.yr != null && this.yr.cl) {
134
- if (a == this.yr.lh - 1) {
134
+ if (a == this.yr.othersIndex) {
135
135
  return this.yy;
136
136
  }
137
137
  }
@@ -1233,7 +1233,7 @@ var CalloutLayer = /** @class */ /*@__PURE__*/ (function (_super) {
1233
1233
  d = true;
1234
1234
  }
1235
1235
  a.kg = this.zs;
1236
- if (!a.gg && a.d9(this.aa9, this.aa4, this.aa0, this.abn)) {
1236
+ if (!a.gg && a.d9(this.aa9, this.aa4, this.aa0, this.abn, false)) {
1237
1237
  var e = this.aa9;
1238
1238
  var _loop_1 = function (f) {
1239
1239
  var g = e._inner[f];
@@ -765,104 +765,104 @@ var CategorySeries = /** @class */ /*@__PURE__*/ (function (_super) {
765
765
  enumerable: false,
766
766
  configurable: true
767
767
  });
768
- CategorySeries.prototype.d9 = function (a, b, c, d) {
768
+ CategorySeries.prototype.d9 = function (a, b, c, d, e) {
769
769
  var _this = this;
770
770
  if (!this.hasMarkers) {
771
771
  return false;
772
772
  }
773
- var e = this.getEffectiveViewport1(this.ct);
774
- var f = this.yk();
775
- var g = new ScalerParams(1, this.c9.vl, this.wl, f.ch);
776
- g.c = e;
777
- var h = this.y0();
778
- var i = new ScalerParams(1, this.c9.vl, this.wl, h.ch);
779
- i.c = e;
780
- var j = this.c9.vl;
781
- var k = this.wl;
782
- var l = this.currentMode2Index;
783
- var m = 0;
784
- if (f.ce && f.cc) {
785
- m = f.getSeriesOffset(j, k, e, l, f.categoryMode);
773
+ var f = this.getEffectiveViewport1(this.ct);
774
+ var g = this.yk();
775
+ var h = new ScalerParams(1, this.c9.vl, this.wl, g.ch);
776
+ h.c = f;
777
+ var i = this.y0();
778
+ var j = new ScalerParams(1, this.c9.vl, this.wl, i.ch);
779
+ j.c = f;
780
+ var k = this.c9.vl;
781
+ var l = this.wl;
782
+ var m = this.currentMode2Index;
783
+ var n = 0;
784
+ if (g.ce && g.cc) {
785
+ n = g.getSeriesOffset(k, l, f, m, g.categoryMode);
786
786
  }
787
787
  a.clear();
788
- this.wy.cj(function (n) {
789
- if (n._visibility == 0) {
790
- var o = new SeriesPointOfInterest();
791
- var p = n.n;
792
- var q = n.o;
793
- if (p < _this.wl.left || p > _this.wl.right || q < _this.wl.top || q > _this.wl.bottom) {
788
+ this.wy.cj(function (o) {
789
+ if (o._visibility == 0) {
790
+ var p = new SeriesPointOfInterest();
791
+ var q = o.n;
792
+ var r = o.o;
793
+ if (q < _this.wl.left || q > _this.wl.right || r < _this.wl.top || r > _this.wl.bottom) {
794
794
  return;
795
795
  }
796
796
  if (_this.isVertical) {
797
- if (f.cb && !f.ce && f.categoryMode != 0) {
798
- o.e = n.ak;
797
+ if (g.cb && !g.ce && g.categoryMode != 0) {
798
+ p.e = o.ak;
799
799
  }
800
800
  else {
801
- o.e = f.en(q, g);
801
+ p.e = g.en(r, h);
802
802
  }
803
- o.d = h.en(p, i);
803
+ p.d = i.en(q, j);
804
804
  }
805
805
  else {
806
- if (f.cb && !f.ce && f.categoryMode != 0) {
807
- o.d = n.ak;
806
+ if (g.cb && !g.ce && g.categoryMode != 0) {
807
+ p.d = o.ak;
808
808
  }
809
809
  else {
810
- o.d = f.en(p, g);
810
+ p.d = g.en(q, h);
811
811
  }
812
- o.e = h.en(q, i);
812
+ p.e = i.en(r, j);
813
813
  }
814
- o.b = n.content;
814
+ p.b = o.content;
815
815
  if (b) {
816
816
  if (_this.isVertical) {
817
817
  if (c) {
818
- o.f = _this.zq(o.d, d);
818
+ p.f = _this.zq(p.d, d);
819
819
  }
820
820
  else {
821
- var r = _this.jb(n);
822
- if (!isNaN_(r)) {
823
- o.f = _this.zq(r, d);
821
+ var s = _this.jb(o);
822
+ if (!isNaN_(s)) {
823
+ p.f = _this.zq(s, d);
824
824
  }
825
825
  else {
826
- o.f = _this.zq(o.d, d);
826
+ p.f = _this.zq(p.d, d);
827
827
  }
828
828
  }
829
829
  }
830
830
  else {
831
831
  if (c) {
832
- o.f = _this.zq(o.e, d);
832
+ p.f = _this.zq(p.e, d);
833
833
  }
834
834
  else {
835
- var s = _this.jb(n);
836
- if (!isNaN_(s)) {
837
- o.f = _this.zq(s, d);
835
+ var t = _this.jb(o);
836
+ if (!isNaN_(t)) {
837
+ p.f = _this.zq(t, d);
838
838
  }
839
839
  else {
840
- o.f = _this.zq(o.e, d);
840
+ p.f = _this.zq(p.e, d);
841
841
  }
842
842
  }
843
843
  }
844
844
  }
845
845
  else {
846
- var t = _this.at(true);
847
- if (t != null) {
848
- var u = _this.kq(n.ak, false);
849
- if (u != null) {
850
- o.f = t.i(u);
846
+ var u = _this.at(true);
847
+ if (u != null) {
848
+ var v = _this.kq(o.ak, false);
849
+ if (v != null) {
850
+ p.f = u.i(v);
851
851
  }
852
852
  else {
853
- o.f = null;
853
+ p.f = null;
854
854
  }
855
855
  }
856
856
  else {
857
- o.f = f.ge(n.ak);
857
+ p.f = g.ge(o.ak);
858
858
  }
859
859
  }
860
- o.c = n.ak;
861
- o.g = _this.va;
860
+ p.c = o.ak;
861
+ p.g = _this.va;
862
862
  if (_this.g7) {
863
- o.g = _this.vh(n.ak);
863
+ p.g = _this.vh(o.ak);
864
864
  }
865
- a.add(o);
865
+ a.add(p);
866
866
  }
867
867
  });
868
868
  return true;
@@ -34,8 +34,10 @@ import { Extensions } from "igniteui-webcomponents-core";
34
34
  import { TextBlock } from "igniteui-webcomponents-core";
35
35
  import { DataLegendVisualDataRow } from "./DataLegendVisualDataRow";
36
36
  import { DataLegendVisualDataColumn } from "./DataLegendVisualDataColumn";
37
+ import { ILegendContext_$type } from "igniteui-webcomponents-core";
37
38
  import { RectData } from "igniteui-webcomponents-core";
38
39
  import { AppearanceHelper } from "igniteui-webcomponents-core";
40
+ import { PrimitiveAppearanceData } from "igniteui-webcomponents-core";
39
41
  import { FrameworkElement } from "igniteui-webcomponents-core";
40
42
  import { DataLegendSummaryEventArgs } from "./DataLegendSummaryEventArgs";
41
43
  import { DataLegendSummaryCalculationTotal } from "./DataLegendSummaryCalculationTotal";
@@ -776,6 +778,11 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
776
778
  l.badgeMarginBottom = k.z.bottom;
777
779
  l.badgeMarginRight = k.z.right;
778
780
  l.badgeMarginLeft = k.z.left;
781
+ l.badgeAppearance = new PrimitiveAppearanceData();
782
+ var aa = typeCast(ILegendContext_$type, k.n);
783
+ var ab = typeCast(ILegendContext_$type, k.i);
784
+ l.badgeAppearance.fill = AppearanceHelper.b(aa.actualItemBrush);
785
+ l.badgeAppearance.stroke = AppearanceHelper.b(aa.outline);
779
786
  l.badgeShape = k.o;
780
787
  }
781
788
  l.rowBounds = RectData.b(m);
@@ -311,6 +311,7 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
311
311
  _this._badgeMarginRight = 0;
312
312
  _this._badgeMarginBottom = 0;
313
313
  _this._badgeShape = null;
314
+ _this._badgeAppearance = null;
314
315
  _this._rowBounds = null;
315
316
  _this._rowMarginLeft = 0;
316
317
  _this._rowMarginTop = 0;
@@ -400,6 +401,16 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
400
401
  enumerable: false,
401
402
  configurable: true
402
403
  });
404
+ Object.defineProperty(DataLegendVisualDataRow.prototype, "badgeAppearance", {
405
+ get: function () {
406
+ return this._badgeAppearance;
407
+ },
408
+ set: function (a) {
409
+ this._badgeAppearance = a;
410
+ },
411
+ enumerable: false,
412
+ configurable: true
413
+ });
403
414
  Object.defineProperty(DataLegendVisualDataRow.prototype, "rowBounds", {
404
415
  get: function () {
405
416
  return this._rowBounds;
@@ -456,22 +467,25 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
456
467
  var b = " ";
457
468
  var c = new StringBuilder(0);
458
469
  c.u("{");
459
- c.u(b + this.n("badgeMarginLeft") + this.badgeMarginLeft + a);
460
- c.u(b + this.n("badgeMarginTop") + this.badgeMarginTop + a);
461
- c.u(b + this.n("badgeMarginRight") + this.badgeMarginRight + a);
462
- c.u(b + this.n("badgeMarginBottom") + this.badgeMarginBottom + a);
470
+ c.u(b + this.o("badgeMarginLeft") + this.badgeMarginLeft + a);
471
+ c.u(b + this.o("badgeMarginTop") + this.badgeMarginTop + a);
472
+ c.u(b + this.o("badgeMarginRight") + this.badgeMarginRight + a);
473
+ c.u(b + this.o("badgeMarginBottom") + this.badgeMarginBottom + a);
463
474
  if (this.badgeBounds == null) {
464
- c.u(b + this.n("badgeBounds") + "{}" + a);
475
+ c.u(b + this.o("badgeBounds") + "{}" + a);
465
476
  }
466
477
  else {
467
- c.u(b + this.n("badgeBounds") + DataLegendVisualData.serialize1(this.badgeBounds) + a);
478
+ c.u(b + this.o("badgeBounds") + DataLegendVisualData.serialize1(this.badgeBounds) + a);
479
+ }
480
+ c.u(b + this.o("badgeShape") + DataLegendVisualData.serialize1(this.badgeShape) + a);
481
+ if (this.badgeAppearance != null) {
482
+ c.u(b + this.o("badgeAppearance") + this.badgeAppearance.serialize() + a);
468
483
  }
469
- c.u(b + this.n("badgeShape") + DataLegendVisualData.serialize1(this.badgeShape) + a);
470
- c.u(b + this.n("rowBounds") + DataLegendVisualData.serialize1(this.rowBounds) + a);
471
- c.u(b + this.n("rowMarginLeft") + this.rowMarginLeft + a);
472
- c.u(b + this.n("rowMarginTop") + this.rowMarginTop + a);
473
- c.u(b + this.n("rowMarginRight") + this.rowMarginRight + a);
474
- c.u(b + this.n("rowMarginBottom") + this.rowMarginBottom + a);
484
+ c.u(b + this.o("rowBounds") + DataLegendVisualData.serialize1(this.rowBounds) + a);
485
+ c.u(b + this.o("rowMarginLeft") + this.rowMarginLeft + a);
486
+ c.u(b + this.o("rowMarginTop") + this.rowMarginTop + a);
487
+ c.u(b + this.o("rowMarginRight") + this.rowMarginRight + a);
488
+ c.u(b + this.o("rowMarginBottom") + this.rowMarginBottom + a);
475
489
  var d = new List$1(String_$type, 0);
476
490
  try {
477
491
  for (var _b = __values(fromEnum(this.columns)), _c = _b.next(); !_c.done; _c = _b.next()) {
@@ -492,13 +506,13 @@ var DataLegendVisualDataRow = /** @class */ /*@__PURE__*/ (function (_super) {
492
506
  throw e_2.error;
493
507
  }
494
508
  }
495
- c.u(b + this.n("columns") + "[");
509
+ c.u(b + this.o("columns") + "[");
496
510
  c.u(b + b + stringJoin.apply(void 0, __spreadArray([", \n" + b + b], __read(d.toArray()), false)));
497
511
  c.u(b + "]");
498
512
  c.u("}");
499
513
  return c.toString();
500
514
  };
501
- DataLegendVisualDataRow.prototype.n = function (a) {
515
+ DataLegendVisualDataRow.prototype.o = function (a) {
502
516
  return a + ": ";
503
517
  };
504
518
  DataLegendVisualDataRow.$t = markType(DataLegendVisualDataRow, 'DataLegendVisualDataRow');