igniteui-webcomponents-charts 4.3.3-beta.0 → 4.3.3-beta.2

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 (152) hide show
  1. package/bundles/igniteui-webcomponents-charts.umd.js +7780 -7646
  2. package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
  3. package/esm2015/lib/AnchoredCategorySeriesInteractionManager.js +1 -1
  4. package/esm2015/lib/AnchoredCategorySeries_combined.js +2 -2
  5. package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
  6. package/esm2015/lib/AngleAxisLabelPanel_combined.js +10 -10
  7. package/esm2015/lib/AnnotationLayer_combined.js +4 -4
  8. package/esm2015/lib/AxisAnnotationFrameManager.js +2 -2
  9. package/esm2015/lib/AxisAnnotationManager.js +1 -1
  10. package/esm2015/lib/BollingerBandsOverlay_combined.js +1 -1
  11. package/esm2015/lib/BubbleSeries_combined.js +4 -4
  12. package/esm2015/lib/CalloutLayer_combined.js +3 -3
  13. package/esm2015/lib/CategoryBucketCalculator_combined.js +5 -5
  14. package/esm2015/lib/CategoryChart.js +429 -429
  15. package/esm2015/lib/CategoryChartToolbarProvider.js +8 -8
  16. package/esm2015/lib/CategoryDateTimeXAxis_combined.js +4 -4
  17. package/esm2015/lib/CategoryItemHighlightLayer_combined.js +10 -10
  18. package/esm2015/lib/CategoryToolTipLayer_combined.js +2 -2
  19. package/esm2015/lib/CategoryXAxis_combined.js +20 -20
  20. package/esm2015/lib/CategoryYAxis_combined.js +20 -20
  21. package/esm2015/lib/ColumnSeries_combined.js +2 -2
  22. package/esm2015/lib/DataChartToolbarProvider.js +6 -6
  23. package/esm2015/lib/DataChartVisualDataManager.js +1 -1
  24. package/esm2015/lib/DataLegendContent_combined.js +251 -243
  25. package/esm2015/lib/DataToolTipLayer_combined.js +6 -6
  26. package/esm2015/lib/DomainChartToolbarProvider.js +15 -15
  27. package/esm2015/lib/DomainChart_combined.js +1520 -1512
  28. package/esm2015/lib/FinancialChartDropDownControl.js +10 -3
  29. package/esm2015/lib/FinancialChartIndicatorMenuView.js +26 -16
  30. package/esm2015/lib/FinancialChart_combined.js +1320 -1320
  31. package/esm2015/lib/FinancialEventArgs_combined.js +1 -1
  32. package/esm2015/lib/FinancialIndicator_combined.js +1 -1
  33. package/esm2015/lib/FinancialPriceSeries_combined.js +4 -4
  34. package/esm2015/lib/HighDensityScatterSeries_combined.js +4 -4
  35. package/esm2015/lib/HorizontalAnchoredCategorySeries.js +3 -3
  36. package/esm2015/lib/HorizontalRangeCategorySeries.js +6 -6
  37. package/esm2015/lib/NumericXAxis_combined.js +3 -3
  38. package/esm2015/lib/NumericYAxis_combined.js +3 -3
  39. package/esm2015/lib/OrdinalTimeXAxis.js +2 -2
  40. package/esm2015/lib/PolarBase_combined.js +3 -3
  41. package/esm2015/lib/PolarLineSeriesBase_combined.js +1 -1
  42. package/esm2015/lib/PriceChannelOverlay_combined.js +2 -2
  43. package/esm2015/lib/RadialAxisLabelPanel_combined.js +1 -1
  44. package/esm2015/lib/RadialBucketCalculator_combined.js +3 -3
  45. package/esm2015/lib/RangeCategoryBucketCalculator_combined.js +2 -2
  46. package/esm2015/lib/ScatterAreaSeries_combined.js +1 -1
  47. package/esm2015/lib/ScatterBase_combined.js +9 -9
  48. package/esm2015/lib/ScatterPolygonSeries_combined.js +14 -14
  49. package/esm2015/lib/SeriesInteractionManager.js +22 -22
  50. package/esm2015/lib/SeriesViewerInteractionManager.js +124 -124
  51. package/esm2015/lib/SeriesViewerScrollbarManager.js +4 -4
  52. package/esm2015/lib/SeriesViewerSurfaceViewer.js +9 -9
  53. package/esm2015/lib/SeriesViewer_combined.js +1719 -1667
  54. package/esm2015/lib/SeriesVisualDataManager.js +20 -20
  55. package/esm2015/lib/ShapeSeriesBase_combined.js +2 -2
  56. package/esm2015/lib/SplineSeriesBase_combined.js +1 -1
  57. package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +23 -23
  58. package/esm2015/lib/TileZoomManager_combined.js +4 -4
  59. package/esm2015/lib/TimeAxisBase.js +6 -6
  60. package/esm2015/lib/TimeXAxis.js +9 -9
  61. package/esm2015/lib/ValueOverlay_combined.js +1 -1
  62. package/esm2015/lib/VerticalAnchoredCategorySeries.js +5 -5
  63. package/esm2015/lib/VerticalAnchoredCategorySeriesInteractionManager.js +1 -1
  64. package/esm2015/lib/XYChart.js +742 -742
  65. package/esm2015/lib/igc-category-chart-component.js +126 -126
  66. package/esm2015/lib/igc-data-chart-component.js +95 -95
  67. package/esm2015/lib/igc-domain-chart-component.js +548 -545
  68. package/esm2015/lib/igc-financial-chart-component.js +172 -172
  69. package/esm2015/lib/igc-financial-chart-default-templates-component.js +22 -3
  70. package/esm2015/lib/igc-series-viewer-component.js +258 -255
  71. package/esm2015/lib/igc-xy-chart-component.js +218 -218
  72. package/esm5/lib/AnchoredCategorySeriesInteractionManager.js +1 -1
  73. package/esm5/lib/AnchoredCategorySeries_combined.js +2 -2
  74. package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
  75. package/esm5/lib/AngleAxisLabelPanel_combined.js +10 -10
  76. package/esm5/lib/AnnotationLayer_combined.js +4 -4
  77. package/esm5/lib/AxisAnnotationFrameManager.js +2 -2
  78. package/esm5/lib/AxisAnnotationManager.js +1 -1
  79. package/esm5/lib/BollingerBandsOverlay_combined.js +1 -1
  80. package/esm5/lib/BubbleSeries_combined.js +4 -4
  81. package/esm5/lib/CalloutLayer_combined.js +3 -3
  82. package/esm5/lib/CategoryBucketCalculator_combined.js +5 -5
  83. package/esm5/lib/CategoryChart.js +414 -414
  84. package/esm5/lib/CategoryChartToolbarProvider.js +8 -8
  85. package/esm5/lib/CategoryDateTimeXAxis_combined.js +4 -4
  86. package/esm5/lib/CategoryItemHighlightLayer_combined.js +10 -10
  87. package/esm5/lib/CategoryToolTipLayer_combined.js +2 -2
  88. package/esm5/lib/CategoryXAxis_combined.js +20 -20
  89. package/esm5/lib/CategoryYAxis_combined.js +20 -20
  90. package/esm5/lib/ColumnSeries_combined.js +2 -2
  91. package/esm5/lib/DataChartToolbarProvider.js +6 -6
  92. package/esm5/lib/DataChartVisualDataManager.js +1 -1
  93. package/esm5/lib/DataLegendContent_combined.js +253 -241
  94. package/esm5/lib/DataToolTipLayer_combined.js +6 -6
  95. package/esm5/lib/DomainChartToolbarProvider.js +15 -15
  96. package/esm5/lib/DomainChart_combined.js +1440 -1428
  97. package/esm5/lib/FinancialChartDropDownControl.js +10 -3
  98. package/esm5/lib/FinancialChartIndicatorMenuView.js +33 -19
  99. package/esm5/lib/FinancialChart_combined.js +1286 -1286
  100. package/esm5/lib/FinancialEventArgs_combined.js +1 -1
  101. package/esm5/lib/FinancialIndicator_combined.js +1 -1
  102. package/esm5/lib/FinancialPriceSeries_combined.js +4 -4
  103. package/esm5/lib/HighDensityScatterSeries_combined.js +4 -4
  104. package/esm5/lib/HorizontalAnchoredCategorySeries.js +3 -3
  105. package/esm5/lib/HorizontalRangeCategorySeries.js +6 -6
  106. package/esm5/lib/NumericXAxis_combined.js +3 -3
  107. package/esm5/lib/NumericYAxis_combined.js +3 -3
  108. package/esm5/lib/OrdinalTimeXAxis.js +2 -2
  109. package/esm5/lib/PolarBase_combined.js +3 -3
  110. package/esm5/lib/PolarLineSeriesBase_combined.js +1 -1
  111. package/esm5/lib/PriceChannelOverlay_combined.js +2 -2
  112. package/esm5/lib/RadialAxisLabelPanel_combined.js +1 -1
  113. package/esm5/lib/RadialBucketCalculator_combined.js +3 -3
  114. package/esm5/lib/RangeCategoryBucketCalculator_combined.js +2 -2
  115. package/esm5/lib/ScatterAreaSeries_combined.js +1 -1
  116. package/esm5/lib/ScatterBase_combined.js +9 -9
  117. package/esm5/lib/ScatterPolygonSeries_combined.js +14 -14
  118. package/esm5/lib/SeriesInteractionManager.js +22 -22
  119. package/esm5/lib/SeriesViewerInteractionManager.js +124 -124
  120. package/esm5/lib/SeriesViewerScrollbarManager.js +4 -4
  121. package/esm5/lib/SeriesViewerSurfaceViewer.js +9 -9
  122. package/esm5/lib/SeriesViewer_combined.js +1711 -1655
  123. package/esm5/lib/SeriesVisualDataManager.js +20 -20
  124. package/esm5/lib/ShapeSeriesBase_combined.js +2 -2
  125. package/esm5/lib/SplineSeriesBase_combined.js +1 -1
  126. package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +23 -23
  127. package/esm5/lib/TileZoomManager_combined.js +4 -4
  128. package/esm5/lib/TimeAxisBase.js +6 -6
  129. package/esm5/lib/TimeXAxis.js +9 -9
  130. package/esm5/lib/ValueOverlay_combined.js +1 -1
  131. package/esm5/lib/VerticalAnchoredCategorySeries.js +5 -5
  132. package/esm5/lib/VerticalAnchoredCategorySeriesInteractionManager.js +1 -1
  133. package/esm5/lib/XYChart.js +698 -698
  134. package/esm5/lib/igc-category-chart-component.js +126 -126
  135. package/esm5/lib/igc-data-chart-component.js +95 -95
  136. package/esm5/lib/igc-domain-chart-component.js +552 -545
  137. package/esm5/lib/igc-financial-chart-component.js +172 -172
  138. package/esm5/lib/igc-financial-chart-default-templates-component.js +22 -3
  139. package/esm5/lib/igc-series-viewer-component.js +262 -255
  140. package/esm5/lib/igc-xy-chart-component.js +218 -218
  141. package/fesm2015/igniteui-webcomponents-charts.js +7872 -7762
  142. package/fesm5/igniteui-webcomponents-charts.js +7780 -7646
  143. package/lib/CategoryChart.d.ts +131 -131
  144. package/lib/DataLegendContent_combined.d.ts +50 -49
  145. package/lib/DomainChart_combined.d.ts +476 -473
  146. package/lib/FinancialChart_combined.d.ts +286 -286
  147. package/lib/SeriesViewer_combined.d.ts +498 -494
  148. package/lib/XYChart.d.ts +195 -195
  149. package/lib/igc-domain-chart-component.d.ts +1 -0
  150. package/lib/igc-financial-chart-default-templates-component.d.ts +1 -1
  151. package/lib/igc-series-viewer-component.d.ts +1 -0
  152. package/package.json +2 -2
@@ -164,15 +164,15 @@ var DataLegendRowCell = /** @class */ /*@__PURE__*/ (function (_super) {
164
164
  _this.m = true;
165
165
  _this.j = true;
166
166
  if (_this.c) {
167
- _this.z = a.bs();
168
- _this.ab = a.bu();
169
- _this.aa = a.bt();
167
+ _this.z = a.bt();
168
+ _this.ab = a.bv();
169
+ _this.aa = a.bu();
170
170
  _this.g = a.j();
171
171
  _this.i = a.n();
172
172
  _this.h = a.m();
173
173
  }
174
174
  else if (_this.d) {
175
- var e = a.br();
175
+ var e = a.bs();
176
176
  var f = a.k();
177
177
  _this.z = e;
178
178
  _this.ab = e;
@@ -182,7 +182,7 @@ var DataLegendRowCell = /** @class */ /*@__PURE__*/ (function (_super) {
182
182
  _this.h = f;
183
183
  }
184
184
  else {
185
- var g = a.bp();
185
+ var g = a.bq();
186
186
  var h = a.i();
187
187
  _this.z = g;
188
188
  _this.ab = g;
@@ -257,17 +257,17 @@ var DataLegendRowInfo = /** @class */ /*@__PURE__*/ (function (_super) {
257
257
  _this.t = new Size(1, 0, 0);
258
258
  _this.u = new Size(1, 0, 0);
259
259
  if (_this.c) {
260
- _this.q = a.bs();
260
+ _this.q = a.bt();
261
261
  _this.i = a.l();
262
262
  }
263
263
  else if (_this.d) {
264
- var e = a.br();
264
+ var e = a.bs();
265
265
  var f = a.k();
266
266
  _this.q = e;
267
267
  _this.i = f;
268
268
  }
269
269
  else {
270
- var g = a.bp();
270
+ var g = a.bq();
271
271
  var h = a.i();
272
272
  _this.q = g;
273
273
  _this.i = h;
@@ -391,7 +391,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
391
391
  set: function (a) {
392
392
  var b = this.bj;
393
393
  if (typeof a === 'string') {
394
- a = FontUtil.getFontInfoFromString(this.a5.ai, a);
394
+ a = FontUtil.getFontInfoFromString(this.a5.aj, a);
395
395
  }
396
396
  this.bj = a;
397
397
  if (b != this.bj) {
@@ -408,7 +408,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
408
408
  set: function (a) {
409
409
  var b = this.bb;
410
410
  if (typeof a === 'string') {
411
- a = FontUtil.getFontInfoFromString(this.a5.ai, a);
411
+ a = FontUtil.getFontInfoFromString(this.a5.aj, a);
412
412
  }
413
413
  this.bb = a;
414
414
  if (b != this.bb) {
@@ -425,7 +425,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
425
425
  set: function (a) {
426
426
  var b = this.be;
427
427
  if (typeof a === 'string') {
428
- a = FontUtil.getFontInfoFromString(this.a5.ai, a);
428
+ a = FontUtil.getFontInfoFromString(this.a5.aj, a);
429
429
  }
430
430
  this.be = a;
431
431
  if (b != this.be) {
@@ -442,7 +442,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
442
442
  set: function (a) {
443
443
  var b = this.bg;
444
444
  if (typeof a === 'string') {
445
- a = FontUtil.getFontInfoFromString(this.a5.ai, a);
445
+ a = FontUtil.getFontInfoFromString(this.a5.aj, a);
446
446
  }
447
447
  this.bg = a;
448
448
  if (b != this.bg) {
@@ -459,7 +459,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
459
459
  set: function (a) {
460
460
  var b = this.bd;
461
461
  if (typeof a === 'string') {
462
- a = FontUtil.getFontInfoFromString(this.a5.ai, a);
462
+ a = FontUtil.getFontInfoFromString(this.a5.aj, a);
463
463
  }
464
464
  this.bd = a;
465
465
  if (b != this.bd) {
@@ -476,7 +476,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
476
476
  set: function (a) {
477
477
  var b = this.bf;
478
478
  if (typeof a === 'string') {
479
- a = FontUtil.getFontInfoFromString(this.a5.ai, a);
479
+ a = FontUtil.getFontInfoFromString(this.a5.aj, a);
480
480
  }
481
481
  this.bf = a;
482
482
  if (b != this.bf) {
@@ -493,7 +493,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
493
493
  set: function (a) {
494
494
  var b = this.bi;
495
495
  if (typeof a === 'string') {
496
- a = FontUtil.getFontInfoFromString(this.a5.ai, a);
496
+ a = FontUtil.getFontInfoFromString(this.a5.aj, a);
497
497
  }
498
498
  this.bi = a;
499
499
  if (b != this.bi) {
@@ -510,7 +510,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
510
510
  set: function (a) {
511
511
  var b = this.bh;
512
512
  if (typeof a === 'string') {
513
- a = FontUtil.getFontInfoFromString(this.a5.ai, a);
513
+ a = FontUtil.getFontInfoFromString(this.a5.aj, a);
514
514
  }
515
515
  this.bh = a;
516
516
  if (b != this.bh) {
@@ -527,7 +527,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
527
527
  set: function (a) {
528
528
  var b = this.bc;
529
529
  if (typeof a === 'string') {
530
- a = FontUtil.getFontInfoFromString(this.a5.ai, a);
530
+ a = FontUtil.getFontInfoFromString(this.a5.aj, a);
531
531
  }
532
532
  this.bc = a;
533
533
  if (b != this.bc) {
@@ -592,10 +592,10 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
592
592
  var c = -1;
593
593
  var d = -1;
594
594
  var e = -1;
595
- var f = this.a5.ac;
596
- var g = this.a5.aa;
597
- var h = this.a5.ae;
598
- var i = this.a5.ad;
595
+ var f = this.a5.ad;
596
+ var g = this.a5.ab;
597
+ var h = this.a5.af;
598
+ var i = this.a5.ae;
599
599
  if (f.count < this.ao.b.count) {
600
600
  return a;
601
601
  }
@@ -742,7 +742,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
742
742
  return b;
743
743
  }
744
744
  else {
745
- return FontUtil.toFontInfo(this.a5.ai, b.fontString);
745
+ return FontUtil.toFontInfo(this.a5.aj, b.fontString);
746
746
  }
747
747
  };
748
748
  XamDataLegend.prototype.a0 = function (a) {
@@ -909,14 +909,14 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
909
909
  break;
910
910
  case "PixelScalingRatio":
911
911
  if (isNaN_(this.co)) {
912
- this.a5.av();
912
+ this.a5.aw();
913
913
  }
914
914
  else {
915
915
  this.co = this.pixelScalingRatio;
916
916
  }
917
917
  break;
918
918
  case "ActualPixelScalingRatio":
919
- this.a5.a6(c);
919
+ this.a5.a7(c);
920
920
  break;
921
921
  }
922
922
  this.f3();
@@ -935,10 +935,10 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
935
935
  if (b != null) {
936
936
  b.attachDataLegend(this);
937
937
  if (isNaN_(this.targetCursorPositionX)) {
938
- this.cm = 1;
938
+ this.cm = -1;
939
939
  }
940
940
  if (isNaN_(this.targetCursorPositionY)) {
941
- this.cn = 0.5;
941
+ this.cn = -1;
942
942
  }
943
943
  }
944
944
  };
@@ -1068,7 +1068,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1068
1068
  }
1069
1069
  };
1070
1070
  XamDataLegend.prototype.notifySizeChanged = function () {
1071
- this.a5.a4();
1071
+ this.a5.a5();
1072
1072
  };
1073
1073
  XamDataLegend.prototype.notifyVisualPropertiesChanged = function (a) {
1074
1074
  };
@@ -1275,27 +1275,27 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1275
1275
  configurable: true
1276
1276
  });
1277
1277
  XamDataLegend.prototype.flush = function () {
1278
- this.a5.as();
1278
+ this.a5.at();
1279
1279
  };
1280
1280
  XamDataLegend.prototype.onAttachedToUI = function () {
1281
- this.a5.a2();
1281
+ this.a5.a3();
1282
1282
  };
1283
1283
  XamDataLegend.prototype.onDetachedFromUI = function () {
1284
- this.a5.a5();
1284
+ this.a5.a6();
1285
1285
  };
1286
1286
  XamDataLegend.prototype.ensureIndirectContainer = function (a, b) {
1287
- if (this.a5.ai == null) {
1288
- this.a5.a3(a, true);
1287
+ if (this.a5.aj == null) {
1288
+ this.a5.a4(a, true);
1289
1289
  }
1290
1290
  };
1291
1291
  XamDataLegend.prototype.provideContainer = function (a) {
1292
- this.a5.a3(a, false);
1292
+ this.a5.a4(a, false);
1293
1293
  };
1294
1294
  XamDataLegend.prototype.f3 = function () {
1295
1295
  if (this.bu) {
1296
1296
  return;
1297
1297
  }
1298
- this.bu = this.a5.x();
1298
+ this.bu = this.a5.y();
1299
1299
  };
1300
1300
  Object.defineProperty(XamDataLegend.prototype, "shouldOnDemandRender", {
1301
1301
  get: function () {
@@ -1313,7 +1313,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1313
1313
  this.ic = new Rect(0, 0, 0, c.width, c.height);
1314
1314
  }
1315
1315
  this.f4(this.ao, true);
1316
- this.a5.a8(a, b);
1316
+ this.a5.a9(a, b);
1317
1317
  };
1318
1318
  XamDataLegend.prototype.ensureUpdated = function () {
1319
1319
  var a = this.getDesiredSize();
@@ -1337,7 +1337,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1337
1337
  return new Size(1, this.ao.d, this.ao.c);
1338
1338
  };
1339
1339
  XamDataLegend.prototype.gf = function () {
1340
- if (this.a7 == null) {
1340
+ if (this.a7 == null || this.a7.isDetached) {
1341
1341
  this.fn();
1342
1342
  return;
1343
1343
  }
@@ -1405,6 +1405,9 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1405
1405
  };
1406
1406
  XamDataLegend.prototype.fp = function () {
1407
1407
  this.bu = false;
1408
+ if (!this.a5.x) {
1409
+ return;
1410
+ }
1408
1411
  var a = new Size(1, 0, 0);
1409
1412
  if (this.ao != null) {
1410
1413
  a = new Size(1, this.ao.d, this.ao.c);
@@ -1415,7 +1418,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1415
1418
  b = new Size(1, this.ao.d, this.ao.c);
1416
1419
  }
1417
1420
  if (!a.equals(b)) {
1418
- this.a5.an(b.width, b.height);
1421
+ this.a5.ao(b.width, b.height);
1419
1422
  }
1420
1423
  this.f4(this.ao, this.bv);
1421
1424
  };
@@ -1433,7 +1436,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1433
1436
  this.a5.r.count = c.d;
1434
1437
  this.a5.o.count = c.a;
1435
1438
  if (!b) {
1436
- this.a5.ar(a);
1439
+ this.a5.as(a);
1437
1440
  }
1438
1441
  };
1439
1442
  XamDataLegend.prototype.f6 = function (a, b, c) {
@@ -1443,7 +1446,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1443
1446
  c.b += 1;
1444
1447
  this.f5(d, a, b, c);
1445
1448
  }
1446
- this.a5.ba();
1449
+ this.a5.bb();
1447
1450
  if (!b.s.isEmpty && b.s.width > 0 && b.s.height > 0) {
1448
1451
  var e = this.a5.q.item(c.c);
1449
1452
  c.c += 1;
@@ -1482,13 +1485,13 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1482
1485
  throw e_6.error;
1483
1486
  }
1484
1487
  }
1485
- this.a5.ao();
1488
+ this.a5.ap();
1486
1489
  };
1487
1490
  XamDataLegend.prototype.f7 = function (a, b, c, d, e) {
1488
1491
  a.al = b;
1489
- this.a5.a9(a, e.left, e.top);
1490
- this.a5.ap(a, d);
1492
+ this.a5.ba(a, e.left, e.top);
1491
1493
  this.a5.aq(a, d);
1494
+ this.a5.ar(a, d);
1492
1495
  a.ao = c;
1493
1496
  };
1494
1497
  XamDataLegend.prototype.f5 = function (a, b, c, d) {
@@ -1496,7 +1499,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1496
1499
  a.content = c.l;
1497
1500
  a.width = c.t.width;
1498
1501
  a.height = c.t.height;
1499
- this.a5.a9(a, c.r.left, c.r.top);
1502
+ this.a5.ba(a, c.r.left, c.r.top);
1500
1503
  };
1501
1504
  XamDataLegend.prototype.by = function (a, b) {
1502
1505
  if (b == null) {
@@ -1519,50 +1522,52 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1519
1522
  for (var b = 0; b < a.count; b++) {
1520
1523
  var c = a._inner[b];
1521
1524
  var d = b;
1522
- var e = typeCast(DataLegendSeriesContext.$, c.getDataLegendSeriesContextAt(this.cm, this.cn));
1523
- if (e != null) {
1524
- var f = new List$1(DataLegendSeriesValueInfo.$, 0);
1525
- for (var g = 0; g < e.f.count; g++) {
1526
- var h = e.f._inner[g];
1527
- var i = this.b9 == null || this.by(this.b9, h.q) || this.by(this.b9, h.p) || this.by(this.b9, h.r) || this.by(this.b9, "ALL");
1528
- var j = this.b8 != null && (this.by(this.b8, h.q) || this.by(this.b8, h.p) || this.by(this.b8, h.r) || this.by(this.b8, "ALL"));
1529
- var k = this.b9 == null && this.b8 == null && h.k;
1530
- if (i && (!j && !k)) {
1531
- h.o = f.count;
1532
- f.add(h);
1533
- if (!this.b7.containsKey(h.o)) {
1534
- this.b7.addItem(h.o, new DataLegendColumn());
1525
+ var e = c.getDataLegendResolvedWorldPositionX(this.cm);
1526
+ var f = c.getDataLegendResolvedWorldPositionY(this.cn);
1527
+ var g = typeCast(DataLegendSeriesContext.$, c.getDataLegendSeriesContextAt(e, f));
1528
+ if (g != null) {
1529
+ var h = new List$1(DataLegendSeriesValueInfo.$, 0);
1530
+ for (var i = 0; i < g.f.count; i++) {
1531
+ var j = g.f._inner[i];
1532
+ var k = this.b9 == null || this.by(this.b9, j.q) || this.by(this.b9, j.p) || this.by(this.b9, j.r) || this.by(this.b9, "ALL");
1533
+ var l = this.b8 != null && (this.by(this.b8, j.q) || this.by(this.b8, j.p) || this.by(this.b8, j.r) || this.by(this.b8, "ALL"));
1534
+ var m = this.b9 == null && this.b8 == null && j.k;
1535
+ if (k && (!l && !m)) {
1536
+ j.o = h.count;
1537
+ h.add(j);
1538
+ if (!this.b7.containsKey(j.o)) {
1539
+ this.b7.addItem(j.o, new DataLegendColumn());
1535
1540
  }
1536
- this.b7.item(h.o).i = h.o;
1537
- this.b7.item(h.o).d.q(d, h.s);
1538
- this.b7.item(h.o).b.q(d, h.r);
1539
- this.b7.item(h.o).e.q(d, h.l);
1540
- this.b7.item(h.o).c.q(d, h);
1541
- this.b7.item(h.o).h.add(d);
1541
+ this.b7.item(j.o).i = j.o;
1542
+ this.b7.item(j.o).d.q(d, j.s);
1543
+ this.b7.item(j.o).b.q(d, j.r);
1544
+ this.b7.item(j.o).e.q(d, j.l);
1545
+ this.b7.item(j.o).c.q(d, j);
1546
+ this.b7.item(j.o).h.add(d);
1542
1547
  }
1543
1548
  }
1544
- e.f = f;
1545
- this.ce.add(e);
1546
- this.cs = Math.max(this.cs, e.f.count);
1549
+ g.f = h;
1550
+ this.ce.add(g);
1551
+ this.cs = Math.max(this.cs, g.f.count);
1547
1552
  }
1548
1553
  }
1549
1554
  try {
1550
1555
  for (var _b = __values(fromEnum(this.b7.values)), _c = _b.next(); !_c.done; _c = _b.next()) {
1551
- var l = _c.value;
1552
- l.f.clear();
1553
- l.a.clear();
1554
- var m = l.e.p(l.h);
1555
- var n = this.cf(m);
1556
- for (var o = 0; o < n.count; o++) {
1557
- var p = n._inner[o];
1558
- var q = l.h._inner[o];
1559
- l.a.q(q, p);
1560
- var r = l.c.item(q);
1561
- var s = this.d2(p, r);
1562
- l.f.q(q, s);
1563
- var t = !stringIsNullOrEmpty(p.l);
1564
- if (t) {
1565
- l.g = true;
1556
+ var n = _c.value;
1557
+ n.f.clear();
1558
+ n.a.clear();
1559
+ var o = n.e.p(n.h);
1560
+ var p = this.cf(o);
1561
+ for (var q = 0; q < p.count; q++) {
1562
+ var r = p._inner[q];
1563
+ var s = n.h._inner[q];
1564
+ n.a.q(s, r);
1565
+ var t = n.c.item(s);
1566
+ var u = this.d2(r, t);
1567
+ n.f.q(s, u);
1568
+ var v = !stringIsNullOrEmpty(r.l);
1569
+ if (v) {
1570
+ n.g = true;
1566
1571
  }
1567
1572
  }
1568
1573
  }
@@ -1581,9 +1586,9 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1581
1586
  }
1582
1587
  }
1583
1588
  this.fi(this.ao, a);
1584
- for (var u = 0; u < a.count; u++) {
1585
- this.ge(a._inner[u], this.a8);
1586
- this.fj(this.ao, a._inner[u], u);
1589
+ for (var w = 0; w < a.count; w++) {
1590
+ this.ge(a._inner[w], this.a8);
1591
+ this.fj(this.ao, a._inner[w], w);
1587
1592
  }
1588
1593
  this.fk(this.ao, a);
1589
1594
  this.bw = this.b2();
@@ -1796,13 +1801,13 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
1796
1801
  };
1797
1802
  XamDataLegend.prototype.fu = function (a) {
1798
1803
  var e_11, _a;
1799
- a.u = a.n == null ? new Size(1, 0, 0) : this.a5.bv(a.n, a.i);
1804
+ a.u = a.n == null ? new Size(1, 0, 0) : this.a5.bw(a.n, a.i);
1800
1805
  try {
1801
1806
  for (var _b = __values(fromEnum(a.k)), _c = _b.next(); !_c.done; _c = _b.next()) {
1802
1807
  var b = _c.value;
1803
- b.ak = b.x == null ? new Size(1, 0, 0) : this.a5.bv(b.x, b.i);
1804
- b.ai = b.u == null ? new Size(1, 0, 0) : this.a5.bv(b.u, b.h);
1805
- b.ag = b.t == null ? new Size(1, 0, 0) : this.a5.bv(b.t, b.g);
1808
+ b.ak = b.x == null ? new Size(1, 0, 0) : this.a5.bw(b.x, b.i);
1809
+ b.ai = b.u == null ? new Size(1, 0, 0) : this.a5.bw(b.u, b.h);
1810
+ b.ag = b.t == null ? new Size(1, 0, 0) : this.a5.bw(b.t, b.g);
1806
1811
  }
1807
1812
  }
1808
1813
  catch (e_11_1) {
@@ -2416,29 +2421,29 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
2416
2421
  __extends(DataLegendView, _super);
2417
2422
  function DataLegendView(a) {
2418
2423
  var _this = _super.call(this) || this;
2419
- _this.aa = null;
2420
- _this.ac = null;
2421
- _this.ae = null;
2422
- _this.ad = null;
2423
2424
  _this.ab = null;
2425
+ _this.ad = null;
2426
+ _this.af = null;
2427
+ _this.ae = null;
2428
+ _this.ac = null;
2424
2429
  _this.o = null;
2425
2430
  _this.q = null;
2426
2431
  _this.s = null;
2427
2432
  _this.r = null;
2428
2433
  _this.p = null;
2429
2434
  _this.a = null;
2435
+ _this.ak = null;
2430
2436
  _this.aj = null;
2431
- _this.ai = null;
2432
2437
  _this.t = null;
2433
2438
  _this.b = null;
2434
- _this.af = 1;
2439
+ _this.ag = 1;
2435
2440
  _this.w = false;
2441
+ _this.am = -1;
2436
2442
  _this.al = -1;
2437
- _this.ak = -1;
2438
- _this.y = new Dictionary$2(FontInfo.$, Tuple$2.$.specialize(Number_$type, FontInfo.$), 0);
2443
+ _this.z = new Dictionary$2(FontInfo.$, Tuple$2.$.specialize(Number_$type, FontInfo.$), 0);
2439
2444
  _this.v = false;
2440
- _this.z = new List$1(FrameworkElement.$, 0);
2441
- _this.ag = 0;
2445
+ _this.aa = new List$1(FrameworkElement.$, 0);
2446
+ _this.ah = 0;
2442
2447
  _this.f = null;
2443
2448
  _this.h = null;
2444
2449
  _this.g = null;
@@ -2449,124 +2454,124 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
2449
2454
  _this.a = a;
2450
2455
  _this.q = ((function () {
2451
2456
  var $ret = new Pool$1(TextBlock.$);
2452
- $ret.create = runOn(_this, _this.bm);
2453
- $ret.activate = runOn(_this, _this.bb);
2454
- $ret.disactivate = runOn(_this, _this.bd);
2455
- $ret.destroy = runOn(_this, _this.bc);
2457
+ $ret.create = runOn(_this, _this.bn);
2458
+ $ret.activate = runOn(_this, _this.bc);
2459
+ $ret.disactivate = runOn(_this, _this.be);
2460
+ $ret.destroy = runOn(_this, _this.bd);
2456
2461
  return $ret;
2457
2462
  })());
2458
2463
  _this.s = ((function () {
2459
2464
  var $ret = new Pool$1(TextBlock.$);
2460
- $ret.create = runOn(_this, _this.bo);
2461
- $ret.activate = runOn(_this, _this.bh);
2462
- $ret.disactivate = runOn(_this, _this.bj);
2463
- $ret.destroy = runOn(_this, _this.bi);
2465
+ $ret.create = runOn(_this, _this.bp);
2466
+ $ret.activate = runOn(_this, _this.bi);
2467
+ $ret.disactivate = runOn(_this, _this.bk);
2468
+ $ret.destroy = runOn(_this, _this.bj);
2464
2469
  return $ret;
2465
2470
  })());
2466
2471
  _this.r = ((function () {
2467
2472
  var $ret = new Pool$1(TextBlock.$);
2468
- $ret.create = runOn(_this, _this.bn);
2469
- $ret.activate = runOn(_this, _this.be);
2470
- $ret.disactivate = runOn(_this, _this.bg);
2471
- $ret.destroy = runOn(_this, _this.bf);
2473
+ $ret.create = runOn(_this, _this.bo);
2474
+ $ret.activate = runOn(_this, _this.bf);
2475
+ $ret.disactivate = runOn(_this, _this.bh);
2476
+ $ret.destroy = runOn(_this, _this.bg);
2472
2477
  return $ret;
2473
2478
  })());
2474
2479
  _this.p = ((function () {
2475
2480
  var $ret = new Pool$1(ContentControl.$);
2476
- $ret.create = runOn(_this, _this.bk);
2477
- $ret.activate = runOn(_this, _this.az);
2478
- $ret.disactivate = runOn(_this, _this.a1);
2479
- $ret.destroy = runOn(_this, _this.a0);
2481
+ $ret.create = runOn(_this, _this.bl);
2482
+ $ret.activate = runOn(_this, _this.a0);
2483
+ $ret.disactivate = runOn(_this, _this.a2);
2484
+ $ret.destroy = runOn(_this, _this.a1);
2480
2485
  return $ret;
2481
2486
  })());
2482
2487
  _this.o = ((function () {
2483
2488
  var $ret = new Pool$1(TextBlock.$);
2484
- $ret.create = runOn(_this, _this.bl);
2485
- $ret.activate = runOn(_this, _this.aw);
2486
- $ret.disactivate = runOn(_this, _this.ay);
2487
- $ret.destroy = runOn(_this, _this.ax);
2489
+ $ret.create = runOn(_this, _this.bm);
2490
+ $ret.activate = runOn(_this, _this.ax);
2491
+ $ret.disactivate = runOn(_this, _this.az);
2492
+ $ret.destroy = runOn(_this, _this.ay);
2488
2493
  return $ret;
2489
2494
  })());
2490
- _this.aa = new List$1(TextBlock.$, 0);
2491
- _this.ac = new List$1(TextBlock.$, 0);
2492
- _this.ae = new List$1(TextBlock.$, 0);
2495
+ _this.ab = new List$1(TextBlock.$, 0);
2493
2496
  _this.ad = new List$1(TextBlock.$, 0);
2494
- _this.ab = new List$1(ContentControl.$, 0);
2497
+ _this.af = new List$1(TextBlock.$, 0);
2498
+ _this.ae = new List$1(TextBlock.$, 0);
2499
+ _this.ac = new List$1(ContentControl.$, 0);
2495
2500
  return _this;
2496
2501
  }
2497
- DataLegendView.prototype.as = function () {
2502
+ DataLegendView.prototype.at = function () {
2498
2503
  this.a.fp();
2499
2504
  };
2500
- DataLegendView.prototype.bm = function () {
2505
+ DataLegendView.prototype.bn = function () {
2501
2506
  var a = new TextBlock();
2502
- this.ac.add(a);
2507
+ this.ad.add(a);
2503
2508
  return a;
2504
2509
  };
2505
- DataLegendView.prototype.bb = function (a) {
2510
+ DataLegendView.prototype.bc = function (a) {
2506
2511
  a._visibility = 0;
2507
2512
  };
2508
- DataLegendView.prototype.bd = function (a) {
2513
+ DataLegendView.prototype.be = function (a) {
2509
2514
  a._visibility = 1;
2510
2515
  };
2511
- DataLegendView.prototype.bc = function (a) {
2512
- this.ac.remove(a);
2516
+ DataLegendView.prototype.bd = function (a) {
2517
+ this.ad.remove(a);
2513
2518
  };
2514
- DataLegendView.prototype.bo = function () {
2519
+ DataLegendView.prototype.bp = function () {
2515
2520
  var a = new TextBlock();
2516
- this.ae.add(a);
2521
+ this.af.add(a);
2517
2522
  return a;
2518
2523
  };
2519
- DataLegendView.prototype.bh = function (a) {
2524
+ DataLegendView.prototype.bi = function (a) {
2520
2525
  a._visibility = 0;
2521
2526
  };
2522
- DataLegendView.prototype.bj = function (a) {
2527
+ DataLegendView.prototype.bk = function (a) {
2523
2528
  a._visibility = 1;
2524
2529
  };
2525
- DataLegendView.prototype.bi = function (a) {
2526
- this.ae.remove(a);
2530
+ DataLegendView.prototype.bj = function (a) {
2531
+ this.af.remove(a);
2527
2532
  };
2528
- DataLegendView.prototype.bn = function () {
2533
+ DataLegendView.prototype.bo = function () {
2529
2534
  var a = new TextBlock();
2530
- this.ad.add(a);
2535
+ this.ae.add(a);
2531
2536
  return a;
2532
2537
  };
2533
- DataLegendView.prototype.be = function (a) {
2538
+ DataLegendView.prototype.bf = function (a) {
2534
2539
  a._visibility = 0;
2535
2540
  };
2536
- DataLegendView.prototype.bg = function (a) {
2541
+ DataLegendView.prototype.bh = function (a) {
2537
2542
  a._visibility = 1;
2538
2543
  };
2539
- DataLegendView.prototype.bf = function (a) {
2540
- this.ad.remove(a);
2544
+ DataLegendView.prototype.bg = function (a) {
2545
+ this.ae.remove(a);
2541
2546
  };
2542
- DataLegendView.prototype.bl = function () {
2547
+ DataLegendView.prototype.bm = function () {
2543
2548
  var a = new TextBlock();
2544
- this.aa.add(a);
2549
+ this.ab.add(a);
2545
2550
  return a;
2546
2551
  };
2547
- DataLegendView.prototype.aw = function (a) {
2552
+ DataLegendView.prototype.ax = function (a) {
2548
2553
  a._visibility = 0;
2549
2554
  };
2550
- DataLegendView.prototype.ay = function (a) {
2555
+ DataLegendView.prototype.az = function (a) {
2551
2556
  a._visibility = 1;
2552
2557
  };
2553
- DataLegendView.prototype.ax = function (a) {
2554
- this.aa.remove(a);
2558
+ DataLegendView.prototype.ay = function (a) {
2559
+ this.ab.remove(a);
2555
2560
  };
2556
- DataLegendView.prototype.bk = function () {
2561
+ DataLegendView.prototype.bl = function () {
2557
2562
  var a = new ContentControl();
2558
- this.ab.add(a);
2563
+ this.ac.add(a);
2559
2564
  return a;
2560
2565
  };
2561
- DataLegendView.prototype.az = function (a) {
2566
+ DataLegendView.prototype.a0 = function (a) {
2562
2567
  a._visibility = 0;
2563
2568
  };
2564
- DataLegendView.prototype.a1 = function (a) {
2569
+ DataLegendView.prototype.a2 = function (a) {
2565
2570
  a._visibility = 1;
2566
2571
  };
2567
- DataLegendView.prototype.a0 = function (a) {
2572
+ DataLegendView.prototype.a1 = function (a) {
2568
2573
  };
2569
- DataLegendView.prototype.av = function () {
2574
+ DataLegendView.prototype.aw = function () {
2570
2575
  var a = this.a.pixelScalingRatio;
2571
2576
  var b = this.a.co;
2572
2577
  if (!isNaN_(a) && a != 0) {
@@ -2576,80 +2581,87 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
2576
2581
  this.a.co = window.devicePixelRatio;
2577
2582
  }
2578
2583
  };
2579
- DataLegendView.prototype.a4 = function () {
2580
- this.av();
2581
- var a = Math.round(this.ai.rootWrapper.width());
2582
- var b = Math.round(this.ai.rootWrapper.height());
2584
+ DataLegendView.prototype.a5 = function () {
2585
+ this.aw();
2586
+ var a = Math.round(this.aj.rootWrapper.width());
2587
+ var b = Math.round(this.aj.rootWrapper.height());
2583
2588
  this.a.ic = new Rect(0, 0, 0, a, b);
2584
2589
  if (this.b != null) {
2585
2590
  this.b.bl = this.a.ic;
2586
2591
  }
2587
2592
  this.a.f3();
2588
2593
  };
2589
- DataLegendView.prototype.am = function () {
2594
+ DataLegendView.prototype.an = function () {
2590
2595
  if (this.b != null) {
2591
2596
  this.b.ao = null;
2592
2597
  this.b.av();
2593
2598
  }
2594
2599
  };
2595
- DataLegendView.prototype.a3 = function (a, b) {
2600
+ Object.defineProperty(DataLegendView.prototype, "x", {
2601
+ get: function () {
2602
+ return this.aj != null;
2603
+ },
2604
+ enumerable: false,
2605
+ configurable: true
2606
+ });
2607
+ DataLegendView.prototype.a4 = function (a, b) {
2596
2608
  if (a == null) {
2609
+ this.ak = null;
2597
2610
  this.aj = null;
2598
- this.ai = null;
2599
2611
  this.t = null;
2600
- this.am();
2612
+ this.an();
2601
2613
  return;
2602
2614
  }
2603
- this.af = (isNaN_(this.a.pixelScalingRatio) ? this.a.co : this.a.pixelScalingRatio);
2615
+ this.ag = (isNaN_(this.a.pixelScalingRatio) ? this.a.co : this.a.pixelScalingRatio);
2604
2616
  var c = a;
2605
- this.ai = c;
2606
- var d = this.af;
2617
+ this.aj = c;
2618
+ var d = this.ag;
2607
2619
  var e = Math.round(c.rootWrapper.width());
2608
2620
  var f = Math.round(c.rootWrapper.height());
2609
2621
  var g = e * d;
2610
2622
  var h = f * d;
2611
- this.ai.rootWrapper.setStyleProperty("position", "relative");
2612
- var i = this.ai.createElement("canvas");
2623
+ this.aj.rootWrapper.setStyleProperty("position", "relative");
2624
+ var i = this.aj.createElement("canvas");
2613
2625
  i.setStyleProperty("position", "absolute");
2614
- this.ai.append(i);
2615
- this.al = truncate(Math.round(g));
2616
- this.ak = truncate(Math.round(h));
2626
+ this.aj.append(i);
2627
+ this.am = truncate(Math.round(g));
2628
+ this.al = truncate(Math.round(h));
2617
2629
  i.setAttribute("width", g.toString());
2618
2630
  i.setAttribute("height", h.toString());
2619
2631
  i.setStyleProperty("width", e.toString() + "px");
2620
2632
  i.setStyleProperty("height", f.toString() + "px");
2621
2633
  this.a.ic = new Rect(0, 0, 0, e, f);
2622
- this.aj = i;
2623
- var j = this.ai.get2DCanvasContext(this.aj);
2634
+ this.ak = i;
2635
+ var j = this.aj.get2DCanvasContext(this.ak);
2624
2636
  this.t = new RenderingContext(new CanvasViewRenderer(), j);
2625
- this.am();
2637
+ this.an();
2626
2638
  if (TypeRegistrar.isRegistered("CanvasGestureDOMEventProxy")) {
2627
- this.b = typeCast(EventProxy.$, TypeRegistrar.create("CanvasGestureDOMEventProxy", this.ai.rootWrapper, this.ai, false));
2639
+ this.b = typeCast(EventProxy.$, TypeRegistrar.create("CanvasGestureDOMEventProxy", this.aj.rootWrapper, this.aj, false));
2628
2640
  }
2629
2641
  if (this.b != null) {
2630
2642
  }
2631
2643
  };
2632
- DataLegendView.prototype.au = function (a, b) {
2633
- this.a4();
2644
+ DataLegendView.prototype.av = function (a, b) {
2645
+ this.a5();
2634
2646
  };
2635
- DataLegendView.prototype.at = function (a) {
2647
+ DataLegendView.prototype.au = function (a) {
2636
2648
  };
2637
- DataLegendView.prototype.a7 = function () {
2649
+ DataLegendView.prototype.a8 = function () {
2638
2650
  var a = this.a.ic.width;
2639
2651
  var b = this.a.ic.height;
2640
- var c = Math.round(a * this.af);
2641
- var d = Math.round(b * this.af);
2642
- if (this.al != c || this.ak != d) {
2643
- this.aj.setAttribute("width", c.toString());
2644
- this.aj.setAttribute("height", d.toString());
2645
- this.aj.setStyleProperty("width", a.toString() + "px");
2646
- this.aj.setStyleProperty("height", b.toString() + "px");
2647
- this.al = truncate(Math.round(c));
2648
- this.ak = truncate(Math.round(d));
2649
- }
2650
- this.a8(this.t, this.af);
2651
- };
2652
- DataLegendView.prototype.a8 = function (a, b) {
2652
+ var c = Math.round(a * this.ag);
2653
+ var d = Math.round(b * this.ag);
2654
+ if (this.am != c || this.al != d) {
2655
+ this.ak.setAttribute("width", c.toString());
2656
+ this.ak.setAttribute("height", d.toString());
2657
+ this.ak.setStyleProperty("width", a.toString() + "px");
2658
+ this.ak.setStyleProperty("height", b.toString() + "px");
2659
+ this.am = truncate(Math.round(c));
2660
+ this.al = truncate(Math.round(d));
2661
+ }
2662
+ this.a9(this.t, this.ag);
2663
+ };
2664
+ DataLegendView.prototype.a9 = function (a, b) {
2653
2665
  if (this.t == null) {
2654
2666
  this.w = true;
2655
2667
  this.t = a;
@@ -2665,8 +2677,8 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
2665
2677
  }
2666
2678
  var c = new DataTemplatePassInfo();
2667
2679
  c.passID = "LegendItem";
2668
- for (var d = 0; d < this.ab.count; d++) {
2669
- var e = this.ab._inner[d];
2680
+ for (var d = 0; d < this.ac.count; d++) {
2681
+ var e = this.ac._inner[d];
2670
2682
  if (e == null) {
2671
2683
  continue;
2672
2684
  }
@@ -2696,23 +2708,23 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
2696
2708
  f.render(h);
2697
2709
  a.z();
2698
2710
  }
2699
- for (var i = 0; i < this.ac.count; i++) {
2700
- var j = this.ac._inner[i];
2711
+ for (var i = 0; i < this.ad.count; i++) {
2712
+ var j = this.ad._inner[i];
2701
2713
  a.ad(j.dataContext);
2702
2714
  a.x(j);
2703
2715
  }
2704
- for (var k = 0; k < this.aa.count; k++) {
2705
- var l = this.aa._inner[k];
2716
+ for (var k = 0; k < this.ab.count; k++) {
2717
+ var l = this.ab._inner[k];
2706
2718
  a.ad(l.dataContext);
2707
2719
  a.x(l);
2708
2720
  }
2709
- for (var m = 0; m < this.ae.count; m++) {
2710
- var n = this.ae._inner[m];
2721
+ for (var m = 0; m < this.af.count; m++) {
2722
+ var n = this.af._inner[m];
2711
2723
  a.ad(n.dataContext);
2712
2724
  a.x(n);
2713
2725
  }
2714
- for (var o = 0; o < this.ad.count; o++) {
2715
- var p = this.ad._inner[o];
2726
+ for (var o = 0; o < this.ae.count; o++) {
2727
+ var p = this.ae._inner[o];
2716
2728
  a.ad(p.dataContext);
2717
2729
  a.x(p);
2718
2730
  }
@@ -2720,61 +2732,61 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
2720
2732
  a.z();
2721
2733
  }
2722
2734
  };
2723
- DataLegendView.prototype.x = function () {
2724
- if (this.ai != null) {
2725
- this.ai.setTimeout(runOn(this.a, this.a.fp), 0);
2735
+ DataLegendView.prototype.y = function () {
2736
+ if (this.aj != null) {
2737
+ this.aj.setTimeout(runOn(this.a, this.a.fp), 0);
2726
2738
  return true;
2727
2739
  }
2728
2740
  return false;
2729
2741
  };
2730
- DataLegendView.prototype.bv = function (a, b) {
2742
+ DataLegendView.prototype.bw = function (a, b) {
2731
2743
  this.t.ad(b);
2732
2744
  var c = new TextBlock();
2733
2745
  c.al = a;
2734
- var d = this.t.ah(c, this.ah(b), true);
2746
+ var d = this.t.ah(c, this.ai(b), true);
2735
2747
  return new Size(1, d.c, d.b);
2736
2748
  };
2737
- DataLegendView.prototype.ah = function (a) {
2738
- if (this.y.containsKey(a)) {
2739
- var b = this.y.item(a);
2749
+ DataLegendView.prototype.ai = function (a) {
2750
+ if (this.z.containsKey(a)) {
2751
+ var b = this.z.item(a);
2740
2752
  if (b.d.g == a.g) {
2741
2753
  return b.c;
2742
2754
  }
2743
2755
  }
2744
- var c = FontUtil.getCurrentFontHeight(this.ai, a);
2756
+ var c = FontUtil.getCurrentFontHeight(this.aj, a);
2745
2757
  var d = new Tuple$2(Number_$type, FontInfo.$, c, a);
2746
- this.y.item(a, d);
2758
+ this.z.item(a, d);
2747
2759
  return c;
2748
2760
  };
2749
- DataLegendView.prototype.a9 = function (a, b, c) {
2761
+ DataLegendView.prototype.ba = function (a, b, c) {
2750
2762
  if (this.v) {
2751
- this.z.add(a);
2763
+ this.aa.add(a);
2752
2764
  }
2753
2765
  a.n = b;
2754
2766
  a.o = c;
2755
2767
  };
2756
- DataLegendView.prototype.ar = function (a) {
2757
- this.a7();
2768
+ DataLegendView.prototype.as = function (a) {
2769
+ this.a8();
2758
2770
  };
2759
- DataLegendView.prototype.ap = function (a, b) {
2771
+ DataLegendView.prototype.aq = function (a, b) {
2760
2772
  a.dataContext = b;
2761
2773
  };
2762
- DataLegendView.prototype.bu = function () {
2763
- return FontDefaults.dataLegendFontBrush;
2764
- };
2765
- DataLegendView.prototype.bs = function () {
2774
+ DataLegendView.prototype.bv = function () {
2766
2775
  return FontDefaults.dataLegendFontBrush;
2767
2776
  };
2768
2777
  DataLegendView.prototype.bt = function () {
2769
2778
  return FontDefaults.dataLegendFontBrush;
2770
2779
  };
2771
- DataLegendView.prototype.bq = function () {
2780
+ DataLegendView.prototype.bu = function () {
2772
2781
  return FontDefaults.dataLegendFontBrush;
2773
2782
  };
2774
2783
  DataLegendView.prototype.br = function () {
2775
2784
  return FontDefaults.dataLegendFontBrush;
2776
2785
  };
2777
- DataLegendView.prototype.bp = function () {
2786
+ DataLegendView.prototype.bs = function () {
2787
+ return FontDefaults.dataLegendFontBrush;
2788
+ };
2789
+ DataLegendView.prototype.bq = function () {
2778
2790
  return FontDefaults.dataLegendFontBrush;
2779
2791
  };
2780
2792
  DataLegendView.prototype.l = function () {
@@ -2867,50 +2879,50 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
2867
2879
  }
2868
2880
  return this.c;
2869
2881
  };
2870
- DataLegendView.prototype.an = function (a, b) {
2882
+ DataLegendView.prototype.ao = function (a, b) {
2871
2883
  var model_ = this.a;
2872
2884
  var ext_ = model_.externalObject;
2873
2885
  if (ext_ != null) {
2874
2886
  var width_ = a;
2875
2887
  var height_ = b;
2876
- this.ai.rootWrapper.setStyleProperty("min-height", b + "px");
2877
- this.ai.rootWrapper.setStyleProperty("min-width", a + "px");
2888
+ this.aj.rootWrapper.setStyleProperty("min-height", b + "px");
2889
+ this.aj.rootWrapper.setStyleProperty("min-width", a + "px");
2878
2890
  this.a.notifySizeChanged();
2879
2891
  }
2880
2892
  };
2881
- DataLegendView.prototype.a6 = function (a) {
2882
- this.af = a;
2893
+ DataLegendView.prototype.a7 = function (a) {
2894
+ this.ag = a;
2883
2895
  };
2884
- DataLegendView.prototype.a2 = function () {
2896
+ DataLegendView.prototype.a3 = function () {
2885
2897
  if (this.b != null) {
2886
- this.b.at(this.aj, "");
2898
+ this.b.at(this.ak, "");
2887
2899
  }
2888
2900
  };
2889
- DataLegendView.prototype.a5 = function () {
2901
+ DataLegendView.prototype.a6 = function () {
2890
2902
  if (this.b != null) {
2891
- this.b.bh(this.aj, "");
2903
+ this.b.bh(this.ak, "");
2892
2904
  }
2893
2905
  };
2894
- DataLegendView.prototype.aq = function (a, b) {
2906
+ DataLegendView.prototype.ar = function (a, b) {
2895
2907
  a.ag = true;
2896
- var c = this.t.ah(a, this.ah(b), true);
2908
+ var c = this.t.ah(a, this.ai(b), true);
2897
2909
  };
2898
- DataLegendView.prototype.ba = function () {
2899
- this.z.clear();
2910
+ DataLegendView.prototype.bb = function () {
2911
+ this.aa.clear();
2900
2912
  this.v = true;
2901
- this.ag = 0;
2913
+ this.ah = 0;
2902
2914
  };
2903
- DataLegendView.prototype.ao = function () {
2904
- for (var a = 0; a < this.z.count; a++) {
2905
- this.ag = Math.max(this.ag, this.z._inner[a].ah);
2915
+ DataLegendView.prototype.ap = function () {
2916
+ for (var a = 0; a < this.aa.count; a++) {
2917
+ this.ah = Math.max(this.ah, this.aa._inner[a].ah);
2906
2918
  }
2907
- if (this.ag > 0) {
2908
- for (var b = 0; b < this.z.count; b++) {
2909
- this.z._inner[b].ah = this.ag;
2919
+ if (this.ah > 0) {
2920
+ for (var b = 0; b < this.aa.count; b++) {
2921
+ this.aa._inner[b].ah = this.ah;
2910
2922
  }
2911
2923
  }
2912
2924
  this.v = false;
2913
- this.ag = 0;
2925
+ this.ah = 0;
2914
2926
  };
2915
2927
  DataLegendView.$t = markType(DataLegendView, 'DataLegendView');
2916
2928
  return DataLegendView;