igniteui-webcomponents-charts 4.0.3 → 4.2.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.
- package/bundles/igniteui-webcomponents-charts.umd.js +1524 -1369
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AnchoredCategorySeries_combined.js +4 -3
- package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +5 -4
- package/esm2015/lib/AreaSeries_combined.js +8 -8
- package/esm2015/lib/BarSeries_combined.js +1 -1
- package/esm2015/lib/BollingerBandsOverlay_combined.js +8 -8
- package/esm2015/lib/BubbleSeries_combined.js +20 -15
- package/esm2015/lib/CalloutLayer_combined.js +12 -12
- package/esm2015/lib/CategoryHighlightLayer_combined.js +1 -1
- package/esm2015/lib/CategoryItemHighlightLayer_combined.js +4 -4
- package/esm2015/lib/CategoryToolTipLayer_combined.js +3 -1
- package/esm2015/lib/CategoryXAxis_combined.js +1 -1
- package/esm2015/lib/CategoryYAxis_combined.js +2 -4
- package/esm2015/lib/ColumnSeries_combined.js +1 -1
- package/esm2015/lib/CrosshairLayer_combined.js +1 -1
- package/esm2015/lib/DataLegendContent_combined.js +491 -476
- package/esm2015/lib/DataLegendStylingColumnEventArgs.js +2 -1
- package/esm2015/lib/DataToolTipLayer_combined.js +3 -1
- package/esm2015/lib/FinancialIndicator_combined.js +17 -17
- package/esm2015/lib/FinancialPriceSeries_combined.js +37 -30
- package/esm2015/lib/FunnelLegendTemplates.js +1 -1
- package/esm2015/lib/HighDensityScatterSeries_combined.js +12 -10
- package/esm2015/lib/HorizontalAxisView_combined.js +30 -30
- package/esm2015/lib/HorizontalRangeCategorySeries.js +12 -8
- package/esm2015/lib/ItemToolTipLayer_combined.js +3 -1
- package/esm2015/lib/LegendBaseViewManager_combined.js +1 -1
- package/esm2015/lib/LineSeries_combined.js +6 -6
- package/esm2015/lib/NumericXAxis_combined.js +2 -2
- package/esm2015/lib/NumericYAxis_combined.js +2 -2
- package/esm2015/lib/PieChartViewManager_combined.js +38 -30
- package/esm2015/lib/PieLegendTemplates.js +2 -2
- package/esm2015/lib/PointerTooltip_combined.js +10 -10
- package/esm2015/lib/PolarAreaSeries_combined.js +4 -4
- package/esm2015/lib/PolarBase_combined.js +9 -7
- package/esm2015/lib/PolarLineSeries_combined.js +2 -2
- package/esm2015/lib/PolarSplineAreaSeries_combined.js +4 -4
- package/esm2015/lib/PolarSplineSeries_combined.js +2 -2
- package/esm2015/lib/PriceChannelOverlay_combined.js +6 -6
- package/esm2015/lib/RadialAreaSeries_combined.js +8 -8
- package/esm2015/lib/RadialColumnSeries_combined.js +1 -1
- package/esm2015/lib/RadialLineSeries_combined.js +6 -6
- package/esm2015/lib/RadialPieSeries_combined.js +1 -1
- package/esm2015/lib/RangeAreaSeries_combined.js +6 -6
- package/esm2015/lib/RangeColumnSeries_combined.js +1 -1
- package/esm2015/lib/ScaleLegend_combined.js +8 -6
- package/esm2015/lib/ScatterAreaSeries_combined.js +17 -14
- package/esm2015/lib/ScatterBase_combined.js +10 -8
- package/esm2015/lib/ScatterContourSeries_combined.js +14 -11
- package/esm2015/lib/ScatterLineSeriesView.js +2 -2
- package/esm2015/lib/ScatterPolygonSeries_combined.js +4 -4
- package/esm2015/lib/ScatterSplineSeriesView.js +2 -2
- package/esm2015/lib/ScatterTriangulationSeries.js +8 -8
- package/esm2015/lib/SeriesViewer_combined.js +134 -111
- package/esm2015/lib/ShapeSeriesBase_combined.js +5 -5
- package/esm2015/lib/SplineAreaSeries_combined.js +8 -8
- package/esm2015/lib/SplineSeries_combined.js +6 -6
- package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +50 -38
- package/esm2015/lib/StepAreaSeries_combined.js +8 -8
- package/esm2015/lib/StepLineSeries_combined.js +6 -6
- package/esm2015/lib/TreemapView_combined.js +21 -21
- package/esm2015/lib/ValueOverlay_combined.js +1 -1
- package/esm2015/lib/WaterfallSeries_combined.js +1 -1
- package/esm2015/lib/XamFunnelView_combined.js +22 -22
- package/esm2015/lib/ZoomSliderView_combined.js +23 -23
- package/esm2015/lib/igc-assigning-series-style-event-args-base.js +5 -3
- package/esm2015/lib/igc-data-legend-component.js +256 -257
- package/esm2015/lib/igc-data-legend-styling-column-event-args.js +19 -10
- package/esm2015/lib/igc-data-tool-tip-layer-component.js +0 -1
- package/esm2015/lib/igc-domain-chart-component.js +45 -27
- package/esm2015/lib/igc-financial-event-args.js +10 -6
- package/esm2015/lib/igc-ring-series-component.js +5 -3
- package/esm2015/lib/igc-scatter-polygon-series-component.js +5 -3
- package/esm2015/lib/igc-scatter-polyline-series-component.js +5 -3
- package/esm2015/lib/igc-stacked-series-created-event-args.js +5 -3
- package/esm5/lib/AnchoredCategorySeries_combined.js +4 -3
- package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +5 -4
- package/esm5/lib/AreaSeries_combined.js +8 -8
- package/esm5/lib/BarSeries_combined.js +1 -1
- package/esm5/lib/BollingerBandsOverlay_combined.js +8 -8
- package/esm5/lib/BubbleSeries_combined.js +20 -15
- package/esm5/lib/CalloutLayer_combined.js +12 -12
- package/esm5/lib/CategoryHighlightLayer_combined.js +1 -1
- package/esm5/lib/CategoryItemHighlightLayer_combined.js +4 -4
- package/esm5/lib/CategoryToolTipLayer_combined.js +3 -1
- package/esm5/lib/CategoryXAxis_combined.js +1 -1
- package/esm5/lib/CategoryYAxis_combined.js +2 -4
- package/esm5/lib/ColumnSeries_combined.js +1 -1
- package/esm5/lib/CrosshairLayer_combined.js +1 -1
- package/esm5/lib/DataLegendContent_combined.js +495 -480
- package/esm5/lib/DataLegendStylingColumnEventArgs.js +2 -1
- package/esm5/lib/DataToolTipLayer_combined.js +3 -1
- package/esm5/lib/FinancialIndicator_combined.js +17 -17
- package/esm5/lib/FinancialPriceSeries_combined.js +37 -30
- package/esm5/lib/FunnelLegendTemplates.js +1 -1
- package/esm5/lib/HighDensityScatterSeries_combined.js +12 -10
- package/esm5/lib/HorizontalAxisView_combined.js +30 -30
- package/esm5/lib/HorizontalRangeCategorySeries.js +12 -8
- package/esm5/lib/ItemToolTipLayer_combined.js +3 -1
- package/esm5/lib/LegendBaseViewManager_combined.js +1 -1
- package/esm5/lib/LineSeries_combined.js +6 -6
- package/esm5/lib/NumericXAxis_combined.js +2 -2
- package/esm5/lib/NumericYAxis_combined.js +2 -2
- package/esm5/lib/PieChartViewManager_combined.js +38 -30
- package/esm5/lib/PieLegendTemplates.js +2 -2
- package/esm5/lib/PointerTooltip_combined.js +10 -10
- package/esm5/lib/PolarAreaSeries_combined.js +4 -4
- package/esm5/lib/PolarBase_combined.js +9 -7
- package/esm5/lib/PolarLineSeries_combined.js +2 -2
- package/esm5/lib/PolarSplineAreaSeries_combined.js +4 -4
- package/esm5/lib/PolarSplineSeries_combined.js +2 -2
- package/esm5/lib/PriceChannelOverlay_combined.js +6 -6
- package/esm5/lib/RadialAreaSeries_combined.js +8 -8
- package/esm5/lib/RadialColumnSeries_combined.js +1 -1
- package/esm5/lib/RadialLineSeries_combined.js +6 -6
- package/esm5/lib/RadialPieSeries_combined.js +1 -1
- package/esm5/lib/RangeAreaSeries_combined.js +6 -6
- package/esm5/lib/RangeColumnSeries_combined.js +1 -1
- package/esm5/lib/ScaleLegend_combined.js +8 -6
- package/esm5/lib/ScatterAreaSeries_combined.js +17 -14
- package/esm5/lib/ScatterBase_combined.js +10 -8
- package/esm5/lib/ScatterContourSeries_combined.js +14 -11
- package/esm5/lib/ScatterLineSeriesView.js +2 -2
- package/esm5/lib/ScatterPolygonSeries_combined.js +4 -4
- package/esm5/lib/ScatterSplineSeriesView.js +2 -2
- package/esm5/lib/ScatterTriangulationSeries.js +8 -8
- package/esm5/lib/SeriesViewer_combined.js +134 -111
- package/esm5/lib/ShapeSeriesBase_combined.js +5 -5
- package/esm5/lib/SplineAreaSeries_combined.js +8 -8
- package/esm5/lib/SplineSeries_combined.js +6 -6
- package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +72 -43
- package/esm5/lib/StepAreaSeries_combined.js +8 -8
- package/esm5/lib/StepLineSeries_combined.js +6 -6
- package/esm5/lib/TreemapView_combined.js +21 -21
- package/esm5/lib/ValueOverlay_combined.js +1 -1
- package/esm5/lib/WaterfallSeries_combined.js +1 -1
- package/esm5/lib/XamFunnelView_combined.js +22 -22
- package/esm5/lib/ZoomSliderView_combined.js +23 -23
- package/esm5/lib/igc-assigning-series-style-event-args-base.js +5 -3
- package/esm5/lib/igc-data-legend-component.js +256 -257
- package/esm5/lib/igc-data-legend-styling-column-event-args.js +22 -9
- package/esm5/lib/igc-data-tool-tip-layer-component.js +0 -1
- package/esm5/lib/igc-domain-chart-component.js +45 -27
- package/esm5/lib/igc-financial-event-args.js +10 -6
- package/esm5/lib/igc-ring-series-component.js +5 -3
- package/esm5/lib/igc-scatter-polygon-series-component.js +5 -3
- package/esm5/lib/igc-scatter-polyline-series-component.js +5 -3
- package/esm5/lib/igc-stacked-series-created-event-args.js +5 -3
- package/fesm2015/igniteui-webcomponents-charts.js +1495 -1361
- package/fesm5/igniteui-webcomponents-charts.js +1524 -1369
- package/lib/DataLegendContent_combined.d.ts +111 -109
- package/lib/DataLegendStylingColumnEventArgs.d.ts +3 -2
- package/lib/StackedSeriesCreatedEventArgs_combined.d.ts +3 -2
- package/lib/igc-data-legend-component.d.ts +0 -1
- package/lib/igc-data-legend-styling-column-event-args.d.ts +5 -1
- package/lib/igc-data-tool-tip-layer-component.d.ts +0 -1
- package/package.json +2 -2
|
@@ -122,43 +122,44 @@ export let DataLegendRowCell = /*@__PURE__*/ (() => {
|
|
|
122
122
|
this.s = 0;
|
|
123
123
|
this.f = 0;
|
|
124
124
|
this.r = 0;
|
|
125
|
+
this.w = null;
|
|
125
126
|
this.v = null;
|
|
126
127
|
this.t = null;
|
|
127
|
-
this.
|
|
128
|
+
this.x = null;
|
|
128
129
|
this.u = null;
|
|
129
|
-
this.y = null;
|
|
130
130
|
this.z = null;
|
|
131
131
|
this.aa = null;
|
|
132
|
+
this.ab = null;
|
|
132
133
|
this.g = null;
|
|
133
134
|
this.i = null;
|
|
134
135
|
this.h = null;
|
|
135
|
-
this.ak = null;
|
|
136
|
-
this.am = null;
|
|
137
136
|
this.al = null;
|
|
138
|
-
this.
|
|
139
|
-
this.
|
|
140
|
-
this.
|
|
137
|
+
this.an = null;
|
|
138
|
+
this.am = null;
|
|
139
|
+
this.ag = new Size();
|
|
140
|
+
this.ak = new Size();
|
|
141
|
+
this.ai = new Size();
|
|
141
142
|
this.m = false;
|
|
142
143
|
this.j = false;
|
|
143
|
-
this.ab = null;
|
|
144
|
-
this.ad = null;
|
|
145
144
|
this.ac = null;
|
|
146
|
-
this.ae =
|
|
147
|
-
this.
|
|
148
|
-
this.
|
|
145
|
+
this.ae = null;
|
|
146
|
+
this.ad = null;
|
|
147
|
+
this.af = new Size();
|
|
148
|
+
this.aj = new Size();
|
|
149
|
+
this.ah = new Size();
|
|
149
150
|
this.r = NaN;
|
|
150
|
-
this.ak = new Thickness(0, 0);
|
|
151
|
-
this.am = new Thickness(0, 0);
|
|
152
151
|
this.al = new Thickness(0, 0);
|
|
153
|
-
this.
|
|
154
|
-
this.
|
|
155
|
-
this.
|
|
152
|
+
this.an = new Thickness(0, 0);
|
|
153
|
+
this.am = new Thickness(0, 0);
|
|
154
|
+
this.ag = new Size(1, 0, 0);
|
|
155
|
+
this.ak = new Size(1, 0, 0);
|
|
156
|
+
this.ai = new Size(1, 0, 0);
|
|
156
157
|
this.m = true;
|
|
157
158
|
this.j = true;
|
|
158
159
|
if (this.c) {
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
160
|
+
this.z = a.br();
|
|
161
|
+
this.ab = a.bt();
|
|
162
|
+
this.aa = a.bs();
|
|
162
163
|
this.g = a.j();
|
|
163
164
|
this.i = a.n();
|
|
164
165
|
this.h = a.m();
|
|
@@ -166,9 +167,9 @@ export let DataLegendRowCell = /*@__PURE__*/ (() => {
|
|
|
166
167
|
else if (this.d) {
|
|
167
168
|
let e = a.bq();
|
|
168
169
|
let f = a.k();
|
|
169
|
-
this.y = e;
|
|
170
|
-
this.aa = e;
|
|
171
170
|
this.z = e;
|
|
171
|
+
this.ab = e;
|
|
172
|
+
this.aa = e;
|
|
172
173
|
this.g = f;
|
|
173
174
|
this.i = f;
|
|
174
175
|
this.h = f;
|
|
@@ -176,25 +177,25 @@ export let DataLegendRowCell = /*@__PURE__*/ (() => {
|
|
|
176
177
|
else {
|
|
177
178
|
let g = a.bo();
|
|
178
179
|
let h = a.i();
|
|
179
|
-
this.y = g;
|
|
180
|
-
this.aa = g;
|
|
181
180
|
this.z = g;
|
|
181
|
+
this.ab = g;
|
|
182
|
+
this.aa = g;
|
|
182
183
|
this.g = h;
|
|
183
184
|
this.i = h;
|
|
184
185
|
this.h = h;
|
|
185
186
|
}
|
|
186
|
-
this.ab = Rect.empty;
|
|
187
|
-
this.ad = Rect.empty;
|
|
188
187
|
this.ac = Rect.empty;
|
|
188
|
+
this.ae = Rect.empty;
|
|
189
|
+
this.ad = Rect.empty;
|
|
189
190
|
}
|
|
190
191
|
k() {
|
|
191
|
-
return this.
|
|
192
|
+
return this.ag.width > 0 && this.ag.height > 0;
|
|
192
193
|
}
|
|
193
194
|
n() {
|
|
194
|
-
return this.
|
|
195
|
+
return this.ai.width > 0 && this.ai.height > 0;
|
|
195
196
|
}
|
|
196
197
|
p() {
|
|
197
|
-
return this.
|
|
198
|
+
return this.ak.width > 0 && this.ak.height > 0;
|
|
198
199
|
}
|
|
199
200
|
l() {
|
|
200
201
|
return this.t != null;
|
|
@@ -203,12 +204,12 @@ export let DataLegendRowCell = /*@__PURE__*/ (() => {
|
|
|
203
204
|
return this.u != null;
|
|
204
205
|
}
|
|
205
206
|
q() {
|
|
206
|
-
return !stringIsNullOrEmpty(this.
|
|
207
|
+
return !stringIsNullOrEmpty(this.x) && this.ak.width > 0 && this.ak.height > 0;
|
|
207
208
|
}
|
|
208
|
-
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
211
|
-
this.
|
|
209
|
+
y() {
|
|
210
|
+
this.af = new Size(1, 0, 0);
|
|
211
|
+
this.aj = new Size(1, 0, 0);
|
|
212
|
+
this.ah = new Size(1, 0, 0);
|
|
212
213
|
}
|
|
213
214
|
}
|
|
214
215
|
DataLegendRowCell.$t = /*@__PURE__*/ markType(DataLegendRowCell, 'DataLegendRowCell', DataLegendRowBase.$);
|
|
@@ -287,9 +288,9 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
287
288
|
constructor() {
|
|
288
289
|
super();
|
|
289
290
|
this.bw = false;
|
|
290
|
-
this.ch = NaN;
|
|
291
291
|
this.ci = NaN;
|
|
292
|
-
this.cj =
|
|
292
|
+
this.cj = NaN;
|
|
293
|
+
this.ck = 1;
|
|
293
294
|
this.bx = false;
|
|
294
295
|
this.bj = null;
|
|
295
296
|
this.bb = null;
|
|
@@ -301,7 +302,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
301
302
|
this.bi = null;
|
|
302
303
|
this.bh = null;
|
|
303
304
|
this.bc = null;
|
|
304
|
-
this.
|
|
305
|
+
this.cl = NaN;
|
|
305
306
|
this.calculateColumnSummary = null;
|
|
306
307
|
this.styleHeaderRow = null;
|
|
307
308
|
this.styleSeriesRow = null;
|
|
@@ -309,40 +310,30 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
309
310
|
this.styleSeriesColumn = null;
|
|
310
311
|
this.styleSummaryColumn = null;
|
|
311
312
|
this.propertyChanged = null;
|
|
313
|
+
this.b9 = null;
|
|
312
314
|
this.b8 = null;
|
|
313
|
-
this.
|
|
315
|
+
this.cb = null;
|
|
314
316
|
this.ca = null;
|
|
315
|
-
this.b9 = null;
|
|
316
317
|
this.a5 = null;
|
|
317
|
-
this.
|
|
318
|
+
this.ic = null;
|
|
318
319
|
this._externalObject = null;
|
|
319
320
|
this.bu = false;
|
|
320
321
|
this.bv = false;
|
|
321
322
|
this.ao = new DataLegendContent();
|
|
322
|
-
this.
|
|
323
|
-
this.
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
323
|
+
this.cd = null;
|
|
324
|
+
this.ce = new List$1(DataLegendSeriesContext.$, 0);
|
|
325
|
+
this.b7 = new Dictionary$2(Number_$type, DataLegendColumn.$, 0);
|
|
326
|
+
this.cs = 0;
|
|
326
327
|
this.ak = null;
|
|
327
328
|
this.al = null;
|
|
328
|
-
this.
|
|
329
|
+
this.cy = "";
|
|
329
330
|
this.ai = null;
|
|
330
331
|
this.aj = null;
|
|
331
|
-
this.
|
|
332
|
+
this.ic = Rect.empty;
|
|
332
333
|
this.bx = true;
|
|
333
334
|
this.ab = XamDataLegend.$;
|
|
334
335
|
this.a5 = this.a4();
|
|
335
336
|
}
|
|
336
|
-
get cl() {
|
|
337
|
-
return this.ch;
|
|
338
|
-
}
|
|
339
|
-
set cl(a) {
|
|
340
|
-
let b = this.ch;
|
|
341
|
-
this.ch = a;
|
|
342
|
-
if (b != this.ch) {
|
|
343
|
-
this.fx("ActualCursorPositionX", b, this.ch);
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
337
|
get cm() {
|
|
347
338
|
return this.ci;
|
|
348
339
|
}
|
|
@@ -350,7 +341,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
350
341
|
let b = this.ci;
|
|
351
342
|
this.ci = a;
|
|
352
343
|
if (b != this.ci) {
|
|
353
|
-
this.
|
|
344
|
+
this.fy("ActualCursorPositionX", b, this.ci);
|
|
354
345
|
}
|
|
355
346
|
}
|
|
356
347
|
get cn() {
|
|
@@ -359,7 +350,17 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
359
350
|
set cn(a) {
|
|
360
351
|
let b = this.cj;
|
|
361
352
|
this.cj = a;
|
|
362
|
-
|
|
353
|
+
if (b != this.cj) {
|
|
354
|
+
this.fy("ActualCursorPositionY", b, this.cj);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
get co() {
|
|
358
|
+
return this.ck;
|
|
359
|
+
}
|
|
360
|
+
set co(a) {
|
|
361
|
+
let b = this.ck;
|
|
362
|
+
this.ck = a;
|
|
363
|
+
this.fy("ActualPixelScalingRatio", b, this.ck);
|
|
363
364
|
}
|
|
364
365
|
get bt() {
|
|
365
366
|
return this.bj;
|
|
@@ -371,7 +372,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
371
372
|
}
|
|
372
373
|
this.bj = a;
|
|
373
374
|
if (b != this.bj) {
|
|
374
|
-
this.
|
|
375
|
+
this.fy("ValueTextStyle", b, this.bj);
|
|
375
376
|
}
|
|
376
377
|
}
|
|
377
378
|
get bl() {
|
|
@@ -384,7 +385,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
384
385
|
}
|
|
385
386
|
this.bb = a;
|
|
386
387
|
if (b != this.bb) {
|
|
387
|
-
this.
|
|
388
|
+
this.fy("HeaderTextStyle", b, this.bb);
|
|
388
389
|
}
|
|
389
390
|
}
|
|
390
391
|
get bo() {
|
|
@@ -397,7 +398,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
397
398
|
}
|
|
398
399
|
this.be = a;
|
|
399
400
|
if (b != this.be) {
|
|
400
|
-
this.
|
|
401
|
+
this.fy("SummaryTitleTextStyle", b, this.be);
|
|
401
402
|
}
|
|
402
403
|
}
|
|
403
404
|
get bq() {
|
|
@@ -410,7 +411,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
410
411
|
}
|
|
411
412
|
this.bg = a;
|
|
412
413
|
if (b != this.bg) {
|
|
413
|
-
this.
|
|
414
|
+
this.fy("SummaryValueTextStyle", b, this.bg);
|
|
414
415
|
}
|
|
415
416
|
}
|
|
416
417
|
get bn() {
|
|
@@ -423,7 +424,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
423
424
|
}
|
|
424
425
|
this.bd = a;
|
|
425
426
|
if (b != this.bd) {
|
|
426
|
-
this.
|
|
427
|
+
this.fy("SummaryLabelTextStyle", b, this.bd);
|
|
427
428
|
}
|
|
428
429
|
}
|
|
429
430
|
get bp() {
|
|
@@ -436,7 +437,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
436
437
|
}
|
|
437
438
|
this.bf = a;
|
|
438
439
|
if (b != this.bf) {
|
|
439
|
-
this.
|
|
440
|
+
this.fy("SummaryUnitsTextStyle", b, this.bf);
|
|
440
441
|
}
|
|
441
442
|
}
|
|
442
443
|
get bs() {
|
|
@@ -449,7 +450,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
449
450
|
}
|
|
450
451
|
this.bi = a;
|
|
451
452
|
if (b != this.bi) {
|
|
452
|
-
this.
|
|
453
|
+
this.fy("UnitsTextStyle", b, this.bi);
|
|
453
454
|
}
|
|
454
455
|
}
|
|
455
456
|
get br() {
|
|
@@ -462,7 +463,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
462
463
|
}
|
|
463
464
|
this.bh = a;
|
|
464
465
|
if (b != this.bh) {
|
|
465
|
-
this.
|
|
466
|
+
this.fy("TitleTextStyle", b, this.bh);
|
|
466
467
|
}
|
|
467
468
|
}
|
|
468
469
|
get bm() {
|
|
@@ -475,31 +476,31 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
475
476
|
}
|
|
476
477
|
this.bc = a;
|
|
477
478
|
if (b != this.bc) {
|
|
478
|
-
this.
|
|
479
|
+
this.fy("LabelTextStyle", b, this.bc);
|
|
479
480
|
}
|
|
480
481
|
}
|
|
481
482
|
get pixelScalingRatio() {
|
|
482
|
-
return this.
|
|
483
|
+
return this.cl;
|
|
483
484
|
}
|
|
484
485
|
set pixelScalingRatio(a) {
|
|
485
|
-
let b = this.
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
486
|
+
let b = this.cl;
|
|
487
|
+
this.cl = a;
|
|
488
|
+
this.fy("PixelScalingRatio", b, this.cl);
|
|
488
489
|
}
|
|
489
490
|
exportSerializedVisualData() {
|
|
490
491
|
let a = this.exportVisualData();
|
|
491
492
|
return a.serialize();
|
|
492
493
|
}
|
|
493
|
-
|
|
494
|
+
cq(a, b) {
|
|
494
495
|
let c = Math.max(b.left, a);
|
|
495
496
|
let d = Math.max(b.right, a);
|
|
496
497
|
let e = Math.max(b.right, a);
|
|
497
498
|
return Math.min(b.top, a);
|
|
498
499
|
}
|
|
499
|
-
|
|
500
|
+
cp(a, b) {
|
|
500
501
|
return Math.min(b.left, a);
|
|
501
502
|
}
|
|
502
|
-
|
|
503
|
+
ib(a, b) {
|
|
503
504
|
let c = Rect.l_op_Equality(a, null) || a.isEmpty || !Extensions.b(a);
|
|
504
505
|
let d = Rect.l_op_Equality(b, null) || b.isEmpty || !Extensions.b(b);
|
|
505
506
|
if (c) {
|
|
@@ -535,11 +536,11 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
535
536
|
if (f.count < this.ao.b.count) {
|
|
536
537
|
return a;
|
|
537
538
|
}
|
|
538
|
-
if (Rect.l_op_Equality(this.
|
|
539
|
+
if (Rect.l_op_Equality(this.ic, null) || this.ic.isEmpty) {
|
|
539
540
|
a.viewport = null;
|
|
540
541
|
}
|
|
541
542
|
else {
|
|
542
|
-
a.viewport = new RectData(0, 0, this.
|
|
543
|
+
a.viewport = new RectData(0, 0, this.ic.width, this.ic.height);
|
|
543
544
|
}
|
|
544
545
|
for (let j = 0; j < this.ao.b.count; j++) {
|
|
545
546
|
let k = this.ao.b._inner[j];
|
|
@@ -563,69 +564,69 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
563
564
|
p.marginLeft = k.x.left;
|
|
564
565
|
p.marginRight = k.x.right;
|
|
565
566
|
p.marginBottom = k.x.bottom;
|
|
566
|
-
this.
|
|
567
|
+
this.f8(p, o);
|
|
567
568
|
l.columns.add(p);
|
|
568
|
-
m = this.
|
|
569
|
+
m = this.ib(m, k.s);
|
|
569
570
|
}
|
|
570
571
|
for (let q of fromEnum(k.k)) {
|
|
571
|
-
if (Extensions.b(q.
|
|
572
|
+
if (Extensions.b(q.ac) && g.count > (c + 1)) {
|
|
572
573
|
c++;
|
|
573
574
|
let r = g._inner[c];
|
|
574
575
|
let s = this.bk(r, q.g);
|
|
575
576
|
let t = new DataLegendVisualDataColumn();
|
|
576
|
-
t.bounds = RectData.b(q.
|
|
577
|
+
t.bounds = RectData.b(q.ac);
|
|
577
578
|
t.text = r.al;
|
|
578
|
-
t.textColor = AppearanceHelper.b(q.
|
|
579
|
-
t.marginTop = q.
|
|
580
|
-
t.marginLeft = q.
|
|
581
|
-
t.marginRight = q.
|
|
582
|
-
t.marginBottom = q.
|
|
583
|
-
this.
|
|
579
|
+
t.textColor = AppearanceHelper.b(q.z);
|
|
580
|
+
t.marginTop = q.al.top;
|
|
581
|
+
t.marginLeft = q.al.left;
|
|
582
|
+
t.marginRight = q.al.right;
|
|
583
|
+
t.marginBottom = q.al.bottom;
|
|
584
|
+
this.f8(t, s);
|
|
584
585
|
l.columns.add(t);
|
|
585
|
-
m = this.
|
|
586
|
+
m = this.ib(m, q.ac);
|
|
586
587
|
}
|
|
587
|
-
if (Extensions.b(q.
|
|
588
|
+
if (Extensions.b(q.ae) && h.count > (d + 1)) {
|
|
588
589
|
d++;
|
|
589
590
|
let u = h._inner[d];
|
|
590
591
|
let v = this.bk(u, q.i);
|
|
591
592
|
let w = new DataLegendVisualDataColumn();
|
|
592
|
-
w.bounds = RectData.b(q.
|
|
593
|
+
w.bounds = RectData.b(q.ae);
|
|
593
594
|
w.text = u.al;
|
|
594
|
-
w.textColor = AppearanceHelper.b(q.
|
|
595
|
-
w.marginTop = q.
|
|
596
|
-
w.marginLeft = q.
|
|
597
|
-
w.marginRight = q.
|
|
598
|
-
w.marginBottom = q.
|
|
599
|
-
this.
|
|
595
|
+
w.textColor = AppearanceHelper.b(q.ab);
|
|
596
|
+
w.marginTop = q.an.top;
|
|
597
|
+
w.marginLeft = q.an.left;
|
|
598
|
+
w.marginRight = q.an.right;
|
|
599
|
+
w.marginBottom = q.an.bottom;
|
|
600
|
+
this.f8(w, v);
|
|
600
601
|
l.columns.add(w);
|
|
601
|
-
m = this.
|
|
602
|
+
m = this.ib(m, q.ae);
|
|
602
603
|
}
|
|
603
|
-
if (Extensions.b(q.
|
|
604
|
+
if (Extensions.b(q.ad) && i.count > (e + 1)) {
|
|
604
605
|
e++;
|
|
605
606
|
let x = i._inner[e];
|
|
606
607
|
let y = this.bk(x, q.h);
|
|
607
608
|
let z = new DataLegendVisualDataColumn();
|
|
608
|
-
z.bounds = RectData.b(q.
|
|
609
|
+
z.bounds = RectData.b(q.ad);
|
|
609
610
|
z.text = q.m ? q.u : null;
|
|
610
|
-
z.textColor = AppearanceHelper.b(q.
|
|
611
|
-
z.marginTop = q.
|
|
612
|
-
z.marginLeft = q.
|
|
613
|
-
z.marginRight = q.
|
|
614
|
-
z.marginBottom = q.
|
|
615
|
-
this.
|
|
611
|
+
z.textColor = AppearanceHelper.b(q.aa);
|
|
612
|
+
z.marginTop = q.am.top;
|
|
613
|
+
z.marginLeft = q.am.left;
|
|
614
|
+
z.marginRight = q.am.right;
|
|
615
|
+
z.marginBottom = q.am.bottom;
|
|
616
|
+
this.f8(z, y);
|
|
616
617
|
l.columns.add(z);
|
|
617
|
-
m = this.
|
|
618
|
+
m = this.ib(m, q.ad);
|
|
618
619
|
}
|
|
619
620
|
}
|
|
620
621
|
if (k.j) {
|
|
621
|
-
m = this.
|
|
622
|
+
m = this.ib(m, k.r);
|
|
622
623
|
l.badgeBounds = RectData.b(k.r);
|
|
623
624
|
l.badgeMarginTop = k.v.top;
|
|
624
625
|
l.badgeMarginBottom = k.v.bottom;
|
|
625
626
|
l.badgeMarginRight = k.v.right;
|
|
626
627
|
l.badgeMarginLeft = k.v.left;
|
|
627
|
-
if (k.e >= 0 && k.e < this.
|
|
628
|
-
let aa = this.
|
|
628
|
+
if (k.e >= 0 && k.e < this.cd.count) {
|
|
629
|
+
let aa = this.cd._inner[k.e];
|
|
629
630
|
l.badgeShape = aa.getDataLegendBadgeShapeAndMarker();
|
|
630
631
|
}
|
|
631
632
|
else {
|
|
@@ -638,7 +639,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
638
639
|
}
|
|
639
640
|
return a;
|
|
640
641
|
}
|
|
641
|
-
|
|
642
|
+
f8(a, b) {
|
|
642
643
|
if (b != null) {
|
|
643
644
|
if (b.n != null) {
|
|
644
645
|
a.fontFamily = b.n;
|
|
@@ -687,11 +688,11 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
687
688
|
default: return new DataLegendSummaryCalculationEmpty();
|
|
688
689
|
}
|
|
689
690
|
}
|
|
690
|
-
|
|
691
|
+
gc(a) {
|
|
691
692
|
if (this.styleSummaryRow != null) {
|
|
692
693
|
let b = this.ay(a);
|
|
693
694
|
this.styleSummaryRow(this, b);
|
|
694
|
-
this.
|
|
695
|
+
this.f9(a, b);
|
|
695
696
|
}
|
|
696
697
|
if (a.b && a.k != null && this.styleSummaryColumn != null) {
|
|
697
698
|
for (let c = 0; c < a.k.count; c++) {
|
|
@@ -700,15 +701,15 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
700
701
|
d.f = a.m;
|
|
701
702
|
d.c = c;
|
|
702
703
|
this.styleSummaryColumn(this, d);
|
|
703
|
-
this.
|
|
704
|
+
this.gd(a.k._inner[c], d);
|
|
704
705
|
}
|
|
705
706
|
}
|
|
706
707
|
}
|
|
707
|
-
|
|
708
|
+
gb(a) {
|
|
708
709
|
if (this.styleSeriesRow != null) {
|
|
709
710
|
let b = this.ay(a);
|
|
710
711
|
this.styleSeriesRow(this, b);
|
|
711
|
-
this.
|
|
712
|
+
this.f9(a, b);
|
|
712
713
|
}
|
|
713
714
|
if (a.b && a.k != null && this.styleSeriesColumn != null) {
|
|
714
715
|
for (let c = 0; c < a.k.count; c++) {
|
|
@@ -717,15 +718,15 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
717
718
|
d.f = a.m;
|
|
718
719
|
d.c = c;
|
|
719
720
|
this.styleSeriesColumn(this, d);
|
|
720
|
-
this.
|
|
721
|
+
this.gd(a.k._inner[c], d);
|
|
721
722
|
}
|
|
722
723
|
}
|
|
723
724
|
}
|
|
724
|
-
|
|
725
|
+
ga(a) {
|
|
725
726
|
if (this.styleHeaderRow != null) {
|
|
726
727
|
let b = this.ay(a);
|
|
727
728
|
this.styleHeaderRow(this, b);
|
|
728
|
-
this.
|
|
729
|
+
this.f9(a, b);
|
|
729
730
|
}
|
|
730
731
|
}
|
|
731
732
|
ay(a) {
|
|
@@ -739,7 +740,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
739
740
|
b.e = a.m;
|
|
740
741
|
return b;
|
|
741
742
|
}
|
|
742
|
-
|
|
743
|
+
f9(a, b) {
|
|
743
744
|
a.n = b.f;
|
|
744
745
|
a.q = b.g;
|
|
745
746
|
a.h = b.a;
|
|
@@ -749,60 +750,61 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
749
750
|
ax(a) {
|
|
750
751
|
let b = new DataLegendStylingColumnEventArgs();
|
|
751
752
|
b.e = a.t;
|
|
752
|
-
b.j = a.y;
|
|
753
|
-
b.g = a.u;
|
|
754
753
|
b.k = a.z;
|
|
755
|
-
b.
|
|
754
|
+
b.g = a.u;
|
|
756
755
|
b.l = a.aa;
|
|
756
|
+
b.j = a.x;
|
|
757
|
+
b.m = a.ab;
|
|
757
758
|
b.b = a.r;
|
|
759
|
+
b.i = a.w;
|
|
758
760
|
b.h = a.v;
|
|
759
761
|
b.a = a.f;
|
|
760
762
|
return b;
|
|
761
763
|
}
|
|
762
|
-
|
|
763
|
-
a.
|
|
764
|
+
gd(a, b) {
|
|
765
|
+
a.z = b.k;
|
|
764
766
|
a.t = b.e;
|
|
765
767
|
a.j = !stringIsNullOrEmpty(a.t);
|
|
766
768
|
a.u = b.g;
|
|
767
|
-
a.z = b.k;
|
|
768
|
-
a.m = !stringIsNullOrEmpty(a.u);
|
|
769
|
-
a.w = b.i;
|
|
770
769
|
a.aa = b.l;
|
|
770
|
+
a.m = !stringIsNullOrEmpty(a.u);
|
|
771
|
+
a.x = b.j;
|
|
772
|
+
a.ab = b.m;
|
|
771
773
|
}
|
|
772
|
-
|
|
774
|
+
f1(a, b, c) {
|
|
773
775
|
switch (a) {
|
|
774
776
|
case XamDataLegend.$$p[19]:
|
|
775
777
|
this.bx = c;
|
|
776
778
|
break;
|
|
777
779
|
case XamDataLegend.$$p[15]:
|
|
778
780
|
case XamDataLegend.$$p[3]:
|
|
779
|
-
this.
|
|
781
|
+
this.gh();
|
|
780
782
|
break;
|
|
781
783
|
case XamDataLegend.$$p[14]:
|
|
782
784
|
case XamDataLegend.$$p[2]:
|
|
783
|
-
this.
|
|
785
|
+
this.gg();
|
|
784
786
|
break;
|
|
785
787
|
case XamDataLegend.$$p[32]:
|
|
786
788
|
let d = c;
|
|
787
789
|
let e = b;
|
|
788
|
-
this.
|
|
790
|
+
this.fz(e, d);
|
|
789
791
|
break;
|
|
790
792
|
case XamDataLegend.$$p[30]:
|
|
791
|
-
if (this.
|
|
792
|
-
this.
|
|
793
|
+
if (this.b1(this.targetCursorPositionX)) {
|
|
794
|
+
this.cm = this.targetCursorPositionX;
|
|
793
795
|
}
|
|
794
796
|
break;
|
|
795
797
|
case XamDataLegend.$$p[31]:
|
|
796
|
-
if (this.
|
|
797
|
-
this.
|
|
798
|
+
if (this.b1(this.targetCursorPositionY)) {
|
|
799
|
+
this.cn = this.targetCursorPositionY;
|
|
798
800
|
}
|
|
799
801
|
break;
|
|
800
802
|
case XamDataLegend.$$p[46]:
|
|
801
803
|
case XamDataLegend.$$p[45]:
|
|
802
|
-
if (!stringIsNullOrEmpty(this.
|
|
804
|
+
if (!stringIsNullOrEmpty(this.e6)) {
|
|
803
805
|
this.ak = ((() => {
|
|
804
806
|
let $ret = new BindingFormatter();
|
|
805
|
-
$ret.j = this.
|
|
807
|
+
$ret.j = this.e6;
|
|
806
808
|
$ret.d = this.ah;
|
|
807
809
|
return $ret;
|
|
808
810
|
})());
|
|
@@ -813,10 +815,10 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
813
815
|
break;
|
|
814
816
|
case XamDataLegend.$$p[7]:
|
|
815
817
|
case XamDataLegend.$$p[6]:
|
|
816
|
-
if (!stringIsNullOrEmpty(this.
|
|
818
|
+
if (!stringIsNullOrEmpty(this.dd)) {
|
|
817
819
|
this.ai = ((() => {
|
|
818
820
|
let $ret = new BindingFormatter();
|
|
819
|
-
$ret.j = this.
|
|
821
|
+
$ret.j = this.dd;
|
|
820
822
|
$ret.d = this.ag;
|
|
821
823
|
return $ret;
|
|
822
824
|
})());
|
|
@@ -826,26 +828,26 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
826
828
|
}
|
|
827
829
|
break;
|
|
828
830
|
case "PixelScalingRatio":
|
|
829
|
-
if (isNaN_(this.
|
|
831
|
+
if (isNaN_(this.co)) {
|
|
830
832
|
this.a5.au();
|
|
831
833
|
}
|
|
832
834
|
else {
|
|
833
|
-
this.
|
|
835
|
+
this.co = this.pixelScalingRatio;
|
|
834
836
|
}
|
|
835
837
|
break;
|
|
836
838
|
case "ActualPixelScalingRatio":
|
|
837
839
|
this.a5.a5(c);
|
|
838
840
|
break;
|
|
839
841
|
}
|
|
840
|
-
this.
|
|
842
|
+
this.f3();
|
|
841
843
|
}
|
|
842
|
-
|
|
843
|
-
this.
|
|
844
|
+
fy(a, b, c) {
|
|
845
|
+
this.f1(a, b, c);
|
|
844
846
|
if (this.propertyChanged != null) {
|
|
845
847
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
846
848
|
}
|
|
847
849
|
}
|
|
848
|
-
|
|
850
|
+
fz(a, b) {
|
|
849
851
|
this.a7 = b;
|
|
850
852
|
if (a != null) {
|
|
851
853
|
a.detachDataLegend(this);
|
|
@@ -853,44 +855,44 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
853
855
|
if (b != null) {
|
|
854
856
|
b.attachDataLegend(this);
|
|
855
857
|
if (isNaN_(this.targetCursorPositionX)) {
|
|
856
|
-
this.
|
|
858
|
+
this.cm = 1;
|
|
857
859
|
}
|
|
858
860
|
if (isNaN_(this.targetCursorPositionY)) {
|
|
859
|
-
this.
|
|
861
|
+
this.cn = 0.5;
|
|
860
862
|
}
|
|
861
863
|
}
|
|
862
864
|
}
|
|
863
|
-
|
|
864
|
-
this.
|
|
865
|
-
this.
|
|
865
|
+
gh() {
|
|
866
|
+
this.cb = this.cc(this.includedSeries);
|
|
867
|
+
this.ca = this.cc(this.excludedSeries);
|
|
866
868
|
}
|
|
867
|
-
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
870
|
-
if (this.
|
|
871
|
-
let a = new List$1(String_$type, 1, this.
|
|
869
|
+
gg() {
|
|
870
|
+
this.b9 = this.cc(this.includedColumns);
|
|
871
|
+
this.b8 = this.cc(this.excludedColumns);
|
|
872
|
+
if (this.b9 != null) {
|
|
873
|
+
let a = new List$1(String_$type, 1, this.b9.keys);
|
|
872
874
|
for (let b of fromEnum(a)) {
|
|
873
875
|
let c = b + ":";
|
|
874
|
-
let d = this.
|
|
875
|
-
if (!this.
|
|
876
|
-
this.
|
|
876
|
+
let d = this.b9.item(b);
|
|
877
|
+
if (!this.b9.containsKey(c)) {
|
|
878
|
+
this.b9.addItem(c, d);
|
|
877
879
|
}
|
|
878
880
|
}
|
|
879
|
-
this.
|
|
881
|
+
this.fh(this.b9);
|
|
880
882
|
}
|
|
881
|
-
if (this.
|
|
882
|
-
let e = new List$1(String_$type, 1, this.
|
|
883
|
+
if (this.b8 != null) {
|
|
884
|
+
let e = new List$1(String_$type, 1, this.b8.keys);
|
|
883
885
|
for (let f of fromEnum(e)) {
|
|
884
886
|
let g = f + ":";
|
|
885
|
-
let h = this.
|
|
886
|
-
if (!this.
|
|
887
|
-
this.
|
|
887
|
+
let h = this.b8.item(f);
|
|
888
|
+
if (!this.b8.containsKey(g)) {
|
|
889
|
+
this.b8.addItem(g, h);
|
|
888
890
|
}
|
|
889
891
|
}
|
|
890
|
-
this.
|
|
892
|
+
this.fh(this.b8);
|
|
891
893
|
}
|
|
892
894
|
}
|
|
893
|
-
|
|
895
|
+
fh(a) {
|
|
894
896
|
let b = new List$1(String_$type, 1, a.keys);
|
|
895
897
|
for (let c of fromEnum(b)) {
|
|
896
898
|
let d = a.item(c);
|
|
@@ -910,7 +912,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
910
912
|
}
|
|
911
913
|
}
|
|
912
914
|
}
|
|
913
|
-
|
|
915
|
+
cc(a) {
|
|
914
916
|
if (a == null) {
|
|
915
917
|
return null;
|
|
916
918
|
}
|
|
@@ -923,16 +925,16 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
923
925
|
}
|
|
924
926
|
return b;
|
|
925
927
|
}
|
|
926
|
-
|
|
928
|
+
b1(a) {
|
|
927
929
|
return a >= 0 && a <= 1;
|
|
928
930
|
}
|
|
929
931
|
notifyCursorPositionChanged(a) {
|
|
930
932
|
let b = !isNaN_(this.targetCursorPositionX) || !isNaN_(this.targetCursorPositionY);
|
|
931
|
-
let c = !isNaN_(a.x) && this.
|
|
932
|
-
let d = !isNaN_(a.y) && this.
|
|
933
|
+
let c = !isNaN_(a.x) && this.b1(a.x);
|
|
934
|
+
let d = !isNaN_(a.y) && this.b1(a.y);
|
|
933
935
|
if (!b && c && d) {
|
|
934
|
-
this.
|
|
935
|
-
this.
|
|
936
|
+
this.cm = a.x;
|
|
937
|
+
this.cn = a.y;
|
|
936
938
|
}
|
|
937
939
|
}
|
|
938
940
|
notifySizeChanged() {
|
|
@@ -941,11 +943,11 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
941
943
|
notifyVisualPropertiesChanged(a) {
|
|
942
944
|
}
|
|
943
945
|
notifySeriesCollectionChanged() {
|
|
944
|
-
this.
|
|
946
|
+
this.f3();
|
|
945
947
|
}
|
|
946
948
|
notifySeriesDataChanged() {
|
|
947
949
|
if (this.bx) {
|
|
948
|
-
this.
|
|
950
|
+
this.f3();
|
|
949
951
|
}
|
|
950
952
|
}
|
|
951
953
|
updatePropertyByName(a, b) {
|
|
@@ -966,55 +968,55 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
966
968
|
this.an = EnumUtil.getEnumValue(DataAbbreviationMode_$type, b);
|
|
967
969
|
break;
|
|
968
970
|
case XamDataLegend.$$p[42]:
|
|
969
|
-
this.
|
|
971
|
+
this.cu = typeGetValue(b);
|
|
970
972
|
break;
|
|
971
973
|
case XamDataLegend.$$p[43]:
|
|
972
|
-
this.
|
|
974
|
+
this.cv = typeGetValue(b);
|
|
973
975
|
break;
|
|
974
976
|
case XamDataLegend.$$p[44]:
|
|
975
977
|
this.a3 = EnumUtil.getEnumValue(DataLegendValueMode_$type, b);
|
|
976
978
|
break;
|
|
977
979
|
case XamDataLegend.$$p[40]:
|
|
978
|
-
this.
|
|
980
|
+
this.ey = b;
|
|
979
981
|
break;
|
|
980
982
|
case XamDataLegend.$$p[47]:
|
|
981
|
-
this.
|
|
983
|
+
this.b4 = b;
|
|
982
984
|
break;
|
|
983
985
|
case XamDataLegend.$$p[46]:
|
|
984
|
-
this.
|
|
986
|
+
this.e6 = b;
|
|
985
987
|
break;
|
|
986
988
|
case XamDataLegend.$$p[45]:
|
|
987
989
|
this.ah = b;
|
|
988
990
|
break;
|
|
989
991
|
case XamDataLegend.$$p[48]:
|
|
990
|
-
this.
|
|
992
|
+
this.is = b;
|
|
991
993
|
break;
|
|
992
994
|
case XamDataLegend.$$p[49]:
|
|
993
|
-
this.
|
|
995
|
+
this.b5 = b;
|
|
994
996
|
break;
|
|
995
997
|
case XamDataLegend.$$p[53]:
|
|
996
|
-
this.
|
|
998
|
+
this.ff = b;
|
|
997
999
|
break;
|
|
998
1000
|
case XamDataLegend.$$p[52]:
|
|
999
|
-
this.
|
|
1001
|
+
this.b6 = b;
|
|
1000
1002
|
break;
|
|
1001
1003
|
case XamDataLegend.$$p[51]:
|
|
1002
|
-
this.
|
|
1004
|
+
this.it = b;
|
|
1003
1005
|
break;
|
|
1004
1006
|
case XamDataLegend.$$p[50]:
|
|
1005
|
-
this.
|
|
1007
|
+
this.ia = b;
|
|
1006
1008
|
break;
|
|
1007
1009
|
case "ValueTextStyle":
|
|
1008
1010
|
this.bt = b;
|
|
1009
1011
|
break;
|
|
1010
1012
|
case XamDataLegend.$$p[7]:
|
|
1011
|
-
this.
|
|
1013
|
+
this.dd = b;
|
|
1012
1014
|
break;
|
|
1013
1015
|
case XamDataLegend.$$p[6]:
|
|
1014
1016
|
this.ag = b;
|
|
1015
1017
|
break;
|
|
1016
1018
|
case XamDataLegend.$$p[4]:
|
|
1017
|
-
this.
|
|
1019
|
+
this.c9 = b;
|
|
1018
1020
|
break;
|
|
1019
1021
|
case XamDataLegend.$$p[5]:
|
|
1020
1022
|
this.ap = EnumUtil.getEnumValue(DataLegendHeaderDateMode_$type, b);
|
|
@@ -1023,25 +1025,25 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1023
1025
|
this.aq = EnumUtil.getEnumValue(DataLegendHeaderTimeMode_$type, b);
|
|
1024
1026
|
break;
|
|
1025
1027
|
case XamDataLegend.$$p[13]:
|
|
1026
|
-
this.
|
|
1028
|
+
this.di = b;
|
|
1027
1029
|
break;
|
|
1028
1030
|
case XamDataLegend.$$p[11]:
|
|
1029
|
-
this.
|
|
1031
|
+
this.h1 = b;
|
|
1030
1032
|
break;
|
|
1031
1033
|
case XamDataLegend.$$p[12]:
|
|
1032
|
-
this.
|
|
1034
|
+
this.ik = b;
|
|
1033
1035
|
break;
|
|
1034
1036
|
case XamDataLegend.$$p[9]:
|
|
1035
|
-
this.
|
|
1037
|
+
this.ij = b;
|
|
1036
1038
|
break;
|
|
1037
1039
|
case XamDataLegend.$$p[10]:
|
|
1038
|
-
this.
|
|
1040
|
+
this.b0 = b;
|
|
1039
1041
|
break;
|
|
1040
1042
|
case "HeaderTextStyle":
|
|
1041
1043
|
this.bl = b;
|
|
1042
1044
|
break;
|
|
1043
1045
|
case XamDataLegend.$$p[23]:
|
|
1044
|
-
this.
|
|
1046
|
+
this.h5 = b;
|
|
1045
1047
|
break;
|
|
1046
1048
|
case "SummaryTitleTextStyle":
|
|
1047
1049
|
this.bo = b;
|
|
@@ -1050,40 +1052,40 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1050
1052
|
this.a1 = EnumUtil.getEnumValue(DataLegendSummaryType_$type, b);
|
|
1051
1053
|
break;
|
|
1052
1054
|
case XamDataLegend.$$p[25]:
|
|
1053
|
-
this.
|
|
1055
|
+
this.d9 = b;
|
|
1054
1056
|
break;
|
|
1055
1057
|
case XamDataLegend.$$p[24]:
|
|
1056
|
-
this.
|
|
1058
|
+
this.io = b;
|
|
1057
1059
|
break;
|
|
1058
1060
|
case XamDataLegend.$$p[22]:
|
|
1059
|
-
this.
|
|
1061
|
+
this.im = b;
|
|
1060
1062
|
break;
|
|
1061
1063
|
case XamDataLegend.$$p[29]:
|
|
1062
|
-
this.
|
|
1064
|
+
this.h7 = b;
|
|
1063
1065
|
break;
|
|
1064
1066
|
case "SummaryValueTextStyle":
|
|
1065
1067
|
this.bq = b;
|
|
1066
1068
|
break;
|
|
1067
1069
|
case XamDataLegend.$$p[21]:
|
|
1068
|
-
this.
|
|
1070
|
+
this.d4 = b;
|
|
1069
1071
|
break;
|
|
1070
1072
|
case XamDataLegend.$$p[20]:
|
|
1071
|
-
this.
|
|
1073
|
+
this.h4 = b;
|
|
1072
1074
|
break;
|
|
1073
1075
|
case "SummaryLabelTextStyle":
|
|
1074
1076
|
this.bn = b;
|
|
1075
1077
|
break;
|
|
1076
1078
|
case XamDataLegend.$$p[28]:
|
|
1077
|
-
this.
|
|
1079
|
+
this.ef = b;
|
|
1078
1080
|
break;
|
|
1079
1081
|
case XamDataLegend.$$p[27]:
|
|
1080
|
-
this.
|
|
1082
|
+
this.h6 = b;
|
|
1081
1083
|
break;
|
|
1082
1084
|
case "SummaryUnitsTextStyle":
|
|
1083
1085
|
this.bp = b;
|
|
1084
1086
|
break;
|
|
1085
1087
|
case XamDataLegend.$$p[0]:
|
|
1086
|
-
this.
|
|
1088
|
+
this.ii = b;
|
|
1087
1089
|
break;
|
|
1088
1090
|
case XamDataLegend.$$p[1]:
|
|
1089
1091
|
this.a8 = EnumUtil.getEnumValue(LegendItemBadgeShape_$type, b);
|
|
@@ -1092,22 +1094,22 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1092
1094
|
this.a2 = EnumUtil.getEnumValue(DataLegendUnitsMode_$type, b);
|
|
1093
1095
|
break;
|
|
1094
1096
|
case XamDataLegend.$$p[38]:
|
|
1095
|
-
this.
|
|
1097
|
+
this.es = b;
|
|
1096
1098
|
break;
|
|
1097
1099
|
case XamDataLegend.$$p[36]:
|
|
1098
|
-
this.
|
|
1100
|
+
this.h9 = b;
|
|
1099
1101
|
break;
|
|
1100
1102
|
case XamDataLegend.$$p[37]:
|
|
1101
|
-
this.
|
|
1103
|
+
this.iq = b;
|
|
1102
1104
|
break;
|
|
1103
1105
|
case "UnitsTextStyle":
|
|
1104
1106
|
this.bs = b;
|
|
1105
1107
|
break;
|
|
1106
1108
|
case XamDataLegend.$$p[34]:
|
|
1107
|
-
this.
|
|
1109
|
+
this.ip = b;
|
|
1108
1110
|
break;
|
|
1109
1111
|
case XamDataLegend.$$p[33]:
|
|
1110
|
-
this.
|
|
1112
|
+
this.h8 = b;
|
|
1111
1113
|
break;
|
|
1112
1114
|
case "TitleTextStyle":
|
|
1113
1115
|
this.br = b;
|
|
@@ -1116,10 +1118,10 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1116
1118
|
this.ar = EnumUtil.getEnumValue(DataLegendLabelMode_$type, b);
|
|
1117
1119
|
break;
|
|
1118
1120
|
case XamDataLegend.$$p[17]:
|
|
1119
|
-
this.
|
|
1121
|
+
this.h2 = b;
|
|
1120
1122
|
break;
|
|
1121
1123
|
case XamDataLegend.$$p[18]:
|
|
1122
|
-
this.
|
|
1124
|
+
this.il = b;
|
|
1123
1125
|
break;
|
|
1124
1126
|
case "LabelTextStyle":
|
|
1125
1127
|
this.bm = b;
|
|
@@ -1150,7 +1152,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1150
1152
|
provideContainer(a) {
|
|
1151
1153
|
this.a5.a2(a);
|
|
1152
1154
|
}
|
|
1153
|
-
|
|
1155
|
+
f3() {
|
|
1154
1156
|
if (this.bu) {
|
|
1155
1157
|
return;
|
|
1156
1158
|
}
|
|
@@ -1163,55 +1165,55 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1163
1165
|
this.bv = a;
|
|
1164
1166
|
}
|
|
1165
1167
|
doRender(a, b) {
|
|
1166
|
-
if (this.
|
|
1168
|
+
if (this.ic.isEmpty) {
|
|
1167
1169
|
let c = this.getDesiredSize();
|
|
1168
|
-
this.
|
|
1170
|
+
this.ic = new Rect(0, 0, 0, c.width, c.height);
|
|
1169
1171
|
}
|
|
1170
|
-
this.
|
|
1172
|
+
this.f4(this.ao, true);
|
|
1171
1173
|
this.a5.a7(a, b);
|
|
1172
1174
|
}
|
|
1173
1175
|
ensureUpdated() {
|
|
1174
1176
|
let a = this.getDesiredSize();
|
|
1175
1177
|
}
|
|
1176
|
-
|
|
1178
|
+
fq() {
|
|
1177
1179
|
if (!this.bu) {
|
|
1178
1180
|
if (this.ao == null) {
|
|
1179
|
-
this.
|
|
1181
|
+
this.f3();
|
|
1180
1182
|
}
|
|
1181
1183
|
else {
|
|
1182
1184
|
return;
|
|
1183
1185
|
}
|
|
1184
1186
|
}
|
|
1185
|
-
this.
|
|
1187
|
+
this.gf();
|
|
1186
1188
|
}
|
|
1187
1189
|
getDesiredSize() {
|
|
1188
|
-
this.
|
|
1190
|
+
this.fq();
|
|
1189
1191
|
if (this.ao == null) {
|
|
1190
1192
|
return new Size(1, 0, 0);
|
|
1191
1193
|
}
|
|
1192
1194
|
return new Size(1, this.ao.d, this.ao.c);
|
|
1193
1195
|
}
|
|
1194
|
-
|
|
1196
|
+
gf() {
|
|
1195
1197
|
if (this.a7 == null) {
|
|
1196
|
-
this.
|
|
1198
|
+
this.fn();
|
|
1197
1199
|
return;
|
|
1198
1200
|
}
|
|
1199
1201
|
let a = this.a7;
|
|
1200
1202
|
let b = a.getDataLegendSeries();
|
|
1201
|
-
let c = this.
|
|
1202
|
-
this.
|
|
1203
|
+
let c = this.cg(b);
|
|
1204
|
+
this.fs(c);
|
|
1203
1205
|
}
|
|
1204
|
-
|
|
1206
|
+
cg(a) {
|
|
1205
1207
|
let b = new Dictionary$2(Number_$type, IDataLegendSeries_$type, 0);
|
|
1206
1208
|
for (let c = 0; c < a.length; c++) {
|
|
1207
1209
|
let d = a[c].title == null ? null : a[c].title.toString();
|
|
1208
|
-
let e = this.
|
|
1209
|
-
let f = this.
|
|
1210
|
-
if (a[c].isValueOverlay && (!e || this.
|
|
1210
|
+
let e = this.cb == null || this.cb.containsKey(a[c].dataLegendKey) || this.cb.containsKey(a[c].index.toString()) || this.cb.containsKey(d);
|
|
1211
|
+
let f = this.ca != null && (this.ca.containsKey(a[c].dataLegendKey) || this.ca.containsKey(a[c].index.toString()) || this.ca.containsKey(d));
|
|
1212
|
+
if (a[c].isValueOverlay && (!e || this.cb == null)) {
|
|
1211
1213
|
continue;
|
|
1212
1214
|
}
|
|
1213
1215
|
if (e && !f) {
|
|
1214
|
-
let g = this.
|
|
1216
|
+
let g = this.ct(a[c]);
|
|
1215
1217
|
b.addItem(g, a[c]);
|
|
1216
1218
|
}
|
|
1217
1219
|
}
|
|
@@ -1223,31 +1225,31 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1223
1225
|
}
|
|
1224
1226
|
return i;
|
|
1225
1227
|
}
|
|
1226
|
-
|
|
1227
|
-
if (this.
|
|
1228
|
+
ct(a) {
|
|
1229
|
+
if (this.cb == null) {
|
|
1228
1230
|
return a.index;
|
|
1229
1231
|
}
|
|
1230
1232
|
let b = a.dataLegendKey;
|
|
1231
|
-
if (this.
|
|
1232
|
-
return this.
|
|
1233
|
+
if (this.cb.containsKey(b)) {
|
|
1234
|
+
return this.cb.item(b);
|
|
1233
1235
|
}
|
|
1234
1236
|
let c = a.index.toString();
|
|
1235
|
-
if (this.
|
|
1236
|
-
return this.
|
|
1237
|
+
if (this.cb.containsKey(c)) {
|
|
1238
|
+
return this.cb.item(c);
|
|
1237
1239
|
}
|
|
1238
1240
|
let d = a.title == null ? null : a.title.toString();
|
|
1239
|
-
if (this.
|
|
1240
|
-
return this.
|
|
1241
|
+
if (this.cb.containsKey(d)) {
|
|
1242
|
+
return this.cb.item(d);
|
|
1241
1243
|
}
|
|
1242
1244
|
return a.index;
|
|
1243
1245
|
}
|
|
1244
|
-
|
|
1246
|
+
fp() {
|
|
1245
1247
|
this.bu = false;
|
|
1246
1248
|
let a = new Size(1, 0, 0);
|
|
1247
1249
|
if (this.ao != null) {
|
|
1248
1250
|
a = new Size(1, this.ao.d, this.ao.c);
|
|
1249
1251
|
}
|
|
1250
|
-
this.
|
|
1252
|
+
this.gf();
|
|
1251
1253
|
let b = new Size(1, 0, 0);
|
|
1252
1254
|
if (this.ao != null) {
|
|
1253
1255
|
b = new Size(1, this.ao.d, this.ao.c);
|
|
@@ -1255,15 +1257,15 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1255
1257
|
if (!a.equals(b)) {
|
|
1256
1258
|
this.a5.am(b.width, b.height);
|
|
1257
1259
|
}
|
|
1258
|
-
this.
|
|
1260
|
+
this.f4(this.ao, this.bv);
|
|
1259
1261
|
}
|
|
1260
|
-
|
|
1262
|
+
ft(message_) {
|
|
1261
1263
|
}
|
|
1262
|
-
|
|
1264
|
+
f4(a, b) {
|
|
1263
1265
|
let c = new DataLegendRenderContext();
|
|
1264
1266
|
for (let d = 0; d < a.b.count; d++) {
|
|
1265
1267
|
let e = a.b._inner[d];
|
|
1266
|
-
this.
|
|
1268
|
+
this.f6(a, e, c);
|
|
1267
1269
|
}
|
|
1268
1270
|
this.a5.p.count = c.b;
|
|
1269
1271
|
this.a5.q.count = c.c;
|
|
@@ -1274,58 +1276,64 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1274
1276
|
this.a5.aq(a);
|
|
1275
1277
|
}
|
|
1276
1278
|
}
|
|
1277
|
-
|
|
1279
|
+
f6(a, b, c) {
|
|
1278
1280
|
if (b.t.width > 0 && b.t.height > 0 && !b.a && !b.d && b.j) {
|
|
1279
1281
|
let d = this.a5.p.item(c.b);
|
|
1280
1282
|
c.b += 1;
|
|
1281
|
-
this.
|
|
1283
|
+
this.f5(d, a, b, c);
|
|
1282
1284
|
}
|
|
1283
1285
|
this.a5.a9();
|
|
1284
1286
|
if (!b.s.isEmpty && b.s.width > 0 && b.s.height > 0) {
|
|
1285
1287
|
let e = this.a5.q.item(c.c);
|
|
1286
1288
|
c.c += 1;
|
|
1287
|
-
this.
|
|
1289
|
+
this.f7(e, b.n, b.q, b.i, b.s);
|
|
1288
1290
|
}
|
|
1289
1291
|
for (let f of fromEnum(b.k)) {
|
|
1290
|
-
if (!f.
|
|
1292
|
+
if (!f.ae.isEmpty && f.q()) {
|
|
1291
1293
|
let g = this.a5.s.item(c.e);
|
|
1292
1294
|
c.e += 1;
|
|
1293
|
-
this.
|
|
1295
|
+
this.f7(g, f.x, f.ab, f.i, f.ae);
|
|
1294
1296
|
}
|
|
1295
|
-
if (!f.
|
|
1297
|
+
if (!f.ad.isEmpty && f.o() && f.m) {
|
|
1296
1298
|
let h = this.a5.r.item(c.d);
|
|
1297
1299
|
c.d += 1;
|
|
1298
|
-
this.
|
|
1300
|
+
this.f7(h, f.u, f.aa, f.h, f.ad);
|
|
1299
1301
|
}
|
|
1300
|
-
if (!f.
|
|
1302
|
+
if (!f.ac.isEmpty && f.l() && f.j) {
|
|
1301
1303
|
let i = this.a5.o.item(c.a);
|
|
1302
1304
|
c.a += 1;
|
|
1303
|
-
this.
|
|
1305
|
+
this.f7(i, f.t, f.z, f.g, f.ac);
|
|
1304
1306
|
}
|
|
1305
1307
|
}
|
|
1306
1308
|
this.a5.an();
|
|
1307
1309
|
}
|
|
1308
|
-
|
|
1310
|
+
f7(a, b, c, d, e) {
|
|
1309
1311
|
a.al = b;
|
|
1310
1312
|
this.a5.a8(a, e.left, e.top);
|
|
1311
1313
|
this.a5.ao(a, d);
|
|
1312
1314
|
this.a5.ap(a, d);
|
|
1313
1315
|
a.ao = c;
|
|
1314
1316
|
}
|
|
1315
|
-
|
|
1317
|
+
f5(a, b, c, d) {
|
|
1316
1318
|
a.ah = c.p;
|
|
1317
1319
|
a.content = c.l;
|
|
1318
1320
|
a.width = c.t.width;
|
|
1319
1321
|
a.height = c.t.height;
|
|
1320
1322
|
this.a5.a8(a, c.r.left, c.r.top);
|
|
1321
1323
|
}
|
|
1322
|
-
|
|
1323
|
-
if (
|
|
1324
|
+
by(a, b) {
|
|
1325
|
+
if (b == null) {
|
|
1326
|
+
return false;
|
|
1327
|
+
}
|
|
1328
|
+
return a.containsKey(b);
|
|
1329
|
+
}
|
|
1330
|
+
fs(a) {
|
|
1331
|
+
if (this.bz()) {
|
|
1324
1332
|
this.ao.f();
|
|
1325
|
-
this.
|
|
1326
|
-
this.
|
|
1327
|
-
this.
|
|
1328
|
-
this.
|
|
1333
|
+
this.cd = a;
|
|
1334
|
+
this.ce.clear();
|
|
1335
|
+
this.cs = 0;
|
|
1336
|
+
this.b7.clear();
|
|
1329
1337
|
}
|
|
1330
1338
|
else {
|
|
1331
1339
|
return;
|
|
@@ -1333,44 +1341,44 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1333
1341
|
for (let b = 0; b < a.count; b++) {
|
|
1334
1342
|
let c = a._inner[b];
|
|
1335
1343
|
let d = b;
|
|
1336
|
-
let e = typeCast(DataLegendSeriesContext.$, c.getDataLegendSeriesContextAt(this.
|
|
1344
|
+
let e = typeCast(DataLegendSeriesContext.$, c.getDataLegendSeriesContextAt(this.cm, this.cn));
|
|
1337
1345
|
if (e != null) {
|
|
1338
1346
|
let f = new List$1(DataLegendSeriesValueInfo.$, 0);
|
|
1339
1347
|
for (let g = 0; g < e.f.count; g++) {
|
|
1340
1348
|
let h = e.f._inner[g];
|
|
1341
|
-
let i = this.
|
|
1342
|
-
let j = this.
|
|
1343
|
-
let k = this.
|
|
1349
|
+
let 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");
|
|
1350
|
+
let 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"));
|
|
1351
|
+
let k = this.b9 == null && this.b8 == null && h.k;
|
|
1344
1352
|
if (i && (!j && !k)) {
|
|
1345
1353
|
h.o = f.count;
|
|
1346
1354
|
f.add(h);
|
|
1347
|
-
if (!this.
|
|
1348
|
-
this.
|
|
1355
|
+
if (!this.b7.containsKey(h.o)) {
|
|
1356
|
+
this.b7.addItem(h.o, new DataLegendColumn());
|
|
1349
1357
|
}
|
|
1350
|
-
this.
|
|
1351
|
-
this.
|
|
1352
|
-
this.
|
|
1353
|
-
this.
|
|
1354
|
-
this.
|
|
1355
|
-
this.
|
|
1358
|
+
this.b7.item(h.o).i = h.o;
|
|
1359
|
+
this.b7.item(h.o).d.q(d, h.s);
|
|
1360
|
+
this.b7.item(h.o).b.q(d, h.r);
|
|
1361
|
+
this.b7.item(h.o).e.q(d, h.l);
|
|
1362
|
+
this.b7.item(h.o).c.q(d, h);
|
|
1363
|
+
this.b7.item(h.o).h.add(d);
|
|
1356
1364
|
}
|
|
1357
1365
|
}
|
|
1358
1366
|
e.f = f;
|
|
1359
|
-
this.
|
|
1360
|
-
this.
|
|
1367
|
+
this.ce.add(e);
|
|
1368
|
+
this.cs = Math.max(this.cs, e.f.count);
|
|
1361
1369
|
}
|
|
1362
1370
|
}
|
|
1363
|
-
for (let l of fromEnum(this.
|
|
1371
|
+
for (let l of fromEnum(this.b7.values)) {
|
|
1364
1372
|
l.f.clear();
|
|
1365
1373
|
l.a.clear();
|
|
1366
1374
|
let m = l.e.p(l.h);
|
|
1367
|
-
let n = this.
|
|
1375
|
+
let n = this.cf(m);
|
|
1368
1376
|
for (let o = 0; o < n.count; o++) {
|
|
1369
1377
|
let p = n._inner[o];
|
|
1370
1378
|
let q = l.h._inner[o];
|
|
1371
1379
|
l.a.q(q, p);
|
|
1372
1380
|
let r = l.c.item(q);
|
|
1373
|
-
let s = this.
|
|
1381
|
+
let s = this.d2(p, r);
|
|
1374
1382
|
l.f.q(q, s);
|
|
1375
1383
|
let t = !stringIsNullOrEmpty(p.l);
|
|
1376
1384
|
if (t) {
|
|
@@ -1378,16 +1386,16 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1378
1386
|
}
|
|
1379
1387
|
}
|
|
1380
1388
|
}
|
|
1381
|
-
this.
|
|
1389
|
+
this.fi(this.ao, a);
|
|
1382
1390
|
for (let u = 0; u < a.count; u++) {
|
|
1383
|
-
this.
|
|
1384
|
-
this.
|
|
1391
|
+
this.ge(a._inner[u], this.a8);
|
|
1392
|
+
this.fj(this.ao, a._inner[u], u);
|
|
1385
1393
|
}
|
|
1386
|
-
this.
|
|
1387
|
-
this.bw = this.
|
|
1388
|
-
this.
|
|
1394
|
+
this.fk(this.ao, a);
|
|
1395
|
+
this.bw = this.b2();
|
|
1396
|
+
this.fm(this.ao);
|
|
1389
1397
|
}
|
|
1390
|
-
|
|
1398
|
+
b2() {
|
|
1391
1399
|
let a = false;
|
|
1392
1400
|
for (let b = 0; b < this.ao.b.count; b++) {
|
|
1393
1401
|
let c = this.ao.b._inner[b];
|
|
@@ -1398,12 +1406,12 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1398
1406
|
}
|
|
1399
1407
|
return a;
|
|
1400
1408
|
}
|
|
1401
|
-
|
|
1409
|
+
fm(a) {
|
|
1402
1410
|
let b = 0;
|
|
1403
1411
|
let c = 0;
|
|
1404
1412
|
for (let d = 0; d < a.b.count; d++) {
|
|
1405
1413
|
let e = a.b._inner[d];
|
|
1406
|
-
this.
|
|
1414
|
+
this.fu(e);
|
|
1407
1415
|
}
|
|
1408
1416
|
let f = 0;
|
|
1409
1417
|
let g = new Size(1, 0, 0);
|
|
@@ -1417,25 +1425,25 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1417
1425
|
if (!i.containsKey(m)) {
|
|
1418
1426
|
i.addItem(m, new Size(1, 0, 0));
|
|
1419
1427
|
}
|
|
1420
|
-
i.item(m, this.
|
|
1428
|
+
i.item(m, this.ih(i.item(m), n.ak, n.an));
|
|
1421
1429
|
if (!j.containsKey(m)) {
|
|
1422
1430
|
j.addItem(m, new Size(1, 0, 0));
|
|
1423
1431
|
}
|
|
1424
|
-
j.item(m, this.
|
|
1432
|
+
j.item(m, this.ih(j.item(m), n.ai, n.am));
|
|
1425
1433
|
if (!k.containsKey(m)) {
|
|
1426
1434
|
k.addItem(m, new Size(1, 0, 0));
|
|
1427
1435
|
}
|
|
1428
|
-
k.item(m, this.
|
|
1436
|
+
k.item(m, this.ih(k.item(m), n.ag, n.al));
|
|
1429
1437
|
}
|
|
1430
1438
|
}
|
|
1431
1439
|
for (let o = 0; o < a.b.count; o++) {
|
|
1432
1440
|
let p = a.b._inner[o];
|
|
1433
|
-
h = this.
|
|
1434
|
-
g = this.
|
|
1441
|
+
h = this.ig(h, p.t, p.v);
|
|
1442
|
+
g = this.ih(g, p.u, p.x);
|
|
1435
1443
|
for (let q = 0; q < p.k.count; q++) {
|
|
1436
|
-
p.k._inner[q].
|
|
1437
|
-
p.k._inner[q].
|
|
1438
|
-
p.k._inner[q].
|
|
1444
|
+
p.k._inner[q].aj = i.item(q);
|
|
1445
|
+
p.k._inner[q].ah = j.item(q);
|
|
1446
|
+
p.k._inner[q].af = k.item(q);
|
|
1439
1447
|
}
|
|
1440
1448
|
if (p.d) {
|
|
1441
1449
|
let r = p.u.width + p.x.left + p.x.right;
|
|
@@ -1451,7 +1459,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1451
1459
|
let v = 0;
|
|
1452
1460
|
for (let w = 0; w < a.b.count; w++) {
|
|
1453
1461
|
let x = a.b._inner[w];
|
|
1454
|
-
let y = this.
|
|
1462
|
+
let y = this.id(v, x, f, g, h);
|
|
1455
1463
|
v = y.height;
|
|
1456
1464
|
u = Math.max(u, y.width);
|
|
1457
1465
|
}
|
|
@@ -1460,24 +1468,24 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1460
1468
|
a.d = b;
|
|
1461
1469
|
a.c = c;
|
|
1462
1470
|
}
|
|
1463
|
-
|
|
1471
|
+
ig(a, b, c) {
|
|
1464
1472
|
return new Size(1, Math.max(a.width, b.width + c.left + c.right), Math.max(a.height, b.height + c.top + c.bottom));
|
|
1465
1473
|
}
|
|
1466
|
-
|
|
1474
|
+
ih(a, b, c) {
|
|
1467
1475
|
return new Size(1, Math.max(a.width, b.width + c.left + c.right), Math.max(a.height, b.height + c.top + c.bottom));
|
|
1468
1476
|
}
|
|
1469
|
-
|
|
1477
|
+
id(a, b, c, d, e) {
|
|
1470
1478
|
let f = 0;
|
|
1471
1479
|
let g = 0;
|
|
1472
1480
|
g = Math.max(b.t.height, g);
|
|
1473
1481
|
g = Math.max(b.u.height, g);
|
|
1474
1482
|
for (let h of fromEnum(b.k)) {
|
|
1475
|
-
g = Math.max(h.
|
|
1483
|
+
g = Math.max(h.ak.height, g);
|
|
1476
1484
|
if (h.m) {
|
|
1477
|
-
g = Math.max(h.
|
|
1485
|
+
g = Math.max(h.ai.height, g);
|
|
1478
1486
|
}
|
|
1479
1487
|
if (h.j) {
|
|
1480
|
-
g = Math.max(h.
|
|
1488
|
+
g = Math.max(h.ag.height, g);
|
|
1481
1489
|
}
|
|
1482
1490
|
}
|
|
1483
1491
|
f += b.w.left;
|
|
@@ -1503,63 +1511,63 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1503
1511
|
f = Math.max(c, b.s.right);
|
|
1504
1512
|
for (let k of fromEnum(b.k)) {
|
|
1505
1513
|
let l = " C=" + k.s + " SR=" + numberToString2(f, "000");
|
|
1506
|
-
if ((k.l() && k.j) && k.
|
|
1514
|
+
if ((k.l() && k.j) && k.af.width > 0) {
|
|
1507
1515
|
let m = 0;
|
|
1508
|
-
if (g > k.
|
|
1509
|
-
m = (g - k.
|
|
1516
|
+
if (g > k.ag.height) {
|
|
1517
|
+
m = (g - k.ag.height) / 2;
|
|
1510
1518
|
}
|
|
1511
|
-
k.
|
|
1512
|
-
f += k.
|
|
1513
|
-
l += " label L=" + numberToString2(k.
|
|
1519
|
+
k.ac = new Rect(0, f + k.al.left, a + m, k.ag.width, k.ag.height);
|
|
1520
|
+
f += k.af.width;
|
|
1521
|
+
l += " label L=" + numberToString2(k.ac.left, "000") + " R=" + numberToString2(k.ac.right, "000");
|
|
1514
1522
|
}
|
|
1515
1523
|
if (k.q()) {
|
|
1516
|
-
l += " v MW=" + numberToString2(k.
|
|
1517
|
-
f += k.
|
|
1518
|
-
f += (k.
|
|
1524
|
+
l += " v MW=" + numberToString2(k.aj.width, "000");
|
|
1525
|
+
f += k.an.left;
|
|
1526
|
+
f += (k.aj.width - (k.ak.width + k.an.right));
|
|
1519
1527
|
let n = 0;
|
|
1520
|
-
if (g > k.
|
|
1521
|
-
n = (g - k.
|
|
1528
|
+
if (g > k.ak.height) {
|
|
1529
|
+
n = (g - k.ak.height) / 2;
|
|
1522
1530
|
}
|
|
1523
|
-
k.
|
|
1524
|
-
l += " v ML=" + numberToString2(k.
|
|
1525
|
-
l += " v BL=" + numberToString2(k.
|
|
1526
|
-
f += k.
|
|
1527
|
-
f += k.
|
|
1531
|
+
k.ae = new Rect(0, f, a + n, k.ak.width, k.ak.height);
|
|
1532
|
+
l += " v ML=" + numberToString2(k.an.left, "00") + " MR=" + numberToString2(k.an.right, "00");
|
|
1533
|
+
l += " v BL=" + numberToString2(k.ae.left, "000") + " BR=" + numberToString2(k.ae.right, "000");
|
|
1534
|
+
f += k.ae.width;
|
|
1535
|
+
f += k.an.right;
|
|
1528
1536
|
}
|
|
1529
|
-
if ((k.o() && k.m) && k.
|
|
1537
|
+
if ((k.o() && k.m) && k.ah.width > 0) {
|
|
1530
1538
|
let o = 0;
|
|
1531
|
-
if (g > k.
|
|
1532
|
-
o = (g - k.
|
|
1539
|
+
if (g > k.ai.height) {
|
|
1540
|
+
o = (g - k.ai.height) / 2;
|
|
1533
1541
|
}
|
|
1534
|
-
k.
|
|
1535
|
-
f += k.
|
|
1536
|
-
l += " unit L=" + numberToString2(k.
|
|
1542
|
+
k.ad = new Rect(0, f + k.am.left, a + o, k.ai.width, k.ai.height);
|
|
1543
|
+
f += k.ah.width;
|
|
1544
|
+
l += " unit L=" + numberToString2(k.ad.left, "000") + " R=" + numberToString2(k.ad.right, "000");
|
|
1537
1545
|
}
|
|
1538
|
-
this.
|
|
1546
|
+
this.ft("maxRight " + numberToString2(c, "0") + l);
|
|
1539
1547
|
}
|
|
1540
1548
|
f += b.w.right;
|
|
1541
1549
|
a += g;
|
|
1542
1550
|
a += b.w.bottom;
|
|
1543
1551
|
return new Size(1, f, a);
|
|
1544
1552
|
}
|
|
1545
|
-
|
|
1553
|
+
fu(a) {
|
|
1546
1554
|
a.u = a.n == null ? new Size(1, 0, 0) : this.a5.bu(a.n, a.i);
|
|
1547
1555
|
for (let b of fromEnum(a.k)) {
|
|
1548
|
-
b.
|
|
1549
|
-
b.
|
|
1550
|
-
b.
|
|
1556
|
+
b.ak = b.x == null ? new Size(1, 0, 0) : this.a5.bu(b.x, b.i);
|
|
1557
|
+
b.ai = b.u == null ? new Size(1, 0, 0) : this.a5.bu(b.u, b.h);
|
|
1558
|
+
b.ag = b.t == null ? new Size(1, 0, 0) : this.a5.bu(b.t, b.g);
|
|
1551
1559
|
}
|
|
1552
1560
|
}
|
|
1553
|
-
|
|
1561
|
+
d1(a, b, c, d) {
|
|
1554
1562
|
if (this.a2 == 2) {
|
|
1555
1563
|
return null;
|
|
1556
1564
|
}
|
|
1557
1565
|
let e = "";
|
|
1558
|
-
if (stringIsNullOrEmpty(this.
|
|
1566
|
+
if (stringIsNullOrEmpty(this.es)) {
|
|
1559
1567
|
e = b;
|
|
1560
1568
|
}
|
|
1561
1569
|
else {
|
|
1562
|
-
e = this.
|
|
1570
|
+
e = this.es;
|
|
1563
1571
|
}
|
|
1564
1572
|
if (d) {
|
|
1565
1573
|
if (stringIsNullOrEmpty(e)) {
|
|
@@ -1569,8 +1577,8 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1569
1577
|
e = c + e;
|
|
1570
1578
|
}
|
|
1571
1579
|
}
|
|
1572
|
-
let f = this.
|
|
1573
|
-
let g = this.
|
|
1580
|
+
let f = this.b7.item(a).d;
|
|
1581
|
+
let g = this.b7.item(a).g;
|
|
1574
1582
|
if (g && stringIsNullOrEmpty(e)) {
|
|
1575
1583
|
e = " ";
|
|
1576
1584
|
}
|
|
@@ -1582,13 +1590,13 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1582
1590
|
}
|
|
1583
1591
|
return e;
|
|
1584
1592
|
}
|
|
1585
|
-
|
|
1593
|
+
dy(a, b, c) {
|
|
1586
1594
|
if (this.ar == 2) {
|
|
1587
1595
|
return null;
|
|
1588
1596
|
}
|
|
1589
|
-
let d = this.
|
|
1597
|
+
let d = this.cs > 1;
|
|
1590
1598
|
let e = this.ar == 1;
|
|
1591
|
-
let f = this.
|
|
1599
|
+
let f = this.b7.item(a).b.count > 0;
|
|
1592
1600
|
if (f && (d || e)) {
|
|
1593
1601
|
if (stringIsNullOrEmpty(b)) {
|
|
1594
1602
|
return " ";
|
|
@@ -1599,7 +1607,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1599
1607
|
}
|
|
1600
1608
|
return null;
|
|
1601
1609
|
}
|
|
1602
|
-
|
|
1610
|
+
fk(a, b) {
|
|
1603
1611
|
if (this.a1 == 5) {
|
|
1604
1612
|
return;
|
|
1605
1613
|
}
|
|
@@ -1609,7 +1617,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1609
1617
|
let c = new Dictionary$2(Number_$type, DataLegendSummaryColumn.$, 0);
|
|
1610
1618
|
let d = 0;
|
|
1611
1619
|
let e = new List$1(DataLegendSeriesGroup_$type, 0);
|
|
1612
|
-
for (let f of fromEnum(this.
|
|
1620
|
+
for (let f of fromEnum(this.ce)) {
|
|
1613
1621
|
d = Math.max(d, f.f.count);
|
|
1614
1622
|
if (!e.contains(f.b)) {
|
|
1615
1623
|
e.add(f.b);
|
|
@@ -1627,13 +1635,10 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1627
1635
|
i.f = h.f;
|
|
1628
1636
|
i.f = h.g;
|
|
1629
1637
|
i.d = h.d;
|
|
1630
|
-
i.
|
|
1631
|
-
i.
|
|
1632
|
-
i.ag(h.q);
|
|
1638
|
+
i.y = h.y;
|
|
1639
|
+
i.aj(h.l);
|
|
1633
1640
|
i.ah(h.r);
|
|
1634
|
-
|
|
1635
|
-
i.t = h.t;
|
|
1636
|
-
}
|
|
1641
|
+
i.ai(h.s);
|
|
1637
1642
|
if (stringIsNullOrEmpty(i.u)) {
|
|
1638
1643
|
i.u = h.u;
|
|
1639
1644
|
}
|
|
@@ -1643,6 +1648,12 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1643
1648
|
if (stringIsNullOrEmpty(i.w)) {
|
|
1644
1649
|
i.w = h.w;
|
|
1645
1650
|
}
|
|
1651
|
+
if (stringIsNullOrEmpty(i.x)) {
|
|
1652
|
+
i.x = h.x;
|
|
1653
|
+
}
|
|
1654
|
+
if (stringIsNullOrEmpty(i.q)) {
|
|
1655
|
+
i.q = h.q;
|
|
1656
|
+
}
|
|
1646
1657
|
if (stringIsNullOrEmpty(i.p)) {
|
|
1647
1658
|
i.p = h.p;
|
|
1648
1659
|
}
|
|
@@ -1658,17 +1669,17 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1658
1669
|
}
|
|
1659
1670
|
let j = this.a6();
|
|
1660
1671
|
let k = new DataLegendRowInfo(this.a5, true, false, -1);
|
|
1661
|
-
k.n = this.
|
|
1662
|
-
k.q = this.
|
|
1672
|
+
k.n = this.d9 != null ? this.d9 : j.title;
|
|
1673
|
+
k.q = this.h5 || k.q;
|
|
1663
1674
|
k.i = this.bo || k.i;
|
|
1664
1675
|
for (let l = 0; l < d; l++) {
|
|
1665
1676
|
let m = c.item(l);
|
|
1666
|
-
let n = j.calculate(m.
|
|
1677
|
+
let n = j.calculate(m.ab, m.q);
|
|
1667
1678
|
n = this.a0(n);
|
|
1668
1679
|
let o = this.an;
|
|
1669
1680
|
let p = o == 0 || o == 2 || o == 8;
|
|
1670
1681
|
let q = -1;
|
|
1671
|
-
for (let r of fromEnum(this.
|
|
1682
|
+
for (let r of fromEnum(this.b7.item(l).a.values)) {
|
|
1672
1683
|
if (r.b()) {
|
|
1673
1684
|
q = Math.max(q, r.h);
|
|
1674
1685
|
if (p) {
|
|
@@ -1676,44 +1687,45 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1676
1687
|
}
|
|
1677
1688
|
}
|
|
1678
1689
|
}
|
|
1679
|
-
let s = this.
|
|
1680
|
-
let t = this.
|
|
1690
|
+
let s = this.cv >= 0 ? this.cv : q;
|
|
1691
|
+
let t = this.cu >= 0 ? this.cu : q;
|
|
1681
1692
|
let u = this.am(n.c, o, s, t);
|
|
1682
1693
|
u.i = s;
|
|
1683
1694
|
u.h = t;
|
|
1684
|
-
let v = this.
|
|
1695
|
+
let v = this.d2(u, m);
|
|
1685
1696
|
let w = new DataLegendRowCell(this.a5, true, false, -1);
|
|
1686
1697
|
w.s = k.k.count;
|
|
1687
|
-
w.t = this.
|
|
1688
|
-
if (!stringIsNullOrEmpty(this.
|
|
1689
|
-
w.t = this.
|
|
1698
|
+
w.t = this.dy(w.s, " ", m.b);
|
|
1699
|
+
if (!stringIsNullOrEmpty(this.d4)) {
|
|
1700
|
+
w.t = this.d4;
|
|
1690
1701
|
}
|
|
1691
1702
|
if (n.e != null) {
|
|
1692
1703
|
w.t = n.e;
|
|
1693
1704
|
}
|
|
1694
1705
|
w.j = !stringIsNullOrEmpty(w.t);
|
|
1695
|
-
w.
|
|
1706
|
+
w.z = this.h4 || w.z;
|
|
1696
1707
|
w.g = this.bn || w.g;
|
|
1697
|
-
w.
|
|
1708
|
+
w.x = v;
|
|
1698
1709
|
w.i = this.bq || w.i;
|
|
1699
|
-
w.
|
|
1710
|
+
w.ab = this.h3(this.h7, w.ab, null);
|
|
1700
1711
|
w.r = n.c;
|
|
1701
1712
|
w.f = u.a;
|
|
1713
|
+
w.w = m.q;
|
|
1702
1714
|
w.v = m.p;
|
|
1703
|
-
let x = m.
|
|
1704
|
-
w.u = this.
|
|
1715
|
+
let x = m.aa.length >= 1 ? m.aa[0] : " ";
|
|
1716
|
+
w.u = this.d1(w.s, x, u.l, m.d);
|
|
1705
1717
|
if (n.f != null) {
|
|
1706
1718
|
w.u = n.f;
|
|
1707
1719
|
}
|
|
1708
1720
|
w.m = !stringIsNullOrEmpty(w.u);
|
|
1709
|
-
w.
|
|
1721
|
+
w.aa = this.h6 || w.aa;
|
|
1710
1722
|
w.h = this.bp || w.h;
|
|
1711
1723
|
k.k.add(w);
|
|
1712
1724
|
}
|
|
1713
|
-
this.
|
|
1725
|
+
this.gc(k);
|
|
1714
1726
|
if (k.b) {
|
|
1715
|
-
this.
|
|
1716
|
-
this.
|
|
1727
|
+
this.fl(k);
|
|
1728
|
+
this.f0(k);
|
|
1717
1729
|
a.e(k);
|
|
1718
1730
|
}
|
|
1719
1731
|
}
|
|
@@ -1722,37 +1734,37 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1722
1734
|
b = this.an;
|
|
1723
1735
|
}
|
|
1724
1736
|
if (d < 0) {
|
|
1725
|
-
d = this.
|
|
1737
|
+
d = this.cu;
|
|
1726
1738
|
}
|
|
1727
1739
|
if (c < 0) {
|
|
1728
|
-
c = this.
|
|
1740
|
+
c = this.cv;
|
|
1729
1741
|
}
|
|
1730
1742
|
return DataAbbreviator.a(a, b, c, d);
|
|
1731
1743
|
}
|
|
1732
|
-
|
|
1744
|
+
cr(a, b, c, d) {
|
|
1733
1745
|
return this.am(a, b, c, d).d;
|
|
1734
1746
|
}
|
|
1735
|
-
|
|
1747
|
+
c8(a, b, c, d) {
|
|
1736
1748
|
return this.am(a, b, c, d).l;
|
|
1737
1749
|
}
|
|
1738
|
-
|
|
1750
|
+
c7(a, b, c, d) {
|
|
1739
1751
|
let e = this.am(a, b, c, d);
|
|
1740
1752
|
return e.m + e.l;
|
|
1741
1753
|
}
|
|
1742
|
-
|
|
1743
|
-
let b = this.
|
|
1744
|
-
let c = this.
|
|
1754
|
+
cf(a) {
|
|
1755
|
+
let b = this.cv;
|
|
1756
|
+
let c = this.cu;
|
|
1745
1757
|
let d = this.an;
|
|
1746
1758
|
let e = DataAbbreviator.h(a, d, b, c);
|
|
1747
1759
|
return e;
|
|
1748
1760
|
}
|
|
1749
|
-
|
|
1761
|
+
ch(a) {
|
|
1750
1762
|
let b = new List$1(Number_$type, 0);
|
|
1751
1763
|
if (a < 0) {
|
|
1752
1764
|
return b;
|
|
1753
1765
|
}
|
|
1754
|
-
for (let c = 0; c < this.
|
|
1755
|
-
let d = this.
|
|
1766
|
+
for (let c = 0; c < this.ce.count; c++) {
|
|
1767
|
+
let d = this.ce._inner[c];
|
|
1756
1768
|
if (d.f.count > a) {
|
|
1757
1769
|
let e = d.f._inner[a].l;
|
|
1758
1770
|
if (!isNaN_(e)) {
|
|
@@ -1762,24 +1774,24 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1762
1774
|
}
|
|
1763
1775
|
return b;
|
|
1764
1776
|
}
|
|
1765
|
-
|
|
1777
|
+
fl(a) {
|
|
1766
1778
|
}
|
|
1767
|
-
|
|
1779
|
+
h3(a, b, c) {
|
|
1768
1780
|
if (a != null) {
|
|
1769
1781
|
return a;
|
|
1770
1782
|
}
|
|
1771
|
-
if (this.
|
|
1783
|
+
if (this.b6 && c != null) {
|
|
1772
1784
|
return c;
|
|
1773
1785
|
}
|
|
1774
1786
|
return b;
|
|
1775
1787
|
}
|
|
1776
|
-
|
|
1788
|
+
dz(a, b) {
|
|
1777
1789
|
return stringIsNullOrEmpty(a) ? b : a;
|
|
1778
1790
|
}
|
|
1779
|
-
|
|
1791
|
+
d2(a, b) {
|
|
1780
1792
|
let c = a.d;
|
|
1781
1793
|
if (b == null || isNaN_(c) || isInfinity(c)) {
|
|
1782
|
-
return this.
|
|
1794
|
+
return this.ff;
|
|
1783
1795
|
}
|
|
1784
1796
|
let d;
|
|
1785
1797
|
let e = b.d ? a.d : a.g;
|
|
@@ -1792,23 +1804,23 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1792
1804
|
f = 1;
|
|
1793
1805
|
}
|
|
1794
1806
|
let g = new NumberFormatSpecifier();
|
|
1795
|
-
g.useGrouping = this.
|
|
1796
|
-
g.locale = this.
|
|
1797
|
-
g.currencyCode = this.
|
|
1807
|
+
g.useGrouping = this.b4;
|
|
1808
|
+
g.locale = this.dz(this.ey, null);
|
|
1809
|
+
g.currencyCode = this.e0;
|
|
1798
1810
|
if (b.d) {
|
|
1799
1811
|
g.minimumFractionDigits = a.i;
|
|
1800
1812
|
g.maximumFractionDigits = a.h;
|
|
1801
1813
|
if (b.n >= 0 && b.n > a.i) {
|
|
1802
1814
|
g.minimumFractionDigits = b.n;
|
|
1803
1815
|
}
|
|
1804
|
-
else if (this.
|
|
1805
|
-
g.minimumFractionDigits = this.
|
|
1816
|
+
else if (this.cv >= 0) {
|
|
1817
|
+
g.minimumFractionDigits = this.cv;
|
|
1806
1818
|
}
|
|
1807
1819
|
if (b.m >= 0 && b.m > a.h) {
|
|
1808
1820
|
g.maximumFractionDigits = b.m;
|
|
1809
1821
|
}
|
|
1810
|
-
else if (this.
|
|
1811
|
-
g.maximumFractionDigits = this.
|
|
1822
|
+
else if (this.cu >= 0) {
|
|
1823
|
+
g.maximumFractionDigits = this.cu;
|
|
1812
1824
|
}
|
|
1813
1825
|
}
|
|
1814
1826
|
else {
|
|
@@ -1828,70 +1840,71 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1828
1840
|
this.al.d = [g];
|
|
1829
1841
|
d = this.al.i(e);
|
|
1830
1842
|
if (e > 0) {
|
|
1831
|
-
d = b.
|
|
1843
|
+
d = b.w + d;
|
|
1832
1844
|
}
|
|
1833
1845
|
else if (e < 0) {
|
|
1834
|
-
d = b.
|
|
1846
|
+
d = b.u + d;
|
|
1835
1847
|
}
|
|
1836
1848
|
if (e >= 0) {
|
|
1837
|
-
d += b.
|
|
1849
|
+
d += b.x;
|
|
1838
1850
|
}
|
|
1839
1851
|
else {
|
|
1840
|
-
d += b.
|
|
1852
|
+
d += b.v;
|
|
1841
1853
|
}
|
|
1842
1854
|
}
|
|
1843
1855
|
return d;
|
|
1844
1856
|
}
|
|
1845
|
-
|
|
1846
|
-
if (this.
|
|
1857
|
+
fj(a, b, c) {
|
|
1858
|
+
if (this.b5 == false) {
|
|
1847
1859
|
return;
|
|
1848
1860
|
}
|
|
1849
|
-
let d = this.
|
|
1850
|
-
let e = this.
|
|
1861
|
+
let d = this.ce._inner[c];
|
|
1862
|
+
let e = this.d0(b);
|
|
1851
1863
|
let f = new DataLegendRowInfo(this.a5, false, false, c);
|
|
1852
1864
|
f.f = d.a();
|
|
1853
1865
|
f.m = e;
|
|
1854
1866
|
f.n = e;
|
|
1855
|
-
f.q = this.
|
|
1867
|
+
f.q = this.h8 || f.q;
|
|
1856
1868
|
f.i = this.br || f.i;
|
|
1857
1869
|
for (let g = 0; g < d.f.count; g++) {
|
|
1858
1870
|
let h = d.f._inner[g];
|
|
1859
|
-
let i = this.
|
|
1860
|
-
let j = this.
|
|
1871
|
+
let i = this.b7.item(g).a.item(c);
|
|
1872
|
+
let j = this.b7.item(g).f.item(c);
|
|
1861
1873
|
let k = new DataLegendRowCell(this.a5, false, false, c);
|
|
1862
1874
|
k.s = f.k.count;
|
|
1863
1875
|
k.i = this.bt || k.i;
|
|
1864
|
-
k.
|
|
1865
|
-
k.
|
|
1876
|
+
k.x = j;
|
|
1877
|
+
k.ab = this.h3(this.ia, k.ab, h.y);
|
|
1878
|
+
k.w = h.q;
|
|
1866
1879
|
k.v = h.p;
|
|
1867
1880
|
k.r = h.l;
|
|
1868
1881
|
k.f = i.a;
|
|
1869
|
-
k.u = this.
|
|
1882
|
+
k.u = this.d1(k.s, h.s, i.l, h.d);
|
|
1870
1883
|
k.m = !stringIsNullOrEmpty(k.u);
|
|
1871
|
-
k.
|
|
1884
|
+
k.aa = this.h9 || k.aa;
|
|
1872
1885
|
k.h = this.bs || k.h;
|
|
1873
|
-
k.t = this.
|
|
1886
|
+
k.t = this.dy(k.s, h.r, h.b);
|
|
1874
1887
|
k.j = !stringIsNullOrEmpty(k.t);
|
|
1875
|
-
k.
|
|
1888
|
+
k.z = this.h2 || k.z;
|
|
1876
1889
|
k.g = this.bm || k.g;
|
|
1877
1890
|
f.k.add(k);
|
|
1878
1891
|
}
|
|
1879
1892
|
f.h = this.a9(b);
|
|
1880
|
-
this.
|
|
1881
|
-
this.
|
|
1882
|
-
this.
|
|
1893
|
+
this.fl(f);
|
|
1894
|
+
this.f0(f);
|
|
1895
|
+
this.gb(f);
|
|
1883
1896
|
if (f.b) {
|
|
1884
1897
|
if (f.j) {
|
|
1885
|
-
this.
|
|
1886
|
-
let l = this.
|
|
1887
|
-
let m = this.
|
|
1898
|
+
this.ge(b, f.h);
|
|
1899
|
+
let l = this.gi(b);
|
|
1900
|
+
let m = this.cx(b);
|
|
1888
1901
|
f.p = l;
|
|
1889
1902
|
f.l = m;
|
|
1890
1903
|
}
|
|
1891
1904
|
a.e(f);
|
|
1892
1905
|
}
|
|
1893
1906
|
}
|
|
1894
|
-
|
|
1907
|
+
cx(a) {
|
|
1895
1908
|
return a.getDataLegendBadgeContext();
|
|
1896
1909
|
}
|
|
1897
1910
|
a9(a) {
|
|
@@ -1900,7 +1913,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1900
1913
|
}
|
|
1901
1914
|
return a.legendItemBadgeShape;
|
|
1902
1915
|
}
|
|
1903
|
-
|
|
1916
|
+
ge(a, b) {
|
|
1904
1917
|
if (b == 0) {
|
|
1905
1918
|
return;
|
|
1906
1919
|
}
|
|
@@ -1908,41 +1921,41 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1908
1921
|
a.legendItemBadgeShape = b;
|
|
1909
1922
|
}
|
|
1910
1923
|
}
|
|
1911
|
-
|
|
1912
|
-
return !isNaN_(this.
|
|
1924
|
+
bz() {
|
|
1925
|
+
return !isNaN_(this.cm) && !isNaN_(this.cn);
|
|
1913
1926
|
}
|
|
1914
|
-
|
|
1927
|
+
gi(a) {
|
|
1915
1928
|
return a.getDataLegendBadge();
|
|
1916
1929
|
}
|
|
1917
|
-
|
|
1930
|
+
d0(a) {
|
|
1918
1931
|
return a.getDataLegendSeriesTitle();
|
|
1919
1932
|
}
|
|
1920
|
-
|
|
1921
|
-
if (this.
|
|
1933
|
+
fi(a, b) {
|
|
1934
|
+
if (this.b0 == false) {
|
|
1922
1935
|
return;
|
|
1923
1936
|
}
|
|
1924
|
-
let c = this.
|
|
1937
|
+
let c = this.dx(b);
|
|
1925
1938
|
if (c == null) {
|
|
1926
|
-
c = this.
|
|
1939
|
+
c = this.cy;
|
|
1927
1940
|
}
|
|
1928
1941
|
else {
|
|
1929
|
-
this.
|
|
1942
|
+
this.cy = c;
|
|
1930
1943
|
}
|
|
1931
1944
|
if (stringIsNullOrEmpty(c)) {
|
|
1932
1945
|
return;
|
|
1933
1946
|
}
|
|
1934
1947
|
let d = new DataLegendRowInfo(this.a5, false, true, -1);
|
|
1935
1948
|
d.n = c;
|
|
1936
|
-
d.q = this.
|
|
1949
|
+
d.q = this.h1 || d.q;
|
|
1937
1950
|
d.i = this.bl || d.i;
|
|
1938
|
-
this.
|
|
1939
|
-
this.
|
|
1940
|
-
this.
|
|
1951
|
+
this.fl(d);
|
|
1952
|
+
this.f0(d);
|
|
1953
|
+
this.ga(d);
|
|
1941
1954
|
if (d.b) {
|
|
1942
1955
|
a.e(d);
|
|
1943
1956
|
}
|
|
1944
1957
|
}
|
|
1945
|
-
|
|
1958
|
+
ir(a) {
|
|
1946
1959
|
let b = new Thickness(0, 0);
|
|
1947
1960
|
if (a.top >= 0) {
|
|
1948
1961
|
b.top = a.top;
|
|
@@ -1958,38 +1971,38 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
1958
1971
|
}
|
|
1959
1972
|
return b;
|
|
1960
1973
|
}
|
|
1961
|
-
|
|
1974
|
+
f0(a) {
|
|
1962
1975
|
if (a.c) {
|
|
1963
|
-
a.x = this.
|
|
1964
|
-
a.w = this.
|
|
1976
|
+
a.x = this.ir(this.ip);
|
|
1977
|
+
a.w = this.ir(this.is);
|
|
1965
1978
|
}
|
|
1966
1979
|
else if (a.a) {
|
|
1967
|
-
a.x = this.
|
|
1968
|
-
a.w = this.
|
|
1980
|
+
a.x = this.ir(this.ik);
|
|
1981
|
+
a.w = this.ir(this.ij);
|
|
1969
1982
|
}
|
|
1970
1983
|
else {
|
|
1971
|
-
a.x = this.
|
|
1972
|
-
a.w = this.
|
|
1984
|
+
a.x = this.ir(this.io);
|
|
1985
|
+
a.w = this.ir(this.im);
|
|
1973
1986
|
}
|
|
1974
1987
|
for (let b of fromEnum(a.k)) {
|
|
1975
|
-
b.
|
|
1976
|
-
b.
|
|
1977
|
-
b.
|
|
1988
|
+
b.an = this.ir(this.it);
|
|
1989
|
+
b.am = this.ir(this.iq);
|
|
1990
|
+
b.al = this.ir(this.il);
|
|
1978
1991
|
}
|
|
1979
1992
|
if (a.c) {
|
|
1980
|
-
a.v = this.
|
|
1993
|
+
a.v = this.ir(this.ii);
|
|
1981
1994
|
a.t = new Size(1, 20, 15);
|
|
1982
1995
|
}
|
|
1983
1996
|
}
|
|
1984
|
-
|
|
1985
|
-
if (this.
|
|
1986
|
-
return this.
|
|
1997
|
+
dx(a) {
|
|
1998
|
+
if (this.di != null) {
|
|
1999
|
+
return this.di;
|
|
1987
2000
|
}
|
|
1988
2001
|
let b = true;
|
|
1989
2002
|
let c = null;
|
|
1990
2003
|
for (let d = 0; d < a.count; d++) {
|
|
1991
2004
|
let e = a._inner[d];
|
|
1992
|
-
let f = this.
|
|
2005
|
+
let f = this.dv(e);
|
|
1993
2006
|
if (f == null) {
|
|
1994
2007
|
continue;
|
|
1995
2008
|
}
|
|
@@ -2008,12 +2021,12 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
2008
2021
|
}
|
|
2009
2022
|
return null;
|
|
2010
2023
|
}
|
|
2011
|
-
|
|
2012
|
-
if (this.
|
|
2013
|
-
let b = a.getDataLegendAxisLabelFromCursorPosition(this.
|
|
2024
|
+
dv(a) {
|
|
2025
|
+
if (this.bz()) {
|
|
2026
|
+
let b = a.getDataLegendAxisLabelFromCursorPosition(this.cm, this.cn);
|
|
2014
2027
|
if (typeCast(Date_$type, b) !== null) {
|
|
2015
2028
|
let c = b;
|
|
2016
|
-
b = this.
|
|
2029
|
+
b = this.dw(c);
|
|
2017
2030
|
}
|
|
2018
2031
|
return b == null ? "" : b.toString();
|
|
2019
2032
|
}
|
|
@@ -2021,7 +2034,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
2021
2034
|
return null;
|
|
2022
2035
|
}
|
|
2023
2036
|
}
|
|
2024
|
-
|
|
2037
|
+
dw(a) {
|
|
2025
2038
|
if (this.ai != null) {
|
|
2026
2039
|
let b = this.ai.i(a);
|
|
2027
2040
|
return b;
|
|
@@ -2068,7 +2081,7 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
2068
2081
|
if (e == 5) {
|
|
2069
2082
|
c.timeStyle = null;
|
|
2070
2083
|
}
|
|
2071
|
-
c.locale = this.
|
|
2084
|
+
c.locale = this.dz(this.c9, "en-US");
|
|
2072
2085
|
if (this.aj == null) {
|
|
2073
2086
|
this.aj = new BindingFormatter();
|
|
2074
2087
|
}
|
|
@@ -2078,11 +2091,11 @@ export let XamDataLegend = /*@__PURE__*/ (() => {
|
|
|
2078
2091
|
return f;
|
|
2079
2092
|
}
|
|
2080
2093
|
}
|
|
2081
|
-
|
|
2094
|
+
fn() {
|
|
2082
2095
|
}
|
|
2083
2096
|
}
|
|
2084
2097
|
XamDataLegend.$t = /*@__PURE__*/ markType(XamDataLegend, 'XamDataLegend', Control.$, [INotifyPropertyChanged_$type, IDataLegend_$type, IOnDemandRender_$type]);
|
|
2085
|
-
XamDataLegend.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, XamDataLegend, '
|
|
2098
|
+
XamDataLegend.$$p = /*@__PURE__*/ markDep(DependencyProperty, PropertyMetadata, XamDataLegend, 'fy', ['BadgeMargin:ii:gj', [Thickness.$, /*@__PURE__*/ new Thickness(1, 0, 0, 0, 0)], 'BadgeShape:a8:gk', [LegendItemBadgeShape_$type, /*@__PURE__*/ enumGetBox(LegendItemBadgeShape_$type, 0)], 'ExcludedColumns::gl', [Array_$type, null], 'ExcludedSeries::gm', [Array_$type, null], 'HeaderFormatCulture:c9:gn', [2, /*@__PURE__*/ stringEmpty()], 'HeaderFormatDate:ap:go', [DataLegendHeaderDateMode_$type, /*@__PURE__*/ enumGetBox(DataLegendHeaderDateMode_$type, 0)], 'HeaderFormatSpecifiers:ag:gp', [Array_$type, null], 'HeaderFormatString:dd:gq', [2, null], 'HeaderFormatTime:aq:gr', [DataLegendHeaderTimeMode_$type, /*@__PURE__*/ enumGetBox(DataLegendHeaderTimeMode_$type, 0)], 'HeaderRowMargin:ij:gs', [Thickness.$, /*@__PURE__*/ new Thickness(0, 5)], 'HeaderRowVisible:b0:gt', [0, true], 'HeaderTextColor:h1:gu', [Brush.$, null], 'HeaderTextMargin:ik:gv', [Thickness.$, /*@__PURE__*/ new Thickness(1, 2, 0, 0, 0)], 'HeaderText:di:gw', [2, null], 'IncludedColumns::gx', [Array_$type, null], 'IncludedSeries::gy', [Array_$type, null], 'LabelDisplayMode:ar:gz', [DataLegendLabelMode_$type, /*@__PURE__*/ enumGetBox(DataLegendLabelMode_$type, 0)], 'LabelTextColor:h2:g0', [Brush.$, null], 'LabelTextMargin:il:g1', [Thickness.$, /*@__PURE__*/ new Thickness(1, 12, 0, 0, 0)], 'ShouldUpdateWhenSeriesDataChanges:b3:g2', [0, true], 'SummaryLabelTextColor:h4:g3', [Brush.$, null], 'SummaryLabelText:d4:g4', [2, null], 'SummaryRowMargin:im:g5', [Thickness.$, /*@__PURE__*/ new Thickness(0, 5)], 'SummaryTitleTextColor:h5:g6', [Brush.$, null], 'SummaryTitleTextMargin:io:g7', [Thickness.$, /*@__PURE__*/ new Thickness(1, 2, 0, 4, 0)], 'SummaryTitleText:d9:g8', [2, null], 'SummaryType:a1:g9', [DataLegendSummaryType_$type, /*@__PURE__*/ enumGetBox(DataLegendSummaryType_$type, 0)], 'SummaryUnitsTextColor:h6:ha', [Brush.$, null], 'SummaryUnitsText:ef:hb', [2, null], 'SummaryValueTextColor:h7:hc', [Brush.$, null], 'TargetCursorPositionX::hd', [1, NaN], 'TargetCursorPositionY::he', [1, NaN], 'Target::hf', [4, null], 'TitleTextColor:h8:hg', [Brush.$, null], 'TitleTextMargin:ip:hh', [Thickness.$, /*@__PURE__*/ new Thickness(1, 0, 0, 4, 0)], 'UnitsDisplayMode:a2:hi', [DataLegendUnitsMode_$type, /*@__PURE__*/ enumGetBox(DataLegendUnitsMode_$type, 0)], 'UnitsTextColor:h9:hj', [Brush.$, null], 'UnitsTextMargin:iq:hk', [Thickness.$, /*@__PURE__*/ new Thickness(1, 0, 0, 0, 0)], 'UnitsText:es:hl', [2, null], 'ValueFormatAbbreviation:an:hm', [DataAbbreviationMode_$type, /*@__PURE__*/ enumGetBox(DataAbbreviationMode_$type, 0)], 'ValueFormatCulture:ey:hn', [2, /*@__PURE__*/ stringEmpty()], 'ValueFormatCurrencyCode:e0:ho', [2, null], 'ValueFormatMaxFractions:cu:hp', [1, -1], 'ValueFormatMinFractions:cv:hq', [1, -1], 'ValueFormatMode:a3:hr', [DataLegendValueMode_$type, /*@__PURE__*/ enumGetBox(DataLegendValueMode_$type, 0)], 'ValueFormatSpecifiers:ah:hs', [Array_$type, null], 'ValueFormatString:e6:ht', [2, null], 'ValueFormatUseGrouping:b4:hu', [0, true], 'ValueRowMargin:is:hv', [Thickness.$, /*@__PURE__*/ new Thickness(0, 5)], 'ValueRowVisible:b5:hw', [0, true], 'ValueTextColor:ia:hx', [Brush.$, null], 'ValueTextMargin:it:hy', [Thickness.$, /*@__PURE__*/ new Thickness(1, 2, 0, 2, 0)], 'ValueTextUseSeriesColors:b6:hz', [0, false], 'ValueTextWhenMissingData:ff:h0', [2, "N/A"]]);
|
|
2086
2099
|
return XamDataLegend;
|
|
2087
2100
|
})();
|
|
2088
2101
|
/**
|
|
@@ -2169,7 +2182,7 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2169
2182
|
this.aa = new List$1(ContentControl.$, 0);
|
|
2170
2183
|
}
|
|
2171
2184
|
ar() {
|
|
2172
|
-
this.a.
|
|
2185
|
+
this.a.fp();
|
|
2173
2186
|
}
|
|
2174
2187
|
bl() {
|
|
2175
2188
|
let a = new TextBlock();
|
|
@@ -2242,23 +2255,23 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2242
2255
|
}
|
|
2243
2256
|
au() {
|
|
2244
2257
|
let a = this.a.pixelScalingRatio;
|
|
2245
|
-
let b = this.a.
|
|
2258
|
+
let b = this.a.co;
|
|
2246
2259
|
if (!isNaN_(a) && a != 0) {
|
|
2247
2260
|
return;
|
|
2248
2261
|
}
|
|
2249
2262
|
if (window.devicePixelRatio != undefined && window.devicePixelRatio != b) {
|
|
2250
|
-
this.a.
|
|
2263
|
+
this.a.co = window.devicePixelRatio;
|
|
2251
2264
|
}
|
|
2252
2265
|
}
|
|
2253
2266
|
a3() {
|
|
2254
2267
|
this.au();
|
|
2255
2268
|
let a = Math.round(this.ah.rootWrapper.width());
|
|
2256
2269
|
let b = Math.round(this.ah.rootWrapper.height());
|
|
2257
|
-
this.a.
|
|
2270
|
+
this.a.ic = new Rect(0, 0, 0, a, b);
|
|
2258
2271
|
if (this.b != null) {
|
|
2259
|
-
this.b.bl = this.a.
|
|
2272
|
+
this.b.bl = this.a.ic;
|
|
2260
2273
|
}
|
|
2261
|
-
this.a.
|
|
2274
|
+
this.a.f3();
|
|
2262
2275
|
}
|
|
2263
2276
|
al() {
|
|
2264
2277
|
if (this.b != null) {
|
|
@@ -2274,7 +2287,7 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2274
2287
|
this.al();
|
|
2275
2288
|
return;
|
|
2276
2289
|
}
|
|
2277
|
-
this.ae = (isNaN_(this.a.pixelScalingRatio) ? this.a.
|
|
2290
|
+
this.ae = (isNaN_(this.a.pixelScalingRatio) ? this.a.co : this.a.pixelScalingRatio);
|
|
2278
2291
|
let b = a;
|
|
2279
2292
|
this.ah = b;
|
|
2280
2293
|
let c = this.ae;
|
|
@@ -2292,7 +2305,7 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2292
2305
|
h.setAttribute("height", g.toString());
|
|
2293
2306
|
h.setStyleProperty("width", d.toString() + "px");
|
|
2294
2307
|
h.setStyleProperty("height", e.toString() + "px");
|
|
2295
|
-
this.a.
|
|
2308
|
+
this.a.ic = new Rect(0, 0, 0, d, e);
|
|
2296
2309
|
this.ai = h;
|
|
2297
2310
|
let i = this.ah.get2DCanvasContext(this.ai);
|
|
2298
2311
|
this.t = new RenderingContext(new CanvasViewRenderer(), i);
|
|
@@ -2309,8 +2322,8 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2309
2322
|
as(a) {
|
|
2310
2323
|
}
|
|
2311
2324
|
a6() {
|
|
2312
|
-
let a = this.a.
|
|
2313
|
-
let b = this.a.
|
|
2325
|
+
let a = this.a.ic.width;
|
|
2326
|
+
let b = this.a.ic.height;
|
|
2314
2327
|
let c = Math.round(a * this.ae);
|
|
2315
2328
|
let d = Math.round(b * this.ae);
|
|
2316
2329
|
if (this.ak != c || this.aj != d) {
|
|
@@ -2325,11 +2338,13 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2325
2338
|
}
|
|
2326
2339
|
a7(a, b) {
|
|
2327
2340
|
if (a.d && b != 1) {
|
|
2328
|
-
a.
|
|
2329
|
-
a.
|
|
2341
|
+
a.aa();
|
|
2342
|
+
a.ab(b, b);
|
|
2330
2343
|
}
|
|
2331
2344
|
if (a == this.t) {
|
|
2332
|
-
|
|
2345
|
+
if (!a.e) {
|
|
2346
|
+
a.l(this.a.ic.left, this.a.ic.top, this.a.ic.width, this.a.ic.height);
|
|
2347
|
+
}
|
|
2333
2348
|
}
|
|
2334
2349
|
let c = new DataTemplatePassInfo();
|
|
2335
2350
|
c.passID = "LegendItem";
|
|
@@ -2344,7 +2359,7 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2344
2359
|
}
|
|
2345
2360
|
let g = new DataTemplateMeasureInfo();
|
|
2346
2361
|
g.passInfo = c;
|
|
2347
|
-
g.context = this.t.
|
|
2362
|
+
g.context = this.t.h();
|
|
2348
2363
|
g.width = e.width;
|
|
2349
2364
|
g.height = e.height;
|
|
2350
2365
|
g.data = e.content;
|
|
@@ -2354,52 +2369,52 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2354
2369
|
h.availableWidth = e.width;
|
|
2355
2370
|
h.availableHeight = e.height;
|
|
2356
2371
|
h.passInfo = c;
|
|
2357
|
-
h.context = a.
|
|
2372
|
+
h.context = a.h();
|
|
2358
2373
|
h.renderContext = a;
|
|
2359
2374
|
h.data = e.content;
|
|
2360
2375
|
h.xPosition = e.n;
|
|
2361
2376
|
h.yPosition = e.o;
|
|
2362
|
-
a.
|
|
2363
|
-
a.
|
|
2377
|
+
a.aa();
|
|
2378
|
+
a.ag(e.n, e.o);
|
|
2364
2379
|
f.render(h);
|
|
2365
|
-
a.
|
|
2380
|
+
a.z();
|
|
2366
2381
|
}
|
|
2367
2382
|
for (let i = 0; i < this.ab.count; i++) {
|
|
2368
2383
|
let j = this.ab._inner[i];
|
|
2369
|
-
a.
|
|
2370
|
-
a.
|
|
2384
|
+
a.ad(j.dataContext);
|
|
2385
|
+
a.x(j);
|
|
2371
2386
|
}
|
|
2372
2387
|
for (let k = 0; k < this.z.count; k++) {
|
|
2373
2388
|
let l = this.z._inner[k];
|
|
2374
|
-
a.
|
|
2375
|
-
a.
|
|
2389
|
+
a.ad(l.dataContext);
|
|
2390
|
+
a.x(l);
|
|
2376
2391
|
}
|
|
2377
2392
|
for (let m = 0; m < this.ad.count; m++) {
|
|
2378
2393
|
let n = this.ad._inner[m];
|
|
2379
|
-
a.
|
|
2380
|
-
a.
|
|
2394
|
+
a.ad(n.dataContext);
|
|
2395
|
+
a.x(n);
|
|
2381
2396
|
}
|
|
2382
2397
|
for (let o = 0; o < this.ac.count; o++) {
|
|
2383
2398
|
let p = this.ac._inner[o];
|
|
2384
|
-
a.
|
|
2385
|
-
a.
|
|
2399
|
+
a.ad(p.dataContext);
|
|
2400
|
+
a.x(p);
|
|
2386
2401
|
}
|
|
2387
2402
|
if (a.d && b != 1) {
|
|
2388
|
-
a.
|
|
2403
|
+
a.z();
|
|
2389
2404
|
}
|
|
2390
2405
|
}
|
|
2391
2406
|
w() {
|
|
2392
2407
|
if (this.ah != null) {
|
|
2393
|
-
this.ah.setTimeout(runOn(this.a, this.a.
|
|
2408
|
+
this.ah.setTimeout(runOn(this.a, this.a.fp), 0);
|
|
2394
2409
|
return true;
|
|
2395
2410
|
}
|
|
2396
2411
|
return false;
|
|
2397
2412
|
}
|
|
2398
2413
|
bu(a, b) {
|
|
2399
|
-
this.t.
|
|
2414
|
+
this.t.ad(b);
|
|
2400
2415
|
let c = new TextBlock();
|
|
2401
2416
|
c.al = a;
|
|
2402
|
-
let d = this.t.
|
|
2417
|
+
let d = this.t.ah(c, this.ag(b), true);
|
|
2403
2418
|
return new Size(1, d.c, d.b);
|
|
2404
2419
|
}
|
|
2405
2420
|
ag(a) {
|
|
@@ -2561,7 +2576,7 @@ export let DataLegendView = /*@__PURE__*/ (() => {
|
|
|
2561
2576
|
}
|
|
2562
2577
|
ap(a, b) {
|
|
2563
2578
|
a.ag = true;
|
|
2564
|
-
let c = this.t.
|
|
2579
|
+
let c = this.t.ah(a, this.ag(b), true);
|
|
2565
2580
|
}
|
|
2566
2581
|
a9() {
|
|
2567
2582
|
this.y.clear();
|