igniteui-webcomponents-charts 4.3.3-beta.1 → 4.6.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 +7780 -7646
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm2015/lib/AnchoredCategorySeries_combined.js +2 -2
- package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
- package/esm2015/lib/AngleAxisLabelPanel_combined.js +10 -10
- package/esm2015/lib/AnnotationLayer_combined.js +4 -4
- package/esm2015/lib/AxisAnnotationFrameManager.js +2 -2
- package/esm2015/lib/AxisAnnotationManager.js +1 -1
- package/esm2015/lib/BollingerBandsOverlay_combined.js +1 -1
- package/esm2015/lib/BubbleSeries_combined.js +4 -4
- package/esm2015/lib/CalloutLayer_combined.js +3 -3
- package/esm2015/lib/CategoryBucketCalculator_combined.js +5 -5
- package/esm2015/lib/CategoryChart.js +429 -429
- package/esm2015/lib/CategoryChartToolbarProvider.js +8 -8
- package/esm2015/lib/CategoryDateTimeXAxis_combined.js +4 -4
- package/esm2015/lib/CategoryItemHighlightLayer_combined.js +10 -10
- package/esm2015/lib/CategoryToolTipLayer_combined.js +2 -2
- package/esm2015/lib/CategoryXAxis_combined.js +20 -20
- package/esm2015/lib/CategoryYAxis_combined.js +20 -20
- package/esm2015/lib/ColumnSeries_combined.js +2 -2
- package/esm2015/lib/DataChartToolbarProvider.js +6 -6
- package/esm2015/lib/DataChartVisualDataManager.js +1 -1
- package/esm2015/lib/DataLegendContent_combined.js +251 -243
- package/esm2015/lib/DataToolTipLayer_combined.js +6 -6
- package/esm2015/lib/DomainChartToolbarProvider.js +15 -15
- package/esm2015/lib/DomainChart_combined.js +1520 -1512
- package/esm2015/lib/FinancialChartDropDownControl.js +10 -3
- package/esm2015/lib/FinancialChartIndicatorMenuView.js +26 -16
- package/esm2015/lib/FinancialChart_combined.js +1320 -1320
- package/esm2015/lib/FinancialEventArgs_combined.js +1 -1
- package/esm2015/lib/FinancialIndicator_combined.js +1 -1
- package/esm2015/lib/FinancialPriceSeries_combined.js +4 -4
- package/esm2015/lib/HighDensityScatterSeries_combined.js +4 -4
- package/esm2015/lib/HorizontalAnchoredCategorySeries.js +3 -3
- package/esm2015/lib/HorizontalRangeCategorySeries.js +6 -6
- package/esm2015/lib/NumericXAxis_combined.js +3 -3
- package/esm2015/lib/NumericYAxis_combined.js +3 -3
- package/esm2015/lib/OrdinalTimeXAxis.js +2 -2
- package/esm2015/lib/PolarBase_combined.js +3 -3
- package/esm2015/lib/PolarLineSeriesBase_combined.js +1 -1
- package/esm2015/lib/PriceChannelOverlay_combined.js +2 -2
- package/esm2015/lib/RadialAxisLabelPanel_combined.js +1 -1
- package/esm2015/lib/RadialBucketCalculator_combined.js +3 -3
- package/esm2015/lib/RangeCategoryBucketCalculator_combined.js +2 -2
- package/esm2015/lib/ScatterAreaSeries_combined.js +1 -1
- package/esm2015/lib/ScatterBase_combined.js +9 -9
- package/esm2015/lib/ScatterPolygonSeries_combined.js +14 -14
- package/esm2015/lib/SeriesInteractionManager.js +22 -22
- package/esm2015/lib/SeriesViewerInteractionManager.js +124 -124
- package/esm2015/lib/SeriesViewerScrollbarManager.js +4 -4
- package/esm2015/lib/SeriesViewerSurfaceViewer.js +9 -9
- package/esm2015/lib/SeriesViewer_combined.js +1719 -1667
- package/esm2015/lib/SeriesVisualDataManager.js +20 -20
- package/esm2015/lib/ShapeSeriesBase_combined.js +2 -2
- package/esm2015/lib/SplineSeriesBase_combined.js +1 -1
- package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +23 -23
- package/esm2015/lib/TileZoomManager_combined.js +4 -4
- package/esm2015/lib/TimeAxisBase.js +6 -6
- package/esm2015/lib/TimeXAxis.js +9 -9
- package/esm2015/lib/ValueOverlay_combined.js +1 -1
- package/esm2015/lib/VerticalAnchoredCategorySeries.js +5 -5
- package/esm2015/lib/VerticalAnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm2015/lib/XYChart.js +742 -742
- package/esm2015/lib/igc-category-chart-component.js +126 -126
- package/esm2015/lib/igc-data-chart-component.js +95 -95
- package/esm2015/lib/igc-domain-chart-component.js +548 -545
- package/esm2015/lib/igc-financial-chart-component.js +172 -172
- package/esm2015/lib/igc-financial-chart-default-templates-component.js +22 -3
- package/esm2015/lib/igc-series-viewer-component.js +258 -255
- package/esm2015/lib/igc-xy-chart-component.js +218 -218
- package/esm5/lib/AnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm5/lib/AnchoredCategorySeries_combined.js +2 -2
- package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
- package/esm5/lib/AngleAxisLabelPanel_combined.js +10 -10
- package/esm5/lib/AnnotationLayer_combined.js +4 -4
- package/esm5/lib/AxisAnnotationFrameManager.js +2 -2
- package/esm5/lib/AxisAnnotationManager.js +1 -1
- package/esm5/lib/BollingerBandsOverlay_combined.js +1 -1
- package/esm5/lib/BubbleSeries_combined.js +4 -4
- package/esm5/lib/CalloutLayer_combined.js +3 -3
- package/esm5/lib/CategoryBucketCalculator_combined.js +5 -5
- package/esm5/lib/CategoryChart.js +414 -414
- package/esm5/lib/CategoryChartToolbarProvider.js +8 -8
- package/esm5/lib/CategoryDateTimeXAxis_combined.js +4 -4
- package/esm5/lib/CategoryItemHighlightLayer_combined.js +10 -10
- package/esm5/lib/CategoryToolTipLayer_combined.js +2 -2
- package/esm5/lib/CategoryXAxis_combined.js +20 -20
- package/esm5/lib/CategoryYAxis_combined.js +20 -20
- package/esm5/lib/ColumnSeries_combined.js +2 -2
- package/esm5/lib/DataChartToolbarProvider.js +6 -6
- package/esm5/lib/DataChartVisualDataManager.js +1 -1
- package/esm5/lib/DataLegendContent_combined.js +253 -241
- package/esm5/lib/DataToolTipLayer_combined.js +6 -6
- package/esm5/lib/DomainChartToolbarProvider.js +15 -15
- package/esm5/lib/DomainChart_combined.js +1440 -1428
- package/esm5/lib/FinancialChartDropDownControl.js +10 -3
- package/esm5/lib/FinancialChartIndicatorMenuView.js +33 -19
- package/esm5/lib/FinancialChart_combined.js +1286 -1286
- package/esm5/lib/FinancialEventArgs_combined.js +1 -1
- package/esm5/lib/FinancialIndicator_combined.js +1 -1
- package/esm5/lib/FinancialPriceSeries_combined.js +4 -4
- package/esm5/lib/HighDensityScatterSeries_combined.js +4 -4
- package/esm5/lib/HorizontalAnchoredCategorySeries.js +3 -3
- package/esm5/lib/HorizontalRangeCategorySeries.js +6 -6
- package/esm5/lib/NumericXAxis_combined.js +3 -3
- package/esm5/lib/NumericYAxis_combined.js +3 -3
- package/esm5/lib/OrdinalTimeXAxis.js +2 -2
- package/esm5/lib/PolarBase_combined.js +3 -3
- package/esm5/lib/PolarLineSeriesBase_combined.js +1 -1
- package/esm5/lib/PriceChannelOverlay_combined.js +2 -2
- package/esm5/lib/RadialAxisLabelPanel_combined.js +1 -1
- package/esm5/lib/RadialBucketCalculator_combined.js +3 -3
- package/esm5/lib/RangeCategoryBucketCalculator_combined.js +2 -2
- package/esm5/lib/ScatterAreaSeries_combined.js +1 -1
- package/esm5/lib/ScatterBase_combined.js +9 -9
- package/esm5/lib/ScatterPolygonSeries_combined.js +14 -14
- package/esm5/lib/SeriesInteractionManager.js +22 -22
- package/esm5/lib/SeriesViewerInteractionManager.js +124 -124
- package/esm5/lib/SeriesViewerScrollbarManager.js +4 -4
- package/esm5/lib/SeriesViewerSurfaceViewer.js +9 -9
- package/esm5/lib/SeriesViewer_combined.js +1711 -1655
- package/esm5/lib/SeriesVisualDataManager.js +20 -20
- package/esm5/lib/ShapeSeriesBase_combined.js +2 -2
- package/esm5/lib/SplineSeriesBase_combined.js +1 -1
- package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +23 -23
- package/esm5/lib/TileZoomManager_combined.js +4 -4
- package/esm5/lib/TimeAxisBase.js +6 -6
- package/esm5/lib/TimeXAxis.js +9 -9
- package/esm5/lib/ValueOverlay_combined.js +1 -1
- package/esm5/lib/VerticalAnchoredCategorySeries.js +5 -5
- package/esm5/lib/VerticalAnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm5/lib/XYChart.js +698 -698
- package/esm5/lib/igc-category-chart-component.js +126 -126
- package/esm5/lib/igc-data-chart-component.js +95 -95
- package/esm5/lib/igc-domain-chart-component.js +552 -545
- package/esm5/lib/igc-financial-chart-component.js +172 -172
- package/esm5/lib/igc-financial-chart-default-templates-component.js +22 -3
- package/esm5/lib/igc-series-viewer-component.js +262 -255
- package/esm5/lib/igc-xy-chart-component.js +218 -218
- package/fesm2015/igniteui-webcomponents-charts.js +7872 -7762
- package/fesm5/igniteui-webcomponents-charts.js +7780 -7646
- package/lib/CategoryChart.d.ts +131 -131
- package/lib/DataLegendContent_combined.d.ts +50 -49
- package/lib/DomainChart_combined.d.ts +476 -473
- package/lib/FinancialChart_combined.d.ts +286 -286
- package/lib/SeriesViewer_combined.d.ts +498 -494
- package/lib/XYChart.d.ts +195 -195
- package/lib/igc-domain-chart-component.d.ts +1 -0
- package/lib/igc-financial-chart-default-templates-component.d.ts +1 -1
- package/lib/igc-series-viewer-component.d.ts +1 -0
- package/package.json +2 -2
|
@@ -157,15 +157,15 @@ export let DataLegendRowCell = /*@__PURE__*/ (() => {
|
|
|
157
157
|
this.m = true;
|
|
158
158
|
this.j = true;
|
|
159
159
|
if (this.c) {
|
|
160
|
-
this.z = a.
|
|
161
|
-
this.ab = a.
|
|
162
|
-
this.aa = a.
|
|
160
|
+
this.z = a.bt();
|
|
161
|
+
this.ab = a.bv();
|
|
162
|
+
this.aa = a.bu();
|
|
163
163
|
this.g = a.j();
|
|
164
164
|
this.i = a.n();
|
|
165
165
|
this.h = a.m();
|
|
166
166
|
}
|
|
167
167
|
else if (this.d) {
|
|
168
|
-
let e = a.
|
|
168
|
+
let e = a.bs();
|
|
169
169
|
let f = a.k();
|
|
170
170
|
this.z = e;
|
|
171
171
|
this.ab = e;
|
|
@@ -175,7 +175,7 @@ export let DataLegendRowCell = /*@__PURE__*/ (() => {
|
|
|
175
175
|
this.h = f;
|
|
176
176
|
}
|
|
177
177
|
else {
|
|
178
|
-
let g = a.
|
|
178
|
+
let g = a.bq();
|
|
179
179
|
let h = a.i();
|
|
180
180
|
this.z = g;
|
|
181
181
|
this.ab = g;
|
|
@@ -257,17 +257,17 @@ export let DataLegendRowInfo = /*@__PURE__*/ (() => {
|
|
|
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.
|
|
260
|
+
this.q = a.bt();
|
|
261
261
|
this.i = a.l();
|
|
262
262
|
}
|
|
263
263
|
else if (this.d) {
|
|
264
|
-
let e = a.
|
|
264
|
+
let e = a.bs();
|
|
265
265
|
let f = a.k();
|
|
266
266
|
this.q = e;
|
|
267
267
|
this.i = f;
|
|
268
268
|
}
|
|
269
269
|
else {
|
|
270
|
-
let g = a.
|
|
270
|
+
let g = a.bq();
|
|
271
271
|
let h = a.i();
|
|
272
272
|
this.q = g;
|
|
273
273
|
this.i = h;
|
|
@@ -319,7 +319,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
319
319
|
set bt(a) {
|
|
320
320
|
let b = this.bj;
|
|
321
321
|
if (typeof a === 'string') {
|
|
322
|
-
a = FontUtil.getFontInfoFromString(this.a5.
|
|
322
|
+
a = FontUtil.getFontInfoFromString(this.a5.aj, a);
|
|
323
323
|
}
|
|
324
324
|
this.bj = a;
|
|
325
325
|
if (b != this.bj) {
|
|
@@ -332,7 +332,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
332
332
|
set bl(a) {
|
|
333
333
|
let b = this.bb;
|
|
334
334
|
if (typeof a === 'string') {
|
|
335
|
-
a = FontUtil.getFontInfoFromString(this.a5.
|
|
335
|
+
a = FontUtil.getFontInfoFromString(this.a5.aj, a);
|
|
336
336
|
}
|
|
337
337
|
this.bb = a;
|
|
338
338
|
if (b != this.bb) {
|
|
@@ -345,7 +345,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
345
345
|
set bo(a) {
|
|
346
346
|
let b = this.be;
|
|
347
347
|
if (typeof a === 'string') {
|
|
348
|
-
a = FontUtil.getFontInfoFromString(this.a5.
|
|
348
|
+
a = FontUtil.getFontInfoFromString(this.a5.aj, a);
|
|
349
349
|
}
|
|
350
350
|
this.be = a;
|
|
351
351
|
if (b != this.be) {
|
|
@@ -358,7 +358,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
358
358
|
set bq(a) {
|
|
359
359
|
let b = this.bg;
|
|
360
360
|
if (typeof a === 'string') {
|
|
361
|
-
a = FontUtil.getFontInfoFromString(this.a5.
|
|
361
|
+
a = FontUtil.getFontInfoFromString(this.a5.aj, a);
|
|
362
362
|
}
|
|
363
363
|
this.bg = a;
|
|
364
364
|
if (b != this.bg) {
|
|
@@ -371,7 +371,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
371
371
|
set bn(a) {
|
|
372
372
|
let b = this.bd;
|
|
373
373
|
if (typeof a === 'string') {
|
|
374
|
-
a = FontUtil.getFontInfoFromString(this.a5.
|
|
374
|
+
a = FontUtil.getFontInfoFromString(this.a5.aj, a);
|
|
375
375
|
}
|
|
376
376
|
this.bd = a;
|
|
377
377
|
if (b != this.bd) {
|
|
@@ -384,7 +384,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
384
384
|
set bp(a) {
|
|
385
385
|
let b = this.bf;
|
|
386
386
|
if (typeof a === 'string') {
|
|
387
|
-
a = FontUtil.getFontInfoFromString(this.a5.
|
|
387
|
+
a = FontUtil.getFontInfoFromString(this.a5.aj, a);
|
|
388
388
|
}
|
|
389
389
|
this.bf = a;
|
|
390
390
|
if (b != this.bf) {
|
|
@@ -397,7 +397,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
397
397
|
set bs(a) {
|
|
398
398
|
let b = this.bi;
|
|
399
399
|
if (typeof a === 'string') {
|
|
400
|
-
a = FontUtil.getFontInfoFromString(this.a5.
|
|
400
|
+
a = FontUtil.getFontInfoFromString(this.a5.aj, a);
|
|
401
401
|
}
|
|
402
402
|
this.bi = a;
|
|
403
403
|
if (b != this.bi) {
|
|
@@ -410,7 +410,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
410
410
|
set br(a) {
|
|
411
411
|
let b = this.bh;
|
|
412
412
|
if (typeof a === 'string') {
|
|
413
|
-
a = FontUtil.getFontInfoFromString(this.a5.
|
|
413
|
+
a = FontUtil.getFontInfoFromString(this.a5.aj, a);
|
|
414
414
|
}
|
|
415
415
|
this.bh = a;
|
|
416
416
|
if (b != this.bh) {
|
|
@@ -423,7 +423,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
423
423
|
set bm(a) {
|
|
424
424
|
let b = this.bc;
|
|
425
425
|
if (typeof a === 'string') {
|
|
426
|
-
a = FontUtil.getFontInfoFromString(this.a5.
|
|
426
|
+
a = FontUtil.getFontInfoFromString(this.a5.aj, a);
|
|
427
427
|
}
|
|
428
428
|
this.bc = a;
|
|
429
429
|
if (b != this.bc) {
|
|
@@ -480,10 +480,10 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
480
480
|
let c = -1;
|
|
481
481
|
let d = -1;
|
|
482
482
|
let e = -1;
|
|
483
|
-
let f = this.a5.
|
|
484
|
-
let g = this.a5.
|
|
485
|
-
let h = this.a5.
|
|
486
|
-
let i = this.a5.
|
|
483
|
+
let f = this.a5.ad;
|
|
484
|
+
let g = this.a5.ab;
|
|
485
|
+
let h = this.a5.af;
|
|
486
|
+
let i = this.a5.ae;
|
|
487
487
|
if (f.count < this.ao.b.count) {
|
|
488
488
|
return a;
|
|
489
489
|
}
|
|
@@ -614,7 +614,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
614
614
|
return b;
|
|
615
615
|
}
|
|
616
616
|
else {
|
|
617
|
-
return FontUtil.toFontInfo(this.a5.
|
|
617
|
+
return FontUtil.toFontInfo(this.a5.aj, b.fontString);
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
620
|
a0(a) {
|
|
@@ -780,14 +780,14 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
780
780
|
break;
|
|
781
781
|
case "PixelScalingRatio":
|
|
782
782
|
if (isNaN_(this.co)) {
|
|
783
|
-
this.a5.
|
|
783
|
+
this.a5.aw();
|
|
784
784
|
}
|
|
785
785
|
else {
|
|
786
786
|
this.co = this.pixelScalingRatio;
|
|
787
787
|
}
|
|
788
788
|
break;
|
|
789
789
|
case "ActualPixelScalingRatio":
|
|
790
|
-
this.a5.
|
|
790
|
+
this.a5.a7(c);
|
|
791
791
|
break;
|
|
792
792
|
}
|
|
793
793
|
this.f3();
|
|
@@ -806,10 +806,10 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
806
806
|
if (b != null) {
|
|
807
807
|
b.attachDataLegend(this);
|
|
808
808
|
if (isNaN_(this.targetCursorPositionX)) {
|
|
809
|
-
this.cm = 1;
|
|
809
|
+
this.cm = -1;
|
|
810
810
|
}
|
|
811
811
|
if (isNaN_(this.targetCursorPositionY)) {
|
|
812
|
-
this.cn =
|
|
812
|
+
this.cn = -1;
|
|
813
813
|
}
|
|
814
814
|
}
|
|
815
815
|
}
|
|
@@ -889,7 +889,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
889
889
|
}
|
|
890
890
|
}
|
|
891
891
|
notifySizeChanged() {
|
|
892
|
-
this.a5.
|
|
892
|
+
this.a5.a5();
|
|
893
893
|
}
|
|
894
894
|
notifyVisualPropertiesChanged(a) {
|
|
895
895
|
}
|
|
@@ -1141,27 +1141,27 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1141
1141
|
this._externalObject = a;
|
|
1142
1142
|
}
|
|
1143
1143
|
flush() {
|
|
1144
|
-
this.a5.
|
|
1144
|
+
this.a5.at();
|
|
1145
1145
|
}
|
|
1146
1146
|
onAttachedToUI() {
|
|
1147
|
-
this.a5.
|
|
1147
|
+
this.a5.a3();
|
|
1148
1148
|
}
|
|
1149
1149
|
onDetachedFromUI() {
|
|
1150
|
-
this.a5.
|
|
1150
|
+
this.a5.a6();
|
|
1151
1151
|
}
|
|
1152
1152
|
ensureIndirectContainer(a, b) {
|
|
1153
|
-
if (this.a5.
|
|
1154
|
-
this.a5.
|
|
1153
|
+
if (this.a5.aj == null) {
|
|
1154
|
+
this.a5.a4(a, true);
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
1157
1157
|
provideContainer(a) {
|
|
1158
|
-
this.a5.
|
|
1158
|
+
this.a5.a4(a, false);
|
|
1159
1159
|
}
|
|
1160
1160
|
f3() {
|
|
1161
1161
|
if (this.bu) {
|
|
1162
1162
|
return;
|
|
1163
1163
|
}
|
|
1164
|
-
this.bu = this.a5.
|
|
1164
|
+
this.bu = this.a5.y();
|
|
1165
1165
|
}
|
|
1166
1166
|
get shouldOnDemandRender() {
|
|
1167
1167
|
return this.bv;
|
|
@@ -1175,7 +1175,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1175
1175
|
this.ic = new Rect(0, 0, 0, c.width, c.height);
|
|
1176
1176
|
}
|
|
1177
1177
|
this.f4(this.ao, true);
|
|
1178
|
-
this.a5.
|
|
1178
|
+
this.a5.a9(a, b);
|
|
1179
1179
|
}
|
|
1180
1180
|
ensureUpdated() {
|
|
1181
1181
|
let a = this.getDesiredSize();
|
|
@@ -1199,7 +1199,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1199
1199
|
return new Size(1, this.ao.d, this.ao.c);
|
|
1200
1200
|
}
|
|
1201
1201
|
gf() {
|
|
1202
|
-
if (this.a7 == null) {
|
|
1202
|
+
if (this.a7 == null || this.a7.isDetached) {
|
|
1203
1203
|
this.fn();
|
|
1204
1204
|
return;
|
|
1205
1205
|
}
|
|
@@ -1250,6 +1250,9 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1250
1250
|
}
|
|
1251
1251
|
fp() {
|
|
1252
1252
|
this.bu = false;
|
|
1253
|
+
if (!this.a5.x) {
|
|
1254
|
+
return;
|
|
1255
|
+
}
|
|
1253
1256
|
let a = new Size(1, 0, 0);
|
|
1254
1257
|
if (this.ao != null) {
|
|
1255
1258
|
a = new Size(1, this.ao.d, this.ao.c);
|
|
@@ -1260,7 +1263,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1260
1263
|
b = new Size(1, this.ao.d, this.ao.c);
|
|
1261
1264
|
}
|
|
1262
1265
|
if (!a.equals(b)) {
|
|
1263
|
-
this.a5.
|
|
1266
|
+
this.a5.ao(b.width, b.height);
|
|
1264
1267
|
}
|
|
1265
1268
|
this.f4(this.ao, this.bv);
|
|
1266
1269
|
}
|
|
@@ -1278,7 +1281,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1278
1281
|
this.a5.r.count = c.d;
|
|
1279
1282
|
this.a5.o.count = c.a;
|
|
1280
1283
|
if (!b) {
|
|
1281
|
-
this.a5.
|
|
1284
|
+
this.a5.as(a);
|
|
1282
1285
|
}
|
|
1283
1286
|
}
|
|
1284
1287
|
f6(a, b, c) {
|
|
@@ -1287,7 +1290,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1287
1290
|
c.b += 1;
|
|
1288
1291
|
this.f5(d, a, b, c);
|
|
1289
1292
|
}
|
|
1290
|
-
this.a5.
|
|
1293
|
+
this.a5.bb();
|
|
1291
1294
|
if (!b.s.isEmpty && b.s.width > 0 && b.s.height > 0) {
|
|
1292
1295
|
let e = this.a5.q.item(c.c);
|
|
1293
1296
|
c.c += 1;
|
|
@@ -1310,13 +1313,13 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1310
1313
|
this.f7(i, f.t, f.z, f.g, f.ac);
|
|
1311
1314
|
}
|
|
1312
1315
|
}
|
|
1313
|
-
this.a5.
|
|
1316
|
+
this.a5.ap();
|
|
1314
1317
|
}
|
|
1315
1318
|
f7(a, b, c, d, e) {
|
|
1316
1319
|
a.al = b;
|
|
1317
|
-
this.a5.
|
|
1318
|
-
this.a5.ap(a, d);
|
|
1320
|
+
this.a5.ba(a, e.left, e.top);
|
|
1319
1321
|
this.a5.aq(a, d);
|
|
1322
|
+
this.a5.ar(a, d);
|
|
1320
1323
|
a.ao = c;
|
|
1321
1324
|
}
|
|
1322
1325
|
f5(a, b, c, d) {
|
|
@@ -1324,7 +1327,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1324
1327
|
a.content = c.l;
|
|
1325
1328
|
a.width = c.t.width;
|
|
1326
1329
|
a.height = c.t.height;
|
|
1327
|
-
this.a5.
|
|
1330
|
+
this.a5.ba(a, c.r.left, c.r.top);
|
|
1328
1331
|
}
|
|
1329
1332
|
by(a, b) {
|
|
1330
1333
|
if (b == null) {
|
|
@@ -1346,55 +1349,57 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1346
1349
|
for (let b = 0; b < a.count; b++) {
|
|
1347
1350
|
let c = a._inner[b];
|
|
1348
1351
|
let d = b;
|
|
1349
|
-
let e =
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
let j =
|
|
1356
|
-
let k = this.b9 == null
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1352
|
+
let e = c.getDataLegendResolvedWorldPositionX(this.cm);
|
|
1353
|
+
let f = c.getDataLegendResolvedWorldPositionY(this.cn);
|
|
1354
|
+
let g = typeCast(DataLegendSeriesContext.$, c.getDataLegendSeriesContextAt(e, f));
|
|
1355
|
+
if (g != null) {
|
|
1356
|
+
let h = new List$1(DataLegendSeriesValueInfo.$, 0);
|
|
1357
|
+
for (let i = 0; i < g.f.count; i++) {
|
|
1358
|
+
let j = g.f._inner[i];
|
|
1359
|
+
let 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");
|
|
1360
|
+
let 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"));
|
|
1361
|
+
let m = this.b9 == null && this.b8 == null && j.k;
|
|
1362
|
+
if (k && (!l && !m)) {
|
|
1363
|
+
j.o = h.count;
|
|
1364
|
+
h.add(j);
|
|
1365
|
+
if (!this.b7.containsKey(j.o)) {
|
|
1366
|
+
this.b7.addItem(j.o, new DataLegendColumn());
|
|
1362
1367
|
}
|
|
1363
|
-
this.b7.item(
|
|
1364
|
-
this.b7.item(
|
|
1365
|
-
this.b7.item(
|
|
1366
|
-
this.b7.item(
|
|
1367
|
-
this.b7.item(
|
|
1368
|
-
this.b7.item(
|
|
1368
|
+
this.b7.item(j.o).i = j.o;
|
|
1369
|
+
this.b7.item(j.o).d.q(d, j.s);
|
|
1370
|
+
this.b7.item(j.o).b.q(d, j.r);
|
|
1371
|
+
this.b7.item(j.o).e.q(d, j.l);
|
|
1372
|
+
this.b7.item(j.o).c.q(d, j);
|
|
1373
|
+
this.b7.item(j.o).h.add(d);
|
|
1369
1374
|
}
|
|
1370
1375
|
}
|
|
1371
|
-
|
|
1372
|
-
this.ce.add(
|
|
1373
|
-
this.cs = Math.max(this.cs,
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
for (let
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
let
|
|
1380
|
-
let
|
|
1381
|
-
for (let
|
|
1382
|
-
let
|
|
1383
|
-
let
|
|
1384
|
-
|
|
1385
|
-
let
|
|
1386
|
-
let
|
|
1387
|
-
|
|
1388
|
-
let
|
|
1389
|
-
if (
|
|
1390
|
-
|
|
1376
|
+
g.f = h;
|
|
1377
|
+
this.ce.add(g);
|
|
1378
|
+
this.cs = Math.max(this.cs, g.f.count);
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
for (let n of fromEnum(this.b7.values)) {
|
|
1382
|
+
n.f.clear();
|
|
1383
|
+
n.a.clear();
|
|
1384
|
+
let o = n.e.p(n.h);
|
|
1385
|
+
let p = this.cf(o);
|
|
1386
|
+
for (let q = 0; q < p.count; q++) {
|
|
1387
|
+
let r = p._inner[q];
|
|
1388
|
+
let s = n.h._inner[q];
|
|
1389
|
+
n.a.q(s, r);
|
|
1390
|
+
let t = n.c.item(s);
|
|
1391
|
+
let u = this.d2(r, t);
|
|
1392
|
+
n.f.q(s, u);
|
|
1393
|
+
let v = !stringIsNullOrEmpty(r.l);
|
|
1394
|
+
if (v) {
|
|
1395
|
+
n.g = true;
|
|
1391
1396
|
}
|
|
1392
1397
|
}
|
|
1393
1398
|
}
|
|
1394
1399
|
this.fi(this.ao, a);
|
|
1395
|
-
for (let
|
|
1396
|
-
this.ge(a._inner[
|
|
1397
|
-
this.fj(this.ao, a._inner[
|
|
1400
|
+
for (let w = 0; w < a.count; w++) {
|
|
1401
|
+
this.ge(a._inner[w], this.a8);
|
|
1402
|
+
this.fj(this.ao, a._inner[w], w);
|
|
1398
1403
|
}
|
|
1399
1404
|
this.fk(this.ao, a);
|
|
1400
1405
|
this.bw = this.b2();
|
|
@@ -1556,11 +1561,11 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1556
1561
|
return new Size(1, f, a);
|
|
1557
1562
|
}
|
|
1558
1563
|
fu(a) {
|
|
1559
|
-
a.u = a.n == null ? new Size(1, 0, 0) : this.a5.
|
|
1564
|
+
a.u = a.n == null ? new Size(1, 0, 0) : this.a5.bw(a.n, a.i);
|
|
1560
1565
|
for (let b of fromEnum(a.k)) {
|
|
1561
|
-
b.ak = b.x == null ? new Size(1, 0, 0) : this.a5.
|
|
1562
|
-
b.ai = b.u == null ? new Size(1, 0, 0) : this.a5.
|
|
1563
|
-
b.ag = b.t == null ? new Size(1, 0, 0) : this.a5.
|
|
1566
|
+
b.ak = b.x == null ? new Size(1, 0, 0) : this.a5.bw(b.x, b.i);
|
|
1567
|
+
b.ai = b.u == null ? new Size(1, 0, 0) : this.a5.bw(b.u, b.h);
|
|
1568
|
+
b.ag = b.t == null ? new Size(1, 0, 0) : this.a5.bw(b.t, b.g);
|
|
1564
1569
|
}
|
|
1565
1570
|
}
|
|
1566
1571
|
d1(a, b, c, d) {
|
|
@@ -2110,29 +2115,29 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2110
2115
|
class DataLegendView extends Base {
|
|
2111
2116
|
constructor(a) {
|
|
2112
2117
|
super();
|
|
2113
|
-
this.aa = null;
|
|
2114
|
-
this.ac = null;
|
|
2115
|
-
this.ae = null;
|
|
2116
|
-
this.ad = null;
|
|
2117
2118
|
this.ab = null;
|
|
2119
|
+
this.ad = null;
|
|
2120
|
+
this.af = null;
|
|
2121
|
+
this.ae = null;
|
|
2122
|
+
this.ac = null;
|
|
2118
2123
|
this.o = null;
|
|
2119
2124
|
this.q = null;
|
|
2120
2125
|
this.s = null;
|
|
2121
2126
|
this.r = null;
|
|
2122
2127
|
this.p = null;
|
|
2123
2128
|
this.a = null;
|
|
2129
|
+
this.ak = null;
|
|
2124
2130
|
this.aj = null;
|
|
2125
|
-
this.ai = null;
|
|
2126
2131
|
this.t = null;
|
|
2127
2132
|
this.b = null;
|
|
2128
|
-
this.
|
|
2133
|
+
this.ag = 1;
|
|
2129
2134
|
this.w = false;
|
|
2135
|
+
this.am = -1;
|
|
2130
2136
|
this.al = -1;
|
|
2131
|
-
this.
|
|
2132
|
-
this.y = new Dictionary$2(FontInfo.$, Tuple$2.$.specialize(Number_$type, FontInfo.$), 0);
|
|
2137
|
+
this.z = new Dictionary$2(FontInfo.$, Tuple$2.$.specialize(Number_$type, FontInfo.$), 0);
|
|
2133
2138
|
this.v = false;
|
|
2134
|
-
this.
|
|
2135
|
-
this.
|
|
2139
|
+
this.aa = new List$1(FrameworkElement.$, 0);
|
|
2140
|
+
this.ah = 0;
|
|
2136
2141
|
this.f = null;
|
|
2137
2142
|
this.h = null;
|
|
2138
2143
|
this.g = null;
|
|
@@ -2143,123 +2148,123 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2143
2148
|
this.a = a;
|
|
2144
2149
|
this.q = ((() => {
|
|
2145
2150
|
let $ret = new Pool$1(TextBlock.$);
|
|
2146
|
-
$ret.create = runOn(this, this.
|
|
2147
|
-
$ret.activate = runOn(this, this.
|
|
2148
|
-
$ret.disactivate = runOn(this, this.
|
|
2149
|
-
$ret.destroy = runOn(this, this.
|
|
2151
|
+
$ret.create = runOn(this, this.bn);
|
|
2152
|
+
$ret.activate = runOn(this, this.bc);
|
|
2153
|
+
$ret.disactivate = runOn(this, this.be);
|
|
2154
|
+
$ret.destroy = runOn(this, this.bd);
|
|
2150
2155
|
return $ret;
|
|
2151
2156
|
})());
|
|
2152
2157
|
this.s = ((() => {
|
|
2153
2158
|
let $ret = new Pool$1(TextBlock.$);
|
|
2154
|
-
$ret.create = runOn(this, this.
|
|
2155
|
-
$ret.activate = runOn(this, this.
|
|
2156
|
-
$ret.disactivate = runOn(this, this.
|
|
2157
|
-
$ret.destroy = runOn(this, this.
|
|
2159
|
+
$ret.create = runOn(this, this.bp);
|
|
2160
|
+
$ret.activate = runOn(this, this.bi);
|
|
2161
|
+
$ret.disactivate = runOn(this, this.bk);
|
|
2162
|
+
$ret.destroy = runOn(this, this.bj);
|
|
2158
2163
|
return $ret;
|
|
2159
2164
|
})());
|
|
2160
2165
|
this.r = ((() => {
|
|
2161
2166
|
let $ret = new Pool$1(TextBlock.$);
|
|
2162
|
-
$ret.create = runOn(this, this.
|
|
2163
|
-
$ret.activate = runOn(this, this.
|
|
2164
|
-
$ret.disactivate = runOn(this, this.
|
|
2165
|
-
$ret.destroy = runOn(this, this.
|
|
2167
|
+
$ret.create = runOn(this, this.bo);
|
|
2168
|
+
$ret.activate = runOn(this, this.bf);
|
|
2169
|
+
$ret.disactivate = runOn(this, this.bh);
|
|
2170
|
+
$ret.destroy = runOn(this, this.bg);
|
|
2166
2171
|
return $ret;
|
|
2167
2172
|
})());
|
|
2168
2173
|
this.p = ((() => {
|
|
2169
2174
|
let $ret = new Pool$1(ContentControl.$);
|
|
2170
|
-
$ret.create = runOn(this, this.
|
|
2171
|
-
$ret.activate = runOn(this, this.
|
|
2172
|
-
$ret.disactivate = runOn(this, this.
|
|
2173
|
-
$ret.destroy = runOn(this, this.
|
|
2175
|
+
$ret.create = runOn(this, this.bl);
|
|
2176
|
+
$ret.activate = runOn(this, this.a0);
|
|
2177
|
+
$ret.disactivate = runOn(this, this.a2);
|
|
2178
|
+
$ret.destroy = runOn(this, this.a1);
|
|
2174
2179
|
return $ret;
|
|
2175
2180
|
})());
|
|
2176
2181
|
this.o = ((() => {
|
|
2177
2182
|
let $ret = new Pool$1(TextBlock.$);
|
|
2178
|
-
$ret.create = runOn(this, this.
|
|
2179
|
-
$ret.activate = runOn(this, this.
|
|
2180
|
-
$ret.disactivate = runOn(this, this.
|
|
2181
|
-
$ret.destroy = runOn(this, this.
|
|
2183
|
+
$ret.create = runOn(this, this.bm);
|
|
2184
|
+
$ret.activate = runOn(this, this.ax);
|
|
2185
|
+
$ret.disactivate = runOn(this, this.az);
|
|
2186
|
+
$ret.destroy = runOn(this, this.ay);
|
|
2182
2187
|
return $ret;
|
|
2183
2188
|
})());
|
|
2184
|
-
this.
|
|
2185
|
-
this.ac = new List$1(TextBlock.$, 0);
|
|
2186
|
-
this.ae = new List$1(TextBlock.$, 0);
|
|
2189
|
+
this.ab = new List$1(TextBlock.$, 0);
|
|
2187
2190
|
this.ad = new List$1(TextBlock.$, 0);
|
|
2188
|
-
this.
|
|
2191
|
+
this.af = new List$1(TextBlock.$, 0);
|
|
2192
|
+
this.ae = new List$1(TextBlock.$, 0);
|
|
2193
|
+
this.ac = new List$1(ContentControl.$, 0);
|
|
2189
2194
|
}
|
|
2190
|
-
|
|
2195
|
+
at() {
|
|
2191
2196
|
this.a.fp();
|
|
2192
2197
|
}
|
|
2193
|
-
|
|
2198
|
+
bn() {
|
|
2194
2199
|
let a = new TextBlock();
|
|
2195
|
-
this.
|
|
2200
|
+
this.ad.add(a);
|
|
2196
2201
|
return a;
|
|
2197
2202
|
}
|
|
2198
|
-
|
|
2203
|
+
bc(a) {
|
|
2199
2204
|
a._visibility = 0;
|
|
2200
2205
|
}
|
|
2201
|
-
|
|
2206
|
+
be(a) {
|
|
2202
2207
|
a._visibility = 1;
|
|
2203
2208
|
}
|
|
2204
|
-
|
|
2205
|
-
this.
|
|
2209
|
+
bd(a) {
|
|
2210
|
+
this.ad.remove(a);
|
|
2206
2211
|
}
|
|
2207
|
-
|
|
2212
|
+
bp() {
|
|
2208
2213
|
let a = new TextBlock();
|
|
2209
|
-
this.
|
|
2214
|
+
this.af.add(a);
|
|
2210
2215
|
return a;
|
|
2211
2216
|
}
|
|
2212
|
-
|
|
2217
|
+
bi(a) {
|
|
2213
2218
|
a._visibility = 0;
|
|
2214
2219
|
}
|
|
2215
|
-
|
|
2220
|
+
bk(a) {
|
|
2216
2221
|
a._visibility = 1;
|
|
2217
2222
|
}
|
|
2218
|
-
|
|
2219
|
-
this.
|
|
2223
|
+
bj(a) {
|
|
2224
|
+
this.af.remove(a);
|
|
2220
2225
|
}
|
|
2221
|
-
|
|
2226
|
+
bo() {
|
|
2222
2227
|
let a = new TextBlock();
|
|
2223
|
-
this.
|
|
2228
|
+
this.ae.add(a);
|
|
2224
2229
|
return a;
|
|
2225
2230
|
}
|
|
2226
|
-
|
|
2231
|
+
bf(a) {
|
|
2227
2232
|
a._visibility = 0;
|
|
2228
2233
|
}
|
|
2229
|
-
|
|
2234
|
+
bh(a) {
|
|
2230
2235
|
a._visibility = 1;
|
|
2231
2236
|
}
|
|
2232
|
-
|
|
2233
|
-
this.
|
|
2237
|
+
bg(a) {
|
|
2238
|
+
this.ae.remove(a);
|
|
2234
2239
|
}
|
|
2235
|
-
|
|
2240
|
+
bm() {
|
|
2236
2241
|
let a = new TextBlock();
|
|
2237
|
-
this.
|
|
2242
|
+
this.ab.add(a);
|
|
2238
2243
|
return a;
|
|
2239
2244
|
}
|
|
2240
|
-
|
|
2245
|
+
ax(a) {
|
|
2241
2246
|
a._visibility = 0;
|
|
2242
2247
|
}
|
|
2243
|
-
|
|
2248
|
+
az(a) {
|
|
2244
2249
|
a._visibility = 1;
|
|
2245
2250
|
}
|
|
2246
|
-
|
|
2247
|
-
this.
|
|
2251
|
+
ay(a) {
|
|
2252
|
+
this.ab.remove(a);
|
|
2248
2253
|
}
|
|
2249
|
-
|
|
2254
|
+
bl() {
|
|
2250
2255
|
let a = new ContentControl();
|
|
2251
|
-
this.
|
|
2256
|
+
this.ac.add(a);
|
|
2252
2257
|
return a;
|
|
2253
2258
|
}
|
|
2254
|
-
|
|
2259
|
+
a0(a) {
|
|
2255
2260
|
a._visibility = 0;
|
|
2256
2261
|
}
|
|
2257
|
-
|
|
2262
|
+
a2(a) {
|
|
2258
2263
|
a._visibility = 1;
|
|
2259
2264
|
}
|
|
2260
|
-
|
|
2265
|
+
a1(a) {
|
|
2261
2266
|
}
|
|
2262
|
-
|
|
2267
|
+
aw() {
|
|
2263
2268
|
let a = this.a.pixelScalingRatio;
|
|
2264
2269
|
let b = this.a.co;
|
|
2265
2270
|
if (!isNaN_(a) && a != 0) {
|
|
@@ -2269,80 +2274,83 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2269
2274
|
this.a.co = window.devicePixelRatio;
|
|
2270
2275
|
}
|
|
2271
2276
|
}
|
|
2272
|
-
|
|
2273
|
-
this.
|
|
2274
|
-
let a = Math.round(this.
|
|
2275
|
-
let b = Math.round(this.
|
|
2277
|
+
a5() {
|
|
2278
|
+
this.aw();
|
|
2279
|
+
let a = Math.round(this.aj.rootWrapper.width());
|
|
2280
|
+
let b = Math.round(this.aj.rootWrapper.height());
|
|
2276
2281
|
this.a.ic = new Rect(0, 0, 0, a, b);
|
|
2277
2282
|
if (this.b != null) {
|
|
2278
2283
|
this.b.bl = this.a.ic;
|
|
2279
2284
|
}
|
|
2280
2285
|
this.a.f3();
|
|
2281
2286
|
}
|
|
2282
|
-
|
|
2287
|
+
an() {
|
|
2283
2288
|
if (this.b != null) {
|
|
2284
2289
|
this.b.ao = null;
|
|
2285
2290
|
this.b.av();
|
|
2286
2291
|
}
|
|
2287
2292
|
}
|
|
2288
|
-
|
|
2293
|
+
get x() {
|
|
2294
|
+
return this.aj != null;
|
|
2295
|
+
}
|
|
2296
|
+
a4(a, b) {
|
|
2289
2297
|
if (a == null) {
|
|
2298
|
+
this.ak = null;
|
|
2290
2299
|
this.aj = null;
|
|
2291
|
-
this.ai = null;
|
|
2292
2300
|
this.t = null;
|
|
2293
|
-
this.
|
|
2301
|
+
this.an();
|
|
2294
2302
|
return;
|
|
2295
2303
|
}
|
|
2296
|
-
this.
|
|
2304
|
+
this.ag = (isNaN_(this.a.pixelScalingRatio) ? this.a.co : this.a.pixelScalingRatio);
|
|
2297
2305
|
let c = a;
|
|
2298
|
-
this.
|
|
2299
|
-
let d = this.
|
|
2306
|
+
this.aj = c;
|
|
2307
|
+
let d = this.ag;
|
|
2300
2308
|
let e = Math.round(c.rootWrapper.width());
|
|
2301
2309
|
let f = Math.round(c.rootWrapper.height());
|
|
2302
2310
|
let g = e * d;
|
|
2303
2311
|
let h = f * d;
|
|
2304
|
-
this.
|
|
2305
|
-
let i = this.
|
|
2312
|
+
this.aj.rootWrapper.setStyleProperty("position", "relative");
|
|
2313
|
+
let i = this.aj.createElement("canvas");
|
|
2306
2314
|
i.setStyleProperty("position", "absolute");
|
|
2307
|
-
this.
|
|
2308
|
-
this.
|
|
2309
|
-
this.
|
|
2315
|
+
this.aj.append(i);
|
|
2316
|
+
this.am = truncate(Math.round(g));
|
|
2317
|
+
this.al = truncate(Math.round(h));
|
|
2310
2318
|
i.setAttribute("width", g.toString());
|
|
2311
2319
|
i.setAttribute("height", h.toString());
|
|
2312
2320
|
i.setStyleProperty("width", e.toString() + "px");
|
|
2313
2321
|
i.setStyleProperty("height", f.toString() + "px");
|
|
2314
2322
|
this.a.ic = new Rect(0, 0, 0, e, f);
|
|
2315
|
-
this.
|
|
2316
|
-
let j = this.
|
|
2323
|
+
this.ak = i;
|
|
2324
|
+
let j = this.aj.get2DCanvasContext(this.ak);
|
|
2317
2325
|
this.t = new RenderingContext(new CanvasViewRenderer(), j);
|
|
2318
|
-
this.
|
|
2326
|
+
this.an();
|
|
2319
2327
|
if (TypeRegistrar.isRegistered("CanvasGestureDOMEventProxy")) {
|
|
2320
|
-
this.b = typeCast(EventProxy.$, TypeRegistrar.create("CanvasGestureDOMEventProxy", this.
|
|
2328
|
+
this.b = typeCast(EventProxy.$, TypeRegistrar.create("CanvasGestureDOMEventProxy", this.aj.rootWrapper, this.aj, false));
|
|
2321
2329
|
}
|
|
2322
2330
|
if (this.b != null) {
|
|
2323
2331
|
}
|
|
2324
2332
|
}
|
|
2325
|
-
|
|
2326
|
-
this.
|
|
2333
|
+
av(a, b) {
|
|
2334
|
+
this.a5();
|
|
2327
2335
|
}
|
|
2328
|
-
|
|
2336
|
+
au(a) {
|
|
2329
2337
|
}
|
|
2330
|
-
|
|
2338
|
+
a8() {
|
|
2331
2339
|
let a = this.a.ic.width;
|
|
2332
2340
|
let b = this.a.ic.height;
|
|
2333
|
-
let c = Math.round(a * this.
|
|
2334
|
-
let d = Math.round(b * this.
|
|
2335
|
-
if (this.
|
|
2336
|
-
this.
|
|
2337
|
-
this.
|
|
2338
|
-
this.
|
|
2339
|
-
this.
|
|
2340
|
-
this.
|
|
2341
|
-
this.
|
|
2342
|
-
}
|
|
2343
|
-
this.
|
|
2344
|
-
}
|
|
2345
|
-
|
|
2341
|
+
let c = Math.round(a * this.ag);
|
|
2342
|
+
let d = Math.round(b * this.ag);
|
|
2343
|
+
if (this.am != c || this.al != d) {
|
|
2344
|
+
this.ak.setAttribute("width", c.toString());
|
|
2345
|
+
this.ak.setAttribute("height", d.toString());
|
|
2346
|
+
this.ak.setStyleProperty("width", a.toString() + "px");
|
|
2347
|
+
this.ak.setStyleProperty("height", b.toString() + "px");
|
|
2348
|
+
this.am = truncate(Math.round(c));
|
|
2349
|
+
this.al = truncate(Math.round(d));
|
|
2350
|
+
}
|
|
2351
|
+
this.a9(this.t, this.ag);
|
|
2352
|
+
}
|
|
2353
|
+
a9(a, b) {
|
|
2346
2354
|
if (this.t == null) {
|
|
2347
2355
|
this.w = true;
|
|
2348
2356
|
this.t = a;
|
|
@@ -2358,8 +2366,8 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2358
2366
|
}
|
|
2359
2367
|
let c = new DataTemplatePassInfo();
|
|
2360
2368
|
c.passID = "LegendItem";
|
|
2361
|
-
for (let d = 0; d < this.
|
|
2362
|
-
let e = this.
|
|
2369
|
+
for (let d = 0; d < this.ac.count; d++) {
|
|
2370
|
+
let e = this.ac._inner[d];
|
|
2363
2371
|
if (e == null) {
|
|
2364
2372
|
continue;
|
|
2365
2373
|
}
|
|
@@ -2389,23 +2397,23 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2389
2397
|
f.render(h);
|
|
2390
2398
|
a.z();
|
|
2391
2399
|
}
|
|
2392
|
-
for (let i = 0; i < this.
|
|
2393
|
-
let j = this.
|
|
2400
|
+
for (let i = 0; i < this.ad.count; i++) {
|
|
2401
|
+
let j = this.ad._inner[i];
|
|
2394
2402
|
a.ad(j.dataContext);
|
|
2395
2403
|
a.x(j);
|
|
2396
2404
|
}
|
|
2397
|
-
for (let k = 0; k < this.
|
|
2398
|
-
let l = this.
|
|
2405
|
+
for (let k = 0; k < this.ab.count; k++) {
|
|
2406
|
+
let l = this.ab._inner[k];
|
|
2399
2407
|
a.ad(l.dataContext);
|
|
2400
2408
|
a.x(l);
|
|
2401
2409
|
}
|
|
2402
|
-
for (let m = 0; m < this.
|
|
2403
|
-
let n = this.
|
|
2410
|
+
for (let m = 0; m < this.af.count; m++) {
|
|
2411
|
+
let n = this.af._inner[m];
|
|
2404
2412
|
a.ad(n.dataContext);
|
|
2405
2413
|
a.x(n);
|
|
2406
2414
|
}
|
|
2407
|
-
for (let o = 0; o < this.
|
|
2408
|
-
let p = this.
|
|
2415
|
+
for (let o = 0; o < this.ae.count; o++) {
|
|
2416
|
+
let p = this.ae._inner[o];
|
|
2409
2417
|
a.ad(p.dataContext);
|
|
2410
2418
|
a.x(p);
|
|
2411
2419
|
}
|
|
@@ -2413,61 +2421,61 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2413
2421
|
a.z();
|
|
2414
2422
|
}
|
|
2415
2423
|
}
|
|
2416
|
-
|
|
2417
|
-
if (this.
|
|
2418
|
-
this.
|
|
2424
|
+
y() {
|
|
2425
|
+
if (this.aj != null) {
|
|
2426
|
+
this.aj.setTimeout(runOn(this.a, this.a.fp), 0);
|
|
2419
2427
|
return true;
|
|
2420
2428
|
}
|
|
2421
2429
|
return false;
|
|
2422
2430
|
}
|
|
2423
|
-
|
|
2431
|
+
bw(a, b) {
|
|
2424
2432
|
this.t.ad(b);
|
|
2425
2433
|
let c = new TextBlock();
|
|
2426
2434
|
c.al = a;
|
|
2427
|
-
let d = this.t.ah(c, this.
|
|
2435
|
+
let d = this.t.ah(c, this.ai(b), true);
|
|
2428
2436
|
return new Size(1, d.c, d.b);
|
|
2429
2437
|
}
|
|
2430
|
-
|
|
2431
|
-
if (this.
|
|
2432
|
-
let b = this.
|
|
2438
|
+
ai(a) {
|
|
2439
|
+
if (this.z.containsKey(a)) {
|
|
2440
|
+
let b = this.z.item(a);
|
|
2433
2441
|
if (b.d.g == a.g) {
|
|
2434
2442
|
return b.c;
|
|
2435
2443
|
}
|
|
2436
2444
|
}
|
|
2437
|
-
let c = FontUtil.getCurrentFontHeight(this.
|
|
2445
|
+
let c = FontUtil.getCurrentFontHeight(this.aj, a);
|
|
2438
2446
|
let d = new Tuple$2(Number_$type, FontInfo.$, c, a);
|
|
2439
|
-
this.
|
|
2447
|
+
this.z.item(a, d);
|
|
2440
2448
|
return c;
|
|
2441
2449
|
}
|
|
2442
|
-
|
|
2450
|
+
ba(a, b, c) {
|
|
2443
2451
|
if (this.v) {
|
|
2444
|
-
this.
|
|
2452
|
+
this.aa.add(a);
|
|
2445
2453
|
}
|
|
2446
2454
|
a.n = b;
|
|
2447
2455
|
a.o = c;
|
|
2448
2456
|
}
|
|
2449
|
-
|
|
2450
|
-
this.
|
|
2457
|
+
as(a) {
|
|
2458
|
+
this.a8();
|
|
2451
2459
|
}
|
|
2452
|
-
|
|
2460
|
+
aq(a, b) {
|
|
2453
2461
|
a.dataContext = b;
|
|
2454
2462
|
}
|
|
2455
|
-
|
|
2456
|
-
return FontDefaults.dataLegendFontBrush;
|
|
2457
|
-
}
|
|
2458
|
-
bs() {
|
|
2463
|
+
bv() {
|
|
2459
2464
|
return FontDefaults.dataLegendFontBrush;
|
|
2460
2465
|
}
|
|
2461
2466
|
bt() {
|
|
2462
2467
|
return FontDefaults.dataLegendFontBrush;
|
|
2463
2468
|
}
|
|
2464
|
-
|
|
2469
|
+
bu() {
|
|
2465
2470
|
return FontDefaults.dataLegendFontBrush;
|
|
2466
2471
|
}
|
|
2467
2472
|
br() {
|
|
2468
2473
|
return FontDefaults.dataLegendFontBrush;
|
|
2469
2474
|
}
|
|
2470
|
-
|
|
2475
|
+
bs() {
|
|
2476
|
+
return FontDefaults.dataLegendFontBrush;
|
|
2477
|
+
}
|
|
2478
|
+
bq() {
|
|
2471
2479
|
return FontDefaults.dataLegendFontBrush;
|
|
2472
2480
|
}
|
|
2473
2481
|
l() {
|
|
@@ -2560,50 +2568,50 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2560
2568
|
}
|
|
2561
2569
|
return this.c;
|
|
2562
2570
|
}
|
|
2563
|
-
|
|
2571
|
+
ao(a, b) {
|
|
2564
2572
|
let model_ = this.a;
|
|
2565
2573
|
let ext_ = model_.externalObject;
|
|
2566
2574
|
if (ext_ != null) {
|
|
2567
2575
|
let width_ = a;
|
|
2568
2576
|
let height_ = b;
|
|
2569
|
-
this.
|
|
2570
|
-
this.
|
|
2577
|
+
this.aj.rootWrapper.setStyleProperty("min-height", b + "px");
|
|
2578
|
+
this.aj.rootWrapper.setStyleProperty("min-width", a + "px");
|
|
2571
2579
|
this.a.notifySizeChanged();
|
|
2572
2580
|
}
|
|
2573
2581
|
}
|
|
2574
|
-
|
|
2575
|
-
this.
|
|
2582
|
+
a7(a) {
|
|
2583
|
+
this.ag = a;
|
|
2576
2584
|
}
|
|
2577
|
-
|
|
2585
|
+
a3() {
|
|
2578
2586
|
if (this.b != null) {
|
|
2579
|
-
this.b.at(this.
|
|
2587
|
+
this.b.at(this.ak, "");
|
|
2580
2588
|
}
|
|
2581
2589
|
}
|
|
2582
|
-
|
|
2590
|
+
a6() {
|
|
2583
2591
|
if (this.b != null) {
|
|
2584
|
-
this.b.bh(this.
|
|
2592
|
+
this.b.bh(this.ak, "");
|
|
2585
2593
|
}
|
|
2586
2594
|
}
|
|
2587
|
-
|
|
2595
|
+
ar(a, b) {
|
|
2588
2596
|
a.ag = true;
|
|
2589
|
-
let c = this.t.ah(a, this.
|
|
2597
|
+
let c = this.t.ah(a, this.ai(b), true);
|
|
2590
2598
|
}
|
|
2591
|
-
|
|
2592
|
-
this.
|
|
2599
|
+
bb() {
|
|
2600
|
+
this.aa.clear();
|
|
2593
2601
|
this.v = true;
|
|
2594
|
-
this.
|
|
2602
|
+
this.ah = 0;
|
|
2595
2603
|
}
|
|
2596
|
-
|
|
2597
|
-
for (let a = 0; a < this.
|
|
2598
|
-
this.
|
|
2604
|
+
ap() {
|
|
2605
|
+
for (let a = 0; a < this.aa.count; a++) {
|
|
2606
|
+
this.ah = Math.max(this.ah, this.aa._inner[a].ah);
|
|
2599
2607
|
}
|
|
2600
|
-
if (this.
|
|
2601
|
-
for (let b = 0; b < this.
|
|
2602
|
-
this.
|
|
2608
|
+
if (this.ah > 0) {
|
|
2609
|
+
for (let b = 0; b < this.aa.count; b++) {
|
|
2610
|
+
this.aa._inner[b].ah = this.ah;
|
|
2603
2611
|
}
|
|
2604
2612
|
}
|
|
2605
2613
|
this.v = false;
|
|
2606
|
-
this.
|
|
2614
|
+
this.ah = 0;
|
|
2607
2615
|
}
|
|
2608
2616
|
}
|
|
2609
2617
|
DataLegendView.$t = /*@__PURE__*/ markType(DataLegendView, 'DataLegendView');
|