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
|
@@ -129,43 +129,44 @@ var DataLegendRowCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
129
129
|
_this.s = 0;
|
|
130
130
|
_this.f = 0;
|
|
131
131
|
_this.r = 0;
|
|
132
|
+
_this.w = null;
|
|
132
133
|
_this.v = null;
|
|
133
134
|
_this.t = null;
|
|
134
|
-
_this.
|
|
135
|
+
_this.x = null;
|
|
135
136
|
_this.u = null;
|
|
136
|
-
_this.y = null;
|
|
137
137
|
_this.z = null;
|
|
138
138
|
_this.aa = null;
|
|
139
|
+
_this.ab = null;
|
|
139
140
|
_this.g = null;
|
|
140
141
|
_this.i = null;
|
|
141
142
|
_this.h = null;
|
|
142
|
-
_this.ak = null;
|
|
143
|
-
_this.am = null;
|
|
144
143
|
_this.al = null;
|
|
145
|
-
_this.
|
|
146
|
-
_this.
|
|
147
|
-
_this.
|
|
144
|
+
_this.an = null;
|
|
145
|
+
_this.am = null;
|
|
146
|
+
_this.ag = new Size();
|
|
147
|
+
_this.ak = new Size();
|
|
148
|
+
_this.ai = new Size();
|
|
148
149
|
_this.m = false;
|
|
149
150
|
_this.j = false;
|
|
150
|
-
_this.ab = null;
|
|
151
|
-
_this.ad = null;
|
|
152
151
|
_this.ac = null;
|
|
153
|
-
_this.ae =
|
|
154
|
-
_this.
|
|
155
|
-
_this.
|
|
152
|
+
_this.ae = null;
|
|
153
|
+
_this.ad = null;
|
|
154
|
+
_this.af = new Size();
|
|
155
|
+
_this.aj = new Size();
|
|
156
|
+
_this.ah = new Size();
|
|
156
157
|
_this.r = NaN;
|
|
157
|
-
_this.ak = new Thickness(0, 0);
|
|
158
|
-
_this.am = new Thickness(0, 0);
|
|
159
158
|
_this.al = new Thickness(0, 0);
|
|
160
|
-
_this.
|
|
161
|
-
_this.
|
|
162
|
-
_this.
|
|
159
|
+
_this.an = new Thickness(0, 0);
|
|
160
|
+
_this.am = new Thickness(0, 0);
|
|
161
|
+
_this.ag = new Size(1, 0, 0);
|
|
162
|
+
_this.ak = new Size(1, 0, 0);
|
|
163
|
+
_this.ai = new Size(1, 0, 0);
|
|
163
164
|
_this.m = true;
|
|
164
165
|
_this.j = true;
|
|
165
166
|
if (_this.c) {
|
|
166
|
-
_this.
|
|
167
|
-
_this.
|
|
168
|
-
_this.
|
|
167
|
+
_this.z = a.br();
|
|
168
|
+
_this.ab = a.bt();
|
|
169
|
+
_this.aa = a.bs();
|
|
169
170
|
_this.g = a.j();
|
|
170
171
|
_this.i = a.n();
|
|
171
172
|
_this.h = a.m();
|
|
@@ -173,9 +174,9 @@ var DataLegendRowCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
173
174
|
else if (_this.d) {
|
|
174
175
|
var e = a.bq();
|
|
175
176
|
var f = a.k();
|
|
176
|
-
_this.y = e;
|
|
177
|
-
_this.aa = e;
|
|
178
177
|
_this.z = e;
|
|
178
|
+
_this.ab = e;
|
|
179
|
+
_this.aa = e;
|
|
179
180
|
_this.g = f;
|
|
180
181
|
_this.i = f;
|
|
181
182
|
_this.h = f;
|
|
@@ -183,26 +184,26 @@ var DataLegendRowCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
183
184
|
else {
|
|
184
185
|
var g = a.bo();
|
|
185
186
|
var h = a.i();
|
|
186
|
-
_this.y = g;
|
|
187
|
-
_this.aa = g;
|
|
188
187
|
_this.z = g;
|
|
188
|
+
_this.ab = g;
|
|
189
|
+
_this.aa = g;
|
|
189
190
|
_this.g = h;
|
|
190
191
|
_this.i = h;
|
|
191
192
|
_this.h = h;
|
|
192
193
|
}
|
|
193
|
-
_this.ab = Rect.empty;
|
|
194
|
-
_this.ad = Rect.empty;
|
|
195
194
|
_this.ac = Rect.empty;
|
|
195
|
+
_this.ae = Rect.empty;
|
|
196
|
+
_this.ad = Rect.empty;
|
|
196
197
|
return _this;
|
|
197
198
|
}
|
|
198
199
|
DataLegendRowCell.prototype.k = function () {
|
|
199
|
-
return this.
|
|
200
|
+
return this.ag.width > 0 && this.ag.height > 0;
|
|
200
201
|
};
|
|
201
202
|
DataLegendRowCell.prototype.n = function () {
|
|
202
|
-
return this.
|
|
203
|
+
return this.ai.width > 0 && this.ai.height > 0;
|
|
203
204
|
};
|
|
204
205
|
DataLegendRowCell.prototype.p = function () {
|
|
205
|
-
return this.
|
|
206
|
+
return this.ak.width > 0 && this.ak.height > 0;
|
|
206
207
|
};
|
|
207
208
|
DataLegendRowCell.prototype.l = function () {
|
|
208
209
|
return this.t != null;
|
|
@@ -211,12 +212,12 @@ var DataLegendRowCell = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
211
212
|
return this.u != null;
|
|
212
213
|
};
|
|
213
214
|
DataLegendRowCell.prototype.q = function () {
|
|
214
|
-
return !stringIsNullOrEmpty(this.
|
|
215
|
+
return !stringIsNullOrEmpty(this.x) && this.ak.width > 0 && this.ak.height > 0;
|
|
215
216
|
};
|
|
216
|
-
DataLegendRowCell.prototype.
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
217
|
+
DataLegendRowCell.prototype.y = function () {
|
|
218
|
+
this.af = new Size(1, 0, 0);
|
|
219
|
+
this.aj = new Size(1, 0, 0);
|
|
220
|
+
this.ah = new Size(1, 0, 0);
|
|
220
221
|
};
|
|
221
222
|
DataLegendRowCell.$t = markType(DataLegendRowCell, 'DataLegendRowCell', DataLegendRowBase.$);
|
|
222
223
|
return DataLegendRowCell;
|
|
@@ -296,9 +297,9 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
296
297
|
function XamDataLegend() {
|
|
297
298
|
var _this = _super.call(this) || this;
|
|
298
299
|
_this.bw = false;
|
|
299
|
-
_this.ch = NaN;
|
|
300
300
|
_this.ci = NaN;
|
|
301
|
-
_this.cj =
|
|
301
|
+
_this.cj = NaN;
|
|
302
|
+
_this.ck = 1;
|
|
302
303
|
_this.bx = false;
|
|
303
304
|
_this.bj = null;
|
|
304
305
|
_this.bb = null;
|
|
@@ -310,7 +311,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
310
311
|
_this.bi = null;
|
|
311
312
|
_this.bh = null;
|
|
312
313
|
_this.bc = null;
|
|
313
|
-
_this.
|
|
314
|
+
_this.cl = NaN;
|
|
314
315
|
_this.calculateColumnSummary = null;
|
|
315
316
|
_this.styleHeaderRow = null;
|
|
316
317
|
_this.styleSeriesRow = null;
|
|
@@ -318,45 +319,31 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
318
319
|
_this.styleSeriesColumn = null;
|
|
319
320
|
_this.styleSummaryColumn = null;
|
|
320
321
|
_this.propertyChanged = null;
|
|
322
|
+
_this.b9 = null;
|
|
321
323
|
_this.b8 = null;
|
|
322
|
-
_this.
|
|
324
|
+
_this.cb = null;
|
|
323
325
|
_this.ca = null;
|
|
324
|
-
_this.b9 = null;
|
|
325
326
|
_this.a5 = null;
|
|
326
|
-
_this.
|
|
327
|
+
_this.ic = null;
|
|
327
328
|
_this._externalObject = null;
|
|
328
329
|
_this.bu = false;
|
|
329
330
|
_this.bv = false;
|
|
330
331
|
_this.ao = new DataLegendContent();
|
|
331
|
-
_this.
|
|
332
|
-
_this.
|
|
333
|
-
_this.
|
|
334
|
-
_this.
|
|
332
|
+
_this.cd = null;
|
|
333
|
+
_this.ce = new List$1(DataLegendSeriesContext.$, 0);
|
|
334
|
+
_this.b7 = new Dictionary$2(Number_$type, DataLegendColumn.$, 0);
|
|
335
|
+
_this.cs = 0;
|
|
335
336
|
_this.ak = null;
|
|
336
337
|
_this.al = null;
|
|
337
|
-
_this.
|
|
338
|
+
_this.cy = "";
|
|
338
339
|
_this.ai = null;
|
|
339
340
|
_this.aj = null;
|
|
340
|
-
_this.
|
|
341
|
+
_this.ic = Rect.empty;
|
|
341
342
|
_this.bx = true;
|
|
342
343
|
_this.ab = XamDataLegend.$;
|
|
343
344
|
_this.a5 = _this.a4();
|
|
344
345
|
return _this;
|
|
345
346
|
}
|
|
346
|
-
Object.defineProperty(XamDataLegend.prototype, "cl", {
|
|
347
|
-
get: function () {
|
|
348
|
-
return this.ch;
|
|
349
|
-
},
|
|
350
|
-
set: function (a) {
|
|
351
|
-
var b = this.ch;
|
|
352
|
-
this.ch = a;
|
|
353
|
-
if (b != this.ch) {
|
|
354
|
-
this.fx("ActualCursorPositionX", b, this.ch);
|
|
355
|
-
}
|
|
356
|
-
},
|
|
357
|
-
enumerable: true,
|
|
358
|
-
configurable: true
|
|
359
|
-
});
|
|
360
347
|
Object.defineProperty(XamDataLegend.prototype, "cm", {
|
|
361
348
|
get: function () {
|
|
362
349
|
return this.ci;
|
|
@@ -365,7 +352,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
365
352
|
var b = this.ci;
|
|
366
353
|
this.ci = a;
|
|
367
354
|
if (b != this.ci) {
|
|
368
|
-
this.
|
|
355
|
+
this.fy("ActualCursorPositionX", b, this.ci);
|
|
369
356
|
}
|
|
370
357
|
},
|
|
371
358
|
enumerable: true,
|
|
@@ -378,7 +365,21 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
378
365
|
set: function (a) {
|
|
379
366
|
var b = this.cj;
|
|
380
367
|
this.cj = a;
|
|
381
|
-
|
|
368
|
+
if (b != this.cj) {
|
|
369
|
+
this.fy("ActualCursorPositionY", b, this.cj);
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
enumerable: true,
|
|
373
|
+
configurable: true
|
|
374
|
+
});
|
|
375
|
+
Object.defineProperty(XamDataLegend.prototype, "co", {
|
|
376
|
+
get: function () {
|
|
377
|
+
return this.ck;
|
|
378
|
+
},
|
|
379
|
+
set: function (a) {
|
|
380
|
+
var b = this.ck;
|
|
381
|
+
this.ck = a;
|
|
382
|
+
this.fy("ActualPixelScalingRatio", b, this.ck);
|
|
382
383
|
},
|
|
383
384
|
enumerable: true,
|
|
384
385
|
configurable: true
|
|
@@ -394,7 +395,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
394
395
|
}
|
|
395
396
|
this.bj = a;
|
|
396
397
|
if (b != this.bj) {
|
|
397
|
-
this.
|
|
398
|
+
this.fy("ValueTextStyle", b, this.bj);
|
|
398
399
|
}
|
|
399
400
|
},
|
|
400
401
|
enumerable: true,
|
|
@@ -411,7 +412,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
411
412
|
}
|
|
412
413
|
this.bb = a;
|
|
413
414
|
if (b != this.bb) {
|
|
414
|
-
this.
|
|
415
|
+
this.fy("HeaderTextStyle", b, this.bb);
|
|
415
416
|
}
|
|
416
417
|
},
|
|
417
418
|
enumerable: true,
|
|
@@ -428,7 +429,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
428
429
|
}
|
|
429
430
|
this.be = a;
|
|
430
431
|
if (b != this.be) {
|
|
431
|
-
this.
|
|
432
|
+
this.fy("SummaryTitleTextStyle", b, this.be);
|
|
432
433
|
}
|
|
433
434
|
},
|
|
434
435
|
enumerable: true,
|
|
@@ -445,7 +446,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
445
446
|
}
|
|
446
447
|
this.bg = a;
|
|
447
448
|
if (b != this.bg) {
|
|
448
|
-
this.
|
|
449
|
+
this.fy("SummaryValueTextStyle", b, this.bg);
|
|
449
450
|
}
|
|
450
451
|
},
|
|
451
452
|
enumerable: true,
|
|
@@ -462,7 +463,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
462
463
|
}
|
|
463
464
|
this.bd = a;
|
|
464
465
|
if (b != this.bd) {
|
|
465
|
-
this.
|
|
466
|
+
this.fy("SummaryLabelTextStyle", b, this.bd);
|
|
466
467
|
}
|
|
467
468
|
},
|
|
468
469
|
enumerable: true,
|
|
@@ -479,7 +480,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
479
480
|
}
|
|
480
481
|
this.bf = a;
|
|
481
482
|
if (b != this.bf) {
|
|
482
|
-
this.
|
|
483
|
+
this.fy("SummaryUnitsTextStyle", b, this.bf);
|
|
483
484
|
}
|
|
484
485
|
},
|
|
485
486
|
enumerable: true,
|
|
@@ -496,7 +497,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
496
497
|
}
|
|
497
498
|
this.bi = a;
|
|
498
499
|
if (b != this.bi) {
|
|
499
|
-
this.
|
|
500
|
+
this.fy("UnitsTextStyle", b, this.bi);
|
|
500
501
|
}
|
|
501
502
|
},
|
|
502
503
|
enumerable: true,
|
|
@@ -513,7 +514,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
513
514
|
}
|
|
514
515
|
this.bh = a;
|
|
515
516
|
if (b != this.bh) {
|
|
516
|
-
this.
|
|
517
|
+
this.fy("TitleTextStyle", b, this.bh);
|
|
517
518
|
}
|
|
518
519
|
},
|
|
519
520
|
enumerable: true,
|
|
@@ -530,7 +531,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
530
531
|
}
|
|
531
532
|
this.bc = a;
|
|
532
533
|
if (b != this.bc) {
|
|
533
|
-
this.
|
|
534
|
+
this.fy("LabelTextStyle", b, this.bc);
|
|
534
535
|
}
|
|
535
536
|
},
|
|
536
537
|
enumerable: true,
|
|
@@ -538,12 +539,12 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
538
539
|
});
|
|
539
540
|
Object.defineProperty(XamDataLegend.prototype, "pixelScalingRatio", {
|
|
540
541
|
get: function () {
|
|
541
|
-
return this.
|
|
542
|
+
return this.cl;
|
|
542
543
|
},
|
|
543
544
|
set: function (a) {
|
|
544
|
-
var b = this.
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
545
|
+
var b = this.cl;
|
|
546
|
+
this.cl = a;
|
|
547
|
+
this.fy("PixelScalingRatio", b, this.cl);
|
|
547
548
|
},
|
|
548
549
|
enumerable: true,
|
|
549
550
|
configurable: true
|
|
@@ -552,16 +553,16 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
552
553
|
var a = this.exportVisualData();
|
|
553
554
|
return a.serialize();
|
|
554
555
|
};
|
|
555
|
-
XamDataLegend.prototype.
|
|
556
|
+
XamDataLegend.prototype.cq = function (a, b) {
|
|
556
557
|
var c = Math.max(b.left, a);
|
|
557
558
|
var d = Math.max(b.right, a);
|
|
558
559
|
var e = Math.max(b.right, a);
|
|
559
560
|
return Math.min(b.top, a);
|
|
560
561
|
};
|
|
561
|
-
XamDataLegend.prototype.
|
|
562
|
+
XamDataLegend.prototype.cp = function (a, b) {
|
|
562
563
|
return Math.min(b.left, a);
|
|
563
564
|
};
|
|
564
|
-
XamDataLegend.prototype.
|
|
565
|
+
XamDataLegend.prototype.ib = function (a, b) {
|
|
565
566
|
var c = Rect.l_op_Equality(a, null) || a.isEmpty || !Extensions.b(a);
|
|
566
567
|
var d = Rect.l_op_Equality(b, null) || b.isEmpty || !Extensions.b(b);
|
|
567
568
|
if (c) {
|
|
@@ -598,11 +599,11 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
598
599
|
if (f.count < this.ao.b.count) {
|
|
599
600
|
return a;
|
|
600
601
|
}
|
|
601
|
-
if (Rect.l_op_Equality(this.
|
|
602
|
+
if (Rect.l_op_Equality(this.ic, null) || this.ic.isEmpty) {
|
|
602
603
|
a.viewport = null;
|
|
603
604
|
}
|
|
604
605
|
else {
|
|
605
|
-
a.viewport = new RectData(0, 0, this.
|
|
606
|
+
a.viewport = new RectData(0, 0, this.ic.width, this.ic.height);
|
|
606
607
|
}
|
|
607
608
|
for (var j = 0; j < this.ao.b.count; j++) {
|
|
608
609
|
var k = this.ao.b._inner[j];
|
|
@@ -626,60 +627,60 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
626
627
|
p.marginLeft = k.x.left;
|
|
627
628
|
p.marginRight = k.x.right;
|
|
628
629
|
p.marginBottom = k.x.bottom;
|
|
629
|
-
this.
|
|
630
|
+
this.f8(p, o);
|
|
630
631
|
l.columns.add(p);
|
|
631
|
-
m = this.
|
|
632
|
+
m = this.ib(m, k.s);
|
|
632
633
|
}
|
|
633
634
|
try {
|
|
634
635
|
for (var _b = (e_1 = void 0, tslib_1.__values(fromEnum(k.k))), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
635
636
|
var q = _c.value;
|
|
636
|
-
if (Extensions.b(q.
|
|
637
|
+
if (Extensions.b(q.ac) && g.count > (c + 1)) {
|
|
637
638
|
c++;
|
|
638
639
|
var r = g._inner[c];
|
|
639
640
|
var s = this.bk(r, q.g);
|
|
640
641
|
var t = new DataLegendVisualDataColumn();
|
|
641
|
-
t.bounds = RectData.b(q.
|
|
642
|
+
t.bounds = RectData.b(q.ac);
|
|
642
643
|
t.text = r.al;
|
|
643
|
-
t.textColor = AppearanceHelper.b(q.
|
|
644
|
-
t.marginTop = q.
|
|
645
|
-
t.marginLeft = q.
|
|
646
|
-
t.marginRight = q.
|
|
647
|
-
t.marginBottom = q.
|
|
648
|
-
this.
|
|
644
|
+
t.textColor = AppearanceHelper.b(q.z);
|
|
645
|
+
t.marginTop = q.al.top;
|
|
646
|
+
t.marginLeft = q.al.left;
|
|
647
|
+
t.marginRight = q.al.right;
|
|
648
|
+
t.marginBottom = q.al.bottom;
|
|
649
|
+
this.f8(t, s);
|
|
649
650
|
l.columns.add(t);
|
|
650
|
-
m = this.
|
|
651
|
+
m = this.ib(m, q.ac);
|
|
651
652
|
}
|
|
652
|
-
if (Extensions.b(q.
|
|
653
|
+
if (Extensions.b(q.ae) && h.count > (d + 1)) {
|
|
653
654
|
d++;
|
|
654
655
|
var u = h._inner[d];
|
|
655
656
|
var v = this.bk(u, q.i);
|
|
656
657
|
var w = new DataLegendVisualDataColumn();
|
|
657
|
-
w.bounds = RectData.b(q.
|
|
658
|
+
w.bounds = RectData.b(q.ae);
|
|
658
659
|
w.text = u.al;
|
|
659
|
-
w.textColor = AppearanceHelper.b(q.
|
|
660
|
-
w.marginTop = q.
|
|
661
|
-
w.marginLeft = q.
|
|
662
|
-
w.marginRight = q.
|
|
663
|
-
w.marginBottom = q.
|
|
664
|
-
this.
|
|
660
|
+
w.textColor = AppearanceHelper.b(q.ab);
|
|
661
|
+
w.marginTop = q.an.top;
|
|
662
|
+
w.marginLeft = q.an.left;
|
|
663
|
+
w.marginRight = q.an.right;
|
|
664
|
+
w.marginBottom = q.an.bottom;
|
|
665
|
+
this.f8(w, v);
|
|
665
666
|
l.columns.add(w);
|
|
666
|
-
m = this.
|
|
667
|
+
m = this.ib(m, q.ae);
|
|
667
668
|
}
|
|
668
|
-
if (Extensions.b(q.
|
|
669
|
+
if (Extensions.b(q.ad) && i.count > (e + 1)) {
|
|
669
670
|
e++;
|
|
670
671
|
var x = i._inner[e];
|
|
671
672
|
var y = this.bk(x, q.h);
|
|
672
673
|
var z = new DataLegendVisualDataColumn();
|
|
673
|
-
z.bounds = RectData.b(q.
|
|
674
|
+
z.bounds = RectData.b(q.ad);
|
|
674
675
|
z.text = q.m ? q.u : null;
|
|
675
|
-
z.textColor = AppearanceHelper.b(q.
|
|
676
|
-
z.marginTop = q.
|
|
677
|
-
z.marginLeft = q.
|
|
678
|
-
z.marginRight = q.
|
|
679
|
-
z.marginBottom = q.
|
|
680
|
-
this.
|
|
676
|
+
z.textColor = AppearanceHelper.b(q.aa);
|
|
677
|
+
z.marginTop = q.am.top;
|
|
678
|
+
z.marginLeft = q.am.left;
|
|
679
|
+
z.marginRight = q.am.right;
|
|
680
|
+
z.marginBottom = q.am.bottom;
|
|
681
|
+
this.f8(z, y);
|
|
681
682
|
l.columns.add(z);
|
|
682
|
-
m = this.
|
|
683
|
+
m = this.ib(m, q.ad);
|
|
683
684
|
}
|
|
684
685
|
}
|
|
685
686
|
}
|
|
@@ -697,14 +698,14 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
697
698
|
}
|
|
698
699
|
}
|
|
699
700
|
if (k.j) {
|
|
700
|
-
m = this.
|
|
701
|
+
m = this.ib(m, k.r);
|
|
701
702
|
l.badgeBounds = RectData.b(k.r);
|
|
702
703
|
l.badgeMarginTop = k.v.top;
|
|
703
704
|
l.badgeMarginBottom = k.v.bottom;
|
|
704
705
|
l.badgeMarginRight = k.v.right;
|
|
705
706
|
l.badgeMarginLeft = k.v.left;
|
|
706
|
-
if (k.e >= 0 && k.e < this.
|
|
707
|
-
var aa = this.
|
|
707
|
+
if (k.e >= 0 && k.e < this.cd.count) {
|
|
708
|
+
var aa = this.cd._inner[k.e];
|
|
708
709
|
l.badgeShape = aa.getDataLegendBadgeShapeAndMarker();
|
|
709
710
|
}
|
|
710
711
|
else {
|
|
@@ -717,7 +718,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
717
718
|
}
|
|
718
719
|
return a;
|
|
719
720
|
};
|
|
720
|
-
XamDataLegend.prototype.
|
|
721
|
+
XamDataLegend.prototype.f8 = function (a, b) {
|
|
721
722
|
if (b != null) {
|
|
722
723
|
if (b.n != null) {
|
|
723
724
|
a.fontFamily = b.n;
|
|
@@ -766,11 +767,11 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
766
767
|
default: return new DataLegendSummaryCalculationEmpty();
|
|
767
768
|
}
|
|
768
769
|
};
|
|
769
|
-
XamDataLegend.prototype.
|
|
770
|
+
XamDataLegend.prototype.gc = function (a) {
|
|
770
771
|
if (this.styleSummaryRow != null) {
|
|
771
772
|
var b = this.ay(a);
|
|
772
773
|
this.styleSummaryRow(this, b);
|
|
773
|
-
this.
|
|
774
|
+
this.f9(a, b);
|
|
774
775
|
}
|
|
775
776
|
if (a.b && a.k != null && this.styleSummaryColumn != null) {
|
|
776
777
|
for (var c = 0; c < a.k.count; c++) {
|
|
@@ -779,15 +780,15 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
779
780
|
d.f = a.m;
|
|
780
781
|
d.c = c;
|
|
781
782
|
this.styleSummaryColumn(this, d);
|
|
782
|
-
this.
|
|
783
|
+
this.gd(a.k._inner[c], d);
|
|
783
784
|
}
|
|
784
785
|
}
|
|
785
786
|
};
|
|
786
|
-
XamDataLegend.prototype.
|
|
787
|
+
XamDataLegend.prototype.gb = function (a) {
|
|
787
788
|
if (this.styleSeriesRow != null) {
|
|
788
789
|
var b = this.ay(a);
|
|
789
790
|
this.styleSeriesRow(this, b);
|
|
790
|
-
this.
|
|
791
|
+
this.f9(a, b);
|
|
791
792
|
}
|
|
792
793
|
if (a.b && a.k != null && this.styleSeriesColumn != null) {
|
|
793
794
|
for (var c = 0; c < a.k.count; c++) {
|
|
@@ -796,15 +797,15 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
796
797
|
d.f = a.m;
|
|
797
798
|
d.c = c;
|
|
798
799
|
this.styleSeriesColumn(this, d);
|
|
799
|
-
this.
|
|
800
|
+
this.gd(a.k._inner[c], d);
|
|
800
801
|
}
|
|
801
802
|
}
|
|
802
803
|
};
|
|
803
|
-
XamDataLegend.prototype.
|
|
804
|
+
XamDataLegend.prototype.ga = function (a) {
|
|
804
805
|
if (this.styleHeaderRow != null) {
|
|
805
806
|
var b = this.ay(a);
|
|
806
807
|
this.styleHeaderRow(this, b);
|
|
807
|
-
this.
|
|
808
|
+
this.f9(a, b);
|
|
808
809
|
}
|
|
809
810
|
};
|
|
810
811
|
XamDataLegend.prototype.ay = function (a) {
|
|
@@ -818,7 +819,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
818
819
|
b.e = a.m;
|
|
819
820
|
return b;
|
|
820
821
|
};
|
|
821
|
-
XamDataLegend.prototype.
|
|
822
|
+
XamDataLegend.prototype.f9 = function (a, b) {
|
|
822
823
|
a.n = b.f;
|
|
823
824
|
a.q = b.g;
|
|
824
825
|
a.h = b.a;
|
|
@@ -828,27 +829,28 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
828
829
|
XamDataLegend.prototype.ax = function (a) {
|
|
829
830
|
var b = new DataLegendStylingColumnEventArgs();
|
|
830
831
|
b.e = a.t;
|
|
831
|
-
b.j = a.y;
|
|
832
|
-
b.g = a.u;
|
|
833
832
|
b.k = a.z;
|
|
834
|
-
b.
|
|
833
|
+
b.g = a.u;
|
|
835
834
|
b.l = a.aa;
|
|
835
|
+
b.j = a.x;
|
|
836
|
+
b.m = a.ab;
|
|
836
837
|
b.b = a.r;
|
|
838
|
+
b.i = a.w;
|
|
837
839
|
b.h = a.v;
|
|
838
840
|
b.a = a.f;
|
|
839
841
|
return b;
|
|
840
842
|
};
|
|
841
|
-
XamDataLegend.prototype.
|
|
842
|
-
a.
|
|
843
|
+
XamDataLegend.prototype.gd = function (a, b) {
|
|
844
|
+
a.z = b.k;
|
|
843
845
|
a.t = b.e;
|
|
844
846
|
a.j = !stringIsNullOrEmpty(a.t);
|
|
845
847
|
a.u = b.g;
|
|
846
|
-
a.z = b.k;
|
|
847
|
-
a.m = !stringIsNullOrEmpty(a.u);
|
|
848
|
-
a.w = b.i;
|
|
849
848
|
a.aa = b.l;
|
|
849
|
+
a.m = !stringIsNullOrEmpty(a.u);
|
|
850
|
+
a.x = b.j;
|
|
851
|
+
a.ab = b.m;
|
|
850
852
|
};
|
|
851
|
-
XamDataLegend.prototype.
|
|
853
|
+
XamDataLegend.prototype.f1 = function (a, b, c) {
|
|
852
854
|
var _this = this;
|
|
853
855
|
switch (a) {
|
|
854
856
|
case XamDataLegend.$$p[19]:
|
|
@@ -856,33 +858,33 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
856
858
|
break;
|
|
857
859
|
case XamDataLegend.$$p[15]:
|
|
858
860
|
case XamDataLegend.$$p[3]:
|
|
859
|
-
this.
|
|
861
|
+
this.gh();
|
|
860
862
|
break;
|
|
861
863
|
case XamDataLegend.$$p[14]:
|
|
862
864
|
case XamDataLegend.$$p[2]:
|
|
863
|
-
this.
|
|
865
|
+
this.gg();
|
|
864
866
|
break;
|
|
865
867
|
case XamDataLegend.$$p[32]:
|
|
866
868
|
var d = c;
|
|
867
869
|
var e = b;
|
|
868
|
-
this.
|
|
870
|
+
this.fz(e, d);
|
|
869
871
|
break;
|
|
870
872
|
case XamDataLegend.$$p[30]:
|
|
871
|
-
if (this.
|
|
872
|
-
this.
|
|
873
|
+
if (this.b1(this.targetCursorPositionX)) {
|
|
874
|
+
this.cm = this.targetCursorPositionX;
|
|
873
875
|
}
|
|
874
876
|
break;
|
|
875
877
|
case XamDataLegend.$$p[31]:
|
|
876
|
-
if (this.
|
|
877
|
-
this.
|
|
878
|
+
if (this.b1(this.targetCursorPositionY)) {
|
|
879
|
+
this.cn = this.targetCursorPositionY;
|
|
878
880
|
}
|
|
879
881
|
break;
|
|
880
882
|
case XamDataLegend.$$p[46]:
|
|
881
883
|
case XamDataLegend.$$p[45]:
|
|
882
|
-
if (!stringIsNullOrEmpty(this.
|
|
884
|
+
if (!stringIsNullOrEmpty(this.e6)) {
|
|
883
885
|
this.ak = ((function () {
|
|
884
886
|
var $ret = new BindingFormatter();
|
|
885
|
-
$ret.j = _this.
|
|
887
|
+
$ret.j = _this.e6;
|
|
886
888
|
$ret.d = _this.ah;
|
|
887
889
|
return $ret;
|
|
888
890
|
})());
|
|
@@ -893,10 +895,10 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
893
895
|
break;
|
|
894
896
|
case XamDataLegend.$$p[7]:
|
|
895
897
|
case XamDataLegend.$$p[6]:
|
|
896
|
-
if (!stringIsNullOrEmpty(this.
|
|
898
|
+
if (!stringIsNullOrEmpty(this.dd)) {
|
|
897
899
|
this.ai = ((function () {
|
|
898
900
|
var $ret = new BindingFormatter();
|
|
899
|
-
$ret.j = _this.
|
|
901
|
+
$ret.j = _this.dd;
|
|
900
902
|
$ret.d = _this.ag;
|
|
901
903
|
return $ret;
|
|
902
904
|
})());
|
|
@@ -906,26 +908,26 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
906
908
|
}
|
|
907
909
|
break;
|
|
908
910
|
case "PixelScalingRatio":
|
|
909
|
-
if (isNaN_(this.
|
|
911
|
+
if (isNaN_(this.co)) {
|
|
910
912
|
this.a5.au();
|
|
911
913
|
}
|
|
912
914
|
else {
|
|
913
|
-
this.
|
|
915
|
+
this.co = this.pixelScalingRatio;
|
|
914
916
|
}
|
|
915
917
|
break;
|
|
916
918
|
case "ActualPixelScalingRatio":
|
|
917
919
|
this.a5.a5(c);
|
|
918
920
|
break;
|
|
919
921
|
}
|
|
920
|
-
this.
|
|
922
|
+
this.f3();
|
|
921
923
|
};
|
|
922
|
-
XamDataLegend.prototype.
|
|
923
|
-
this.
|
|
924
|
+
XamDataLegend.prototype.fy = function (a, b, c) {
|
|
925
|
+
this.f1(a, b, c);
|
|
924
926
|
if (this.propertyChanged != null) {
|
|
925
927
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
926
928
|
}
|
|
927
929
|
};
|
|
928
|
-
XamDataLegend.prototype.
|
|
930
|
+
XamDataLegend.prototype.fz = function (a, b) {
|
|
929
931
|
this.a7 = b;
|
|
930
932
|
if (a != null) {
|
|
931
933
|
a.detachDataLegend(this);
|
|
@@ -933,30 +935,30 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
933
935
|
if (b != null) {
|
|
934
936
|
b.attachDataLegend(this);
|
|
935
937
|
if (isNaN_(this.targetCursorPositionX)) {
|
|
936
|
-
this.
|
|
938
|
+
this.cm = 1;
|
|
937
939
|
}
|
|
938
940
|
if (isNaN_(this.targetCursorPositionY)) {
|
|
939
|
-
this.
|
|
941
|
+
this.cn = 0.5;
|
|
940
942
|
}
|
|
941
943
|
}
|
|
942
944
|
};
|
|
943
|
-
XamDataLegend.prototype.
|
|
944
|
-
this.
|
|
945
|
-
this.
|
|
945
|
+
XamDataLegend.prototype.gh = function () {
|
|
946
|
+
this.cb = this.cc(this.includedSeries);
|
|
947
|
+
this.ca = this.cc(this.excludedSeries);
|
|
946
948
|
};
|
|
947
|
-
XamDataLegend.prototype.
|
|
949
|
+
XamDataLegend.prototype.gg = function () {
|
|
948
950
|
var e_2, _a, e_3, _b;
|
|
949
|
-
this.
|
|
950
|
-
this.
|
|
951
|
-
if (this.
|
|
952
|
-
var a = new List$1(String_$type, 1, this.
|
|
951
|
+
this.b9 = this.cc(this.includedColumns);
|
|
952
|
+
this.b8 = this.cc(this.excludedColumns);
|
|
953
|
+
if (this.b9 != null) {
|
|
954
|
+
var a = new List$1(String_$type, 1, this.b9.keys);
|
|
953
955
|
try {
|
|
954
956
|
for (var _c = tslib_1.__values(fromEnum(a)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
955
957
|
var b = _d.value;
|
|
956
958
|
var c = b + ":";
|
|
957
|
-
var d = this.
|
|
958
|
-
if (!this.
|
|
959
|
-
this.
|
|
959
|
+
var d = this.b9.item(b);
|
|
960
|
+
if (!this.b9.containsKey(c)) {
|
|
961
|
+
this.b9.addItem(c, d);
|
|
960
962
|
}
|
|
961
963
|
}
|
|
962
964
|
}
|
|
@@ -973,17 +975,17 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
973
975
|
throw e_2.error;
|
|
974
976
|
}
|
|
975
977
|
}
|
|
976
|
-
this.
|
|
978
|
+
this.fh(this.b9);
|
|
977
979
|
}
|
|
978
|
-
if (this.
|
|
979
|
-
var e = new List$1(String_$type, 1, this.
|
|
980
|
+
if (this.b8 != null) {
|
|
981
|
+
var e = new List$1(String_$type, 1, this.b8.keys);
|
|
980
982
|
try {
|
|
981
983
|
for (var _e = tslib_1.__values(fromEnum(e)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
982
984
|
var f = _f.value;
|
|
983
985
|
var g = f + ":";
|
|
984
|
-
var h = this.
|
|
985
|
-
if (!this.
|
|
986
|
-
this.
|
|
986
|
+
var h = this.b8.item(f);
|
|
987
|
+
if (!this.b8.containsKey(g)) {
|
|
988
|
+
this.b8.addItem(g, h);
|
|
987
989
|
}
|
|
988
990
|
}
|
|
989
991
|
}
|
|
@@ -1000,10 +1002,10 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1000
1002
|
throw e_3.error;
|
|
1001
1003
|
}
|
|
1002
1004
|
}
|
|
1003
|
-
this.
|
|
1005
|
+
this.fh(this.b8);
|
|
1004
1006
|
}
|
|
1005
1007
|
};
|
|
1006
|
-
XamDataLegend.prototype.
|
|
1008
|
+
XamDataLegend.prototype.fh = function (a) {
|
|
1007
1009
|
var e_4, _a;
|
|
1008
1010
|
var b = new List$1(String_$type, 1, a.keys);
|
|
1009
1011
|
try {
|
|
@@ -1040,7 +1042,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1040
1042
|
}
|
|
1041
1043
|
}
|
|
1042
1044
|
};
|
|
1043
|
-
XamDataLegend.prototype.
|
|
1045
|
+
XamDataLegend.prototype.cc = function (a) {
|
|
1044
1046
|
if (a == null) {
|
|
1045
1047
|
return null;
|
|
1046
1048
|
}
|
|
@@ -1053,16 +1055,16 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1053
1055
|
}
|
|
1054
1056
|
return b;
|
|
1055
1057
|
};
|
|
1056
|
-
XamDataLegend.prototype.
|
|
1058
|
+
XamDataLegend.prototype.b1 = function (a) {
|
|
1057
1059
|
return a >= 0 && a <= 1;
|
|
1058
1060
|
};
|
|
1059
1061
|
XamDataLegend.prototype.notifyCursorPositionChanged = function (a) {
|
|
1060
1062
|
var b = !isNaN_(this.targetCursorPositionX) || !isNaN_(this.targetCursorPositionY);
|
|
1061
|
-
var c = !isNaN_(a.x) && this.
|
|
1062
|
-
var d = !isNaN_(a.y) && this.
|
|
1063
|
+
var c = !isNaN_(a.x) && this.b1(a.x);
|
|
1064
|
+
var d = !isNaN_(a.y) && this.b1(a.y);
|
|
1063
1065
|
if (!b && c && d) {
|
|
1064
|
-
this.
|
|
1065
|
-
this.
|
|
1066
|
+
this.cm = a.x;
|
|
1067
|
+
this.cn = a.y;
|
|
1066
1068
|
}
|
|
1067
1069
|
};
|
|
1068
1070
|
XamDataLegend.prototype.notifySizeChanged = function () {
|
|
@@ -1071,11 +1073,11 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1071
1073
|
XamDataLegend.prototype.notifyVisualPropertiesChanged = function (a) {
|
|
1072
1074
|
};
|
|
1073
1075
|
XamDataLegend.prototype.notifySeriesCollectionChanged = function () {
|
|
1074
|
-
this.
|
|
1076
|
+
this.f3();
|
|
1075
1077
|
};
|
|
1076
1078
|
XamDataLegend.prototype.notifySeriesDataChanged = function () {
|
|
1077
1079
|
if (this.bx) {
|
|
1078
|
-
this.
|
|
1080
|
+
this.f3();
|
|
1079
1081
|
}
|
|
1080
1082
|
};
|
|
1081
1083
|
XamDataLegend.prototype.updatePropertyByName = function (a, b) {
|
|
@@ -1096,55 +1098,55 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1096
1098
|
this.an = EnumUtil.getEnumValue(DataAbbreviationMode_$type, b);
|
|
1097
1099
|
break;
|
|
1098
1100
|
case XamDataLegend.$$p[42]:
|
|
1099
|
-
this.
|
|
1101
|
+
this.cu = typeGetValue(b);
|
|
1100
1102
|
break;
|
|
1101
1103
|
case XamDataLegend.$$p[43]:
|
|
1102
|
-
this.
|
|
1104
|
+
this.cv = typeGetValue(b);
|
|
1103
1105
|
break;
|
|
1104
1106
|
case XamDataLegend.$$p[44]:
|
|
1105
1107
|
this.a3 = EnumUtil.getEnumValue(DataLegendValueMode_$type, b);
|
|
1106
1108
|
break;
|
|
1107
1109
|
case XamDataLegend.$$p[40]:
|
|
1108
|
-
this.
|
|
1110
|
+
this.ey = b;
|
|
1109
1111
|
break;
|
|
1110
1112
|
case XamDataLegend.$$p[47]:
|
|
1111
|
-
this.
|
|
1113
|
+
this.b4 = b;
|
|
1112
1114
|
break;
|
|
1113
1115
|
case XamDataLegend.$$p[46]:
|
|
1114
|
-
this.
|
|
1116
|
+
this.e6 = b;
|
|
1115
1117
|
break;
|
|
1116
1118
|
case XamDataLegend.$$p[45]:
|
|
1117
1119
|
this.ah = b;
|
|
1118
1120
|
break;
|
|
1119
1121
|
case XamDataLegend.$$p[48]:
|
|
1120
|
-
this.
|
|
1122
|
+
this.is = b;
|
|
1121
1123
|
break;
|
|
1122
1124
|
case XamDataLegend.$$p[49]:
|
|
1123
|
-
this.
|
|
1125
|
+
this.b5 = b;
|
|
1124
1126
|
break;
|
|
1125
1127
|
case XamDataLegend.$$p[53]:
|
|
1126
|
-
this.
|
|
1128
|
+
this.ff = b;
|
|
1127
1129
|
break;
|
|
1128
1130
|
case XamDataLegend.$$p[52]:
|
|
1129
|
-
this.
|
|
1131
|
+
this.b6 = b;
|
|
1130
1132
|
break;
|
|
1131
1133
|
case XamDataLegend.$$p[51]:
|
|
1132
|
-
this.
|
|
1134
|
+
this.it = b;
|
|
1133
1135
|
break;
|
|
1134
1136
|
case XamDataLegend.$$p[50]:
|
|
1135
|
-
this.
|
|
1137
|
+
this.ia = b;
|
|
1136
1138
|
break;
|
|
1137
1139
|
case "ValueTextStyle":
|
|
1138
1140
|
this.bt = b;
|
|
1139
1141
|
break;
|
|
1140
1142
|
case XamDataLegend.$$p[7]:
|
|
1141
|
-
this.
|
|
1143
|
+
this.dd = b;
|
|
1142
1144
|
break;
|
|
1143
1145
|
case XamDataLegend.$$p[6]:
|
|
1144
1146
|
this.ag = b;
|
|
1145
1147
|
break;
|
|
1146
1148
|
case XamDataLegend.$$p[4]:
|
|
1147
|
-
this.
|
|
1149
|
+
this.c9 = b;
|
|
1148
1150
|
break;
|
|
1149
1151
|
case XamDataLegend.$$p[5]:
|
|
1150
1152
|
this.ap = EnumUtil.getEnumValue(DataLegendHeaderDateMode_$type, b);
|
|
@@ -1153,25 +1155,25 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1153
1155
|
this.aq = EnumUtil.getEnumValue(DataLegendHeaderTimeMode_$type, b);
|
|
1154
1156
|
break;
|
|
1155
1157
|
case XamDataLegend.$$p[13]:
|
|
1156
|
-
this.
|
|
1158
|
+
this.di = b;
|
|
1157
1159
|
break;
|
|
1158
1160
|
case XamDataLegend.$$p[11]:
|
|
1159
|
-
this.
|
|
1161
|
+
this.h1 = b;
|
|
1160
1162
|
break;
|
|
1161
1163
|
case XamDataLegend.$$p[12]:
|
|
1162
|
-
this.
|
|
1164
|
+
this.ik = b;
|
|
1163
1165
|
break;
|
|
1164
1166
|
case XamDataLegend.$$p[9]:
|
|
1165
|
-
this.
|
|
1167
|
+
this.ij = b;
|
|
1166
1168
|
break;
|
|
1167
1169
|
case XamDataLegend.$$p[10]:
|
|
1168
|
-
this.
|
|
1170
|
+
this.b0 = b;
|
|
1169
1171
|
break;
|
|
1170
1172
|
case "HeaderTextStyle":
|
|
1171
1173
|
this.bl = b;
|
|
1172
1174
|
break;
|
|
1173
1175
|
case XamDataLegend.$$p[23]:
|
|
1174
|
-
this.
|
|
1176
|
+
this.h5 = b;
|
|
1175
1177
|
break;
|
|
1176
1178
|
case "SummaryTitleTextStyle":
|
|
1177
1179
|
this.bo = b;
|
|
@@ -1180,40 +1182,40 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1180
1182
|
this.a1 = EnumUtil.getEnumValue(DataLegendSummaryType_$type, b);
|
|
1181
1183
|
break;
|
|
1182
1184
|
case XamDataLegend.$$p[25]:
|
|
1183
|
-
this.
|
|
1185
|
+
this.d9 = b;
|
|
1184
1186
|
break;
|
|
1185
1187
|
case XamDataLegend.$$p[24]:
|
|
1186
|
-
this.
|
|
1188
|
+
this.io = b;
|
|
1187
1189
|
break;
|
|
1188
1190
|
case XamDataLegend.$$p[22]:
|
|
1189
|
-
this.
|
|
1191
|
+
this.im = b;
|
|
1190
1192
|
break;
|
|
1191
1193
|
case XamDataLegend.$$p[29]:
|
|
1192
|
-
this.
|
|
1194
|
+
this.h7 = b;
|
|
1193
1195
|
break;
|
|
1194
1196
|
case "SummaryValueTextStyle":
|
|
1195
1197
|
this.bq = b;
|
|
1196
1198
|
break;
|
|
1197
1199
|
case XamDataLegend.$$p[21]:
|
|
1198
|
-
this.
|
|
1200
|
+
this.d4 = b;
|
|
1199
1201
|
break;
|
|
1200
1202
|
case XamDataLegend.$$p[20]:
|
|
1201
|
-
this.
|
|
1203
|
+
this.h4 = b;
|
|
1202
1204
|
break;
|
|
1203
1205
|
case "SummaryLabelTextStyle":
|
|
1204
1206
|
this.bn = b;
|
|
1205
1207
|
break;
|
|
1206
1208
|
case XamDataLegend.$$p[28]:
|
|
1207
|
-
this.
|
|
1209
|
+
this.ef = b;
|
|
1208
1210
|
break;
|
|
1209
1211
|
case XamDataLegend.$$p[27]:
|
|
1210
|
-
this.
|
|
1212
|
+
this.h6 = b;
|
|
1211
1213
|
break;
|
|
1212
1214
|
case "SummaryUnitsTextStyle":
|
|
1213
1215
|
this.bp = b;
|
|
1214
1216
|
break;
|
|
1215
1217
|
case XamDataLegend.$$p[0]:
|
|
1216
|
-
this.
|
|
1218
|
+
this.ii = b;
|
|
1217
1219
|
break;
|
|
1218
1220
|
case XamDataLegend.$$p[1]:
|
|
1219
1221
|
this.a8 = EnumUtil.getEnumValue(LegendItemBadgeShape_$type, b);
|
|
@@ -1222,22 +1224,22 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1222
1224
|
this.a2 = EnumUtil.getEnumValue(DataLegendUnitsMode_$type, b);
|
|
1223
1225
|
break;
|
|
1224
1226
|
case XamDataLegend.$$p[38]:
|
|
1225
|
-
this.
|
|
1227
|
+
this.es = b;
|
|
1226
1228
|
break;
|
|
1227
1229
|
case XamDataLegend.$$p[36]:
|
|
1228
|
-
this.
|
|
1230
|
+
this.h9 = b;
|
|
1229
1231
|
break;
|
|
1230
1232
|
case XamDataLegend.$$p[37]:
|
|
1231
|
-
this.
|
|
1233
|
+
this.iq = b;
|
|
1232
1234
|
break;
|
|
1233
1235
|
case "UnitsTextStyle":
|
|
1234
1236
|
this.bs = b;
|
|
1235
1237
|
break;
|
|
1236
1238
|
case XamDataLegend.$$p[34]:
|
|
1237
|
-
this.
|
|
1239
|
+
this.ip = b;
|
|
1238
1240
|
break;
|
|
1239
1241
|
case XamDataLegend.$$p[33]:
|
|
1240
|
-
this.
|
|
1242
|
+
this.h8 = b;
|
|
1241
1243
|
break;
|
|
1242
1244
|
case "TitleTextStyle":
|
|
1243
1245
|
this.br = b;
|
|
@@ -1246,10 +1248,10 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1246
1248
|
this.ar = EnumUtil.getEnumValue(DataLegendLabelMode_$type, b);
|
|
1247
1249
|
break;
|
|
1248
1250
|
case XamDataLegend.$$p[17]:
|
|
1249
|
-
this.
|
|
1251
|
+
this.h2 = b;
|
|
1250
1252
|
break;
|
|
1251
1253
|
case XamDataLegend.$$p[18]:
|
|
1252
|
-
this.
|
|
1254
|
+
this.il = b;
|
|
1253
1255
|
break;
|
|
1254
1256
|
case "LabelTextStyle":
|
|
1255
1257
|
this.bm = b;
|
|
@@ -1284,7 +1286,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1284
1286
|
XamDataLegend.prototype.provideContainer = function (a) {
|
|
1285
1287
|
this.a5.a2(a);
|
|
1286
1288
|
};
|
|
1287
|
-
XamDataLegend.prototype.
|
|
1289
|
+
XamDataLegend.prototype.f3 = function () {
|
|
1288
1290
|
if (this.bu) {
|
|
1289
1291
|
return;
|
|
1290
1292
|
}
|
|
@@ -1301,56 +1303,56 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1301
1303
|
configurable: true
|
|
1302
1304
|
});
|
|
1303
1305
|
XamDataLegend.prototype.doRender = function (a, b) {
|
|
1304
|
-
if (this.
|
|
1306
|
+
if (this.ic.isEmpty) {
|
|
1305
1307
|
var c = this.getDesiredSize();
|
|
1306
|
-
this.
|
|
1308
|
+
this.ic = new Rect(0, 0, 0, c.width, c.height);
|
|
1307
1309
|
}
|
|
1308
|
-
this.
|
|
1310
|
+
this.f4(this.ao, true);
|
|
1309
1311
|
this.a5.a7(a, b);
|
|
1310
1312
|
};
|
|
1311
1313
|
XamDataLegend.prototype.ensureUpdated = function () {
|
|
1312
1314
|
var a = this.getDesiredSize();
|
|
1313
1315
|
};
|
|
1314
|
-
XamDataLegend.prototype.
|
|
1316
|
+
XamDataLegend.prototype.fq = function () {
|
|
1315
1317
|
if (!this.bu) {
|
|
1316
1318
|
if (this.ao == null) {
|
|
1317
|
-
this.
|
|
1319
|
+
this.f3();
|
|
1318
1320
|
}
|
|
1319
1321
|
else {
|
|
1320
1322
|
return;
|
|
1321
1323
|
}
|
|
1322
1324
|
}
|
|
1323
|
-
this.
|
|
1325
|
+
this.gf();
|
|
1324
1326
|
};
|
|
1325
1327
|
XamDataLegend.prototype.getDesiredSize = function () {
|
|
1326
|
-
this.
|
|
1328
|
+
this.fq();
|
|
1327
1329
|
if (this.ao == null) {
|
|
1328
1330
|
return new Size(1, 0, 0);
|
|
1329
1331
|
}
|
|
1330
1332
|
return new Size(1, this.ao.d, this.ao.c);
|
|
1331
1333
|
};
|
|
1332
|
-
XamDataLegend.prototype.
|
|
1334
|
+
XamDataLegend.prototype.gf = function () {
|
|
1333
1335
|
if (this.a7 == null) {
|
|
1334
|
-
this.
|
|
1336
|
+
this.fn();
|
|
1335
1337
|
return;
|
|
1336
1338
|
}
|
|
1337
1339
|
var a = this.a7;
|
|
1338
1340
|
var b = a.getDataLegendSeries();
|
|
1339
|
-
var c = this.
|
|
1340
|
-
this.
|
|
1341
|
+
var c = this.cg(b);
|
|
1342
|
+
this.fs(c);
|
|
1341
1343
|
};
|
|
1342
|
-
XamDataLegend.prototype.
|
|
1344
|
+
XamDataLegend.prototype.cg = function (a) {
|
|
1343
1345
|
var e_5, _a;
|
|
1344
1346
|
var b = new Dictionary$2(Number_$type, IDataLegendSeries_$type, 0);
|
|
1345
1347
|
for (var c = 0; c < a.length; c++) {
|
|
1346
1348
|
var d = a[c].title == null ? null : a[c].title.toString();
|
|
1347
|
-
var e = this.
|
|
1348
|
-
var f = this.
|
|
1349
|
-
if (a[c].isValueOverlay && (!e || this.
|
|
1349
|
+
var e = this.cb == null || this.cb.containsKey(a[c].dataLegendKey) || this.cb.containsKey(a[c].index.toString()) || this.cb.containsKey(d);
|
|
1350
|
+
var f = this.ca != null && (this.ca.containsKey(a[c].dataLegendKey) || this.ca.containsKey(a[c].index.toString()) || this.ca.containsKey(d));
|
|
1351
|
+
if (a[c].isValueOverlay && (!e || this.cb == null)) {
|
|
1350
1352
|
continue;
|
|
1351
1353
|
}
|
|
1352
1354
|
if (e && !f) {
|
|
1353
|
-
var g = this.
|
|
1355
|
+
var g = this.ct(a[c]);
|
|
1354
1356
|
b.addItem(g, a[c]);
|
|
1355
1357
|
}
|
|
1356
1358
|
}
|
|
@@ -1378,31 +1380,31 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1378
1380
|
}
|
|
1379
1381
|
return i;
|
|
1380
1382
|
};
|
|
1381
|
-
XamDataLegend.prototype.
|
|
1382
|
-
if (this.
|
|
1383
|
+
XamDataLegend.prototype.ct = function (a) {
|
|
1384
|
+
if (this.cb == null) {
|
|
1383
1385
|
return a.index;
|
|
1384
1386
|
}
|
|
1385
1387
|
var b = a.dataLegendKey;
|
|
1386
|
-
if (this.
|
|
1387
|
-
return this.
|
|
1388
|
+
if (this.cb.containsKey(b)) {
|
|
1389
|
+
return this.cb.item(b);
|
|
1388
1390
|
}
|
|
1389
1391
|
var c = a.index.toString();
|
|
1390
|
-
if (this.
|
|
1391
|
-
return this.
|
|
1392
|
+
if (this.cb.containsKey(c)) {
|
|
1393
|
+
return this.cb.item(c);
|
|
1392
1394
|
}
|
|
1393
1395
|
var d = a.title == null ? null : a.title.toString();
|
|
1394
|
-
if (this.
|
|
1395
|
-
return this.
|
|
1396
|
+
if (this.cb.containsKey(d)) {
|
|
1397
|
+
return this.cb.item(d);
|
|
1396
1398
|
}
|
|
1397
1399
|
return a.index;
|
|
1398
1400
|
};
|
|
1399
|
-
XamDataLegend.prototype.
|
|
1401
|
+
XamDataLegend.prototype.fp = function () {
|
|
1400
1402
|
this.bu = false;
|
|
1401
1403
|
var a = new Size(1, 0, 0);
|
|
1402
1404
|
if (this.ao != null) {
|
|
1403
1405
|
a = new Size(1, this.ao.d, this.ao.c);
|
|
1404
1406
|
}
|
|
1405
|
-
this.
|
|
1407
|
+
this.gf();
|
|
1406
1408
|
var b = new Size(1, 0, 0);
|
|
1407
1409
|
if (this.ao != null) {
|
|
1408
1410
|
b = new Size(1, this.ao.d, this.ao.c);
|
|
@@ -1410,15 +1412,15 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1410
1412
|
if (!a.equals(b)) {
|
|
1411
1413
|
this.a5.am(b.width, b.height);
|
|
1412
1414
|
}
|
|
1413
|
-
this.
|
|
1415
|
+
this.f4(this.ao, this.bv);
|
|
1414
1416
|
};
|
|
1415
|
-
XamDataLegend.prototype.
|
|
1417
|
+
XamDataLegend.prototype.ft = function (message_) {
|
|
1416
1418
|
};
|
|
1417
|
-
XamDataLegend.prototype.
|
|
1419
|
+
XamDataLegend.prototype.f4 = function (a, b) {
|
|
1418
1420
|
var c = new DataLegendRenderContext();
|
|
1419
1421
|
for (var d = 0; d < a.b.count; d++) {
|
|
1420
1422
|
var e = a.b._inner[d];
|
|
1421
|
-
this.
|
|
1423
|
+
this.f6(a, e, c);
|
|
1422
1424
|
}
|
|
1423
1425
|
this.a5.p.count = c.b;
|
|
1424
1426
|
this.a5.q.count = c.c;
|
|
@@ -1429,36 +1431,36 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1429
1431
|
this.a5.aq(a);
|
|
1430
1432
|
}
|
|
1431
1433
|
};
|
|
1432
|
-
XamDataLegend.prototype.
|
|
1434
|
+
XamDataLegend.prototype.f6 = function (a, b, c) {
|
|
1433
1435
|
var e_6, _a;
|
|
1434
1436
|
if (b.t.width > 0 && b.t.height > 0 && !b.a && !b.d && b.j) {
|
|
1435
1437
|
var d = this.a5.p.item(c.b);
|
|
1436
1438
|
c.b += 1;
|
|
1437
|
-
this.
|
|
1439
|
+
this.f5(d, a, b, c);
|
|
1438
1440
|
}
|
|
1439
1441
|
this.a5.a9();
|
|
1440
1442
|
if (!b.s.isEmpty && b.s.width > 0 && b.s.height > 0) {
|
|
1441
1443
|
var e = this.a5.q.item(c.c);
|
|
1442
1444
|
c.c += 1;
|
|
1443
|
-
this.
|
|
1445
|
+
this.f7(e, b.n, b.q, b.i, b.s);
|
|
1444
1446
|
}
|
|
1445
1447
|
try {
|
|
1446
1448
|
for (var _b = tslib_1.__values(fromEnum(b.k)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1447
1449
|
var f = _c.value;
|
|
1448
|
-
if (!f.
|
|
1450
|
+
if (!f.ae.isEmpty && f.q()) {
|
|
1449
1451
|
var g = this.a5.s.item(c.e);
|
|
1450
1452
|
c.e += 1;
|
|
1451
|
-
this.
|
|
1453
|
+
this.f7(g, f.x, f.ab, f.i, f.ae);
|
|
1452
1454
|
}
|
|
1453
|
-
if (!f.
|
|
1455
|
+
if (!f.ad.isEmpty && f.o() && f.m) {
|
|
1454
1456
|
var h = this.a5.r.item(c.d);
|
|
1455
1457
|
c.d += 1;
|
|
1456
|
-
this.
|
|
1458
|
+
this.f7(h, f.u, f.aa, f.h, f.ad);
|
|
1457
1459
|
}
|
|
1458
|
-
if (!f.
|
|
1460
|
+
if (!f.ac.isEmpty && f.l() && f.j) {
|
|
1459
1461
|
var i = this.a5.o.item(c.a);
|
|
1460
1462
|
c.a += 1;
|
|
1461
|
-
this.
|
|
1463
|
+
this.f7(i, f.t, f.z, f.g, f.ac);
|
|
1462
1464
|
}
|
|
1463
1465
|
}
|
|
1464
1466
|
}
|
|
@@ -1477,28 +1479,34 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1477
1479
|
}
|
|
1478
1480
|
this.a5.an();
|
|
1479
1481
|
};
|
|
1480
|
-
XamDataLegend.prototype.
|
|
1482
|
+
XamDataLegend.prototype.f7 = function (a, b, c, d, e) {
|
|
1481
1483
|
a.al = b;
|
|
1482
1484
|
this.a5.a8(a, e.left, e.top);
|
|
1483
1485
|
this.a5.ao(a, d);
|
|
1484
1486
|
this.a5.ap(a, d);
|
|
1485
1487
|
a.ao = c;
|
|
1486
1488
|
};
|
|
1487
|
-
XamDataLegend.prototype.
|
|
1489
|
+
XamDataLegend.prototype.f5 = function (a, b, c, d) {
|
|
1488
1490
|
a.ah = c.p;
|
|
1489
1491
|
a.content = c.l;
|
|
1490
1492
|
a.width = c.t.width;
|
|
1491
1493
|
a.height = c.t.height;
|
|
1492
1494
|
this.a5.a8(a, c.r.left, c.r.top);
|
|
1493
1495
|
};
|
|
1494
|
-
XamDataLegend.prototype.
|
|
1496
|
+
XamDataLegend.prototype.by = function (a, b) {
|
|
1497
|
+
if (b == null) {
|
|
1498
|
+
return false;
|
|
1499
|
+
}
|
|
1500
|
+
return a.containsKey(b);
|
|
1501
|
+
};
|
|
1502
|
+
XamDataLegend.prototype.fs = function (a) {
|
|
1495
1503
|
var e_7, _a;
|
|
1496
|
-
if (this.
|
|
1504
|
+
if (this.bz()) {
|
|
1497
1505
|
this.ao.f();
|
|
1498
|
-
this.
|
|
1499
|
-
this.
|
|
1500
|
-
this.
|
|
1501
|
-
this.
|
|
1506
|
+
this.cd = a;
|
|
1507
|
+
this.ce.clear();
|
|
1508
|
+
this.cs = 0;
|
|
1509
|
+
this.b7.clear();
|
|
1502
1510
|
}
|
|
1503
1511
|
else {
|
|
1504
1512
|
return;
|
|
@@ -1506,46 +1514,46 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1506
1514
|
for (var b = 0; b < a.count; b++) {
|
|
1507
1515
|
var c = a._inner[b];
|
|
1508
1516
|
var d = b;
|
|
1509
|
-
var e = typeCast(DataLegendSeriesContext.$, c.getDataLegendSeriesContextAt(this.
|
|
1517
|
+
var e = typeCast(DataLegendSeriesContext.$, c.getDataLegendSeriesContextAt(this.cm, this.cn));
|
|
1510
1518
|
if (e != null) {
|
|
1511
1519
|
var f = new List$1(DataLegendSeriesValueInfo.$, 0);
|
|
1512
1520
|
for (var g = 0; g < e.f.count; g++) {
|
|
1513
1521
|
var h = e.f._inner[g];
|
|
1514
|
-
var i = this.
|
|
1515
|
-
var j = this.
|
|
1516
|
-
var k = this.
|
|
1522
|
+
var i = this.b9 == null || this.by(this.b9, h.q) || this.by(this.b9, h.p) || this.by(this.b9, h.r) || this.by(this.b9, "ALL");
|
|
1523
|
+
var j = this.b8 != null && (this.by(this.b8, h.q) || this.by(this.b8, h.p) || this.by(this.b8, h.r) || this.by(this.b8, "ALL"));
|
|
1524
|
+
var k = this.b9 == null && this.b8 == null && h.k;
|
|
1517
1525
|
if (i && (!j && !k)) {
|
|
1518
1526
|
h.o = f.count;
|
|
1519
1527
|
f.add(h);
|
|
1520
|
-
if (!this.
|
|
1521
|
-
this.
|
|
1528
|
+
if (!this.b7.containsKey(h.o)) {
|
|
1529
|
+
this.b7.addItem(h.o, new DataLegendColumn());
|
|
1522
1530
|
}
|
|
1523
|
-
this.
|
|
1524
|
-
this.
|
|
1525
|
-
this.
|
|
1526
|
-
this.
|
|
1527
|
-
this.
|
|
1528
|
-
this.
|
|
1531
|
+
this.b7.item(h.o).i = h.o;
|
|
1532
|
+
this.b7.item(h.o).d.q(d, h.s);
|
|
1533
|
+
this.b7.item(h.o).b.q(d, h.r);
|
|
1534
|
+
this.b7.item(h.o).e.q(d, h.l);
|
|
1535
|
+
this.b7.item(h.o).c.q(d, h);
|
|
1536
|
+
this.b7.item(h.o).h.add(d);
|
|
1529
1537
|
}
|
|
1530
1538
|
}
|
|
1531
1539
|
e.f = f;
|
|
1532
|
-
this.
|
|
1533
|
-
this.
|
|
1540
|
+
this.ce.add(e);
|
|
1541
|
+
this.cs = Math.max(this.cs, e.f.count);
|
|
1534
1542
|
}
|
|
1535
1543
|
}
|
|
1536
1544
|
try {
|
|
1537
|
-
for (var _b = tslib_1.__values(fromEnum(this.
|
|
1545
|
+
for (var _b = tslib_1.__values(fromEnum(this.b7.values)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1538
1546
|
var l = _c.value;
|
|
1539
1547
|
l.f.clear();
|
|
1540
1548
|
l.a.clear();
|
|
1541
1549
|
var m = l.e.p(l.h);
|
|
1542
|
-
var n = this.
|
|
1550
|
+
var n = this.cf(m);
|
|
1543
1551
|
for (var o = 0; o < n.count; o++) {
|
|
1544
1552
|
var p = n._inner[o];
|
|
1545
1553
|
var q = l.h._inner[o];
|
|
1546
1554
|
l.a.q(q, p);
|
|
1547
1555
|
var r = l.c.item(q);
|
|
1548
|
-
var s = this.
|
|
1556
|
+
var s = this.d2(p, r);
|
|
1549
1557
|
l.f.q(q, s);
|
|
1550
1558
|
var t = !stringIsNullOrEmpty(p.l);
|
|
1551
1559
|
if (t) {
|
|
@@ -1567,16 +1575,16 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1567
1575
|
throw e_7.error;
|
|
1568
1576
|
}
|
|
1569
1577
|
}
|
|
1570
|
-
this.
|
|
1578
|
+
this.fi(this.ao, a);
|
|
1571
1579
|
for (var u = 0; u < a.count; u++) {
|
|
1572
|
-
this.
|
|
1573
|
-
this.
|
|
1580
|
+
this.ge(a._inner[u], this.a8);
|
|
1581
|
+
this.fj(this.ao, a._inner[u], u);
|
|
1574
1582
|
}
|
|
1575
|
-
this.
|
|
1576
|
-
this.bw = this.
|
|
1577
|
-
this.
|
|
1583
|
+
this.fk(this.ao, a);
|
|
1584
|
+
this.bw = this.b2();
|
|
1585
|
+
this.fm(this.ao);
|
|
1578
1586
|
};
|
|
1579
|
-
XamDataLegend.prototype.
|
|
1587
|
+
XamDataLegend.prototype.b2 = function () {
|
|
1580
1588
|
var a = false;
|
|
1581
1589
|
for (var b = 0; b < this.ao.b.count; b++) {
|
|
1582
1590
|
var c = this.ao.b._inner[b];
|
|
@@ -1587,13 +1595,13 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1587
1595
|
}
|
|
1588
1596
|
return a;
|
|
1589
1597
|
};
|
|
1590
|
-
XamDataLegend.prototype.
|
|
1598
|
+
XamDataLegend.prototype.fm = function (a) {
|
|
1591
1599
|
var e_8, _a;
|
|
1592
1600
|
var b = 0;
|
|
1593
1601
|
var c = 0;
|
|
1594
1602
|
for (var d = 0; d < a.b.count; d++) {
|
|
1595
1603
|
var e = a.b._inner[d];
|
|
1596
|
-
this.
|
|
1604
|
+
this.fu(e);
|
|
1597
1605
|
}
|
|
1598
1606
|
var f = 0;
|
|
1599
1607
|
var g = new Size(1, 0, 0);
|
|
@@ -1609,15 +1617,15 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1609
1617
|
if (!i.containsKey(m)) {
|
|
1610
1618
|
i.addItem(m, new Size(1, 0, 0));
|
|
1611
1619
|
}
|
|
1612
|
-
i.item(m, this.
|
|
1620
|
+
i.item(m, this.ih(i.item(m), n.ak, n.an));
|
|
1613
1621
|
if (!j.containsKey(m)) {
|
|
1614
1622
|
j.addItem(m, new Size(1, 0, 0));
|
|
1615
1623
|
}
|
|
1616
|
-
j.item(m, this.
|
|
1624
|
+
j.item(m, this.ih(j.item(m), n.ai, n.am));
|
|
1617
1625
|
if (!k.containsKey(m)) {
|
|
1618
1626
|
k.addItem(m, new Size(1, 0, 0));
|
|
1619
1627
|
}
|
|
1620
|
-
k.item(m, this.
|
|
1628
|
+
k.item(m, this.ih(k.item(m), n.ag, n.al));
|
|
1621
1629
|
}
|
|
1622
1630
|
}
|
|
1623
1631
|
}
|
|
@@ -1636,12 +1644,12 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1636
1644
|
}
|
|
1637
1645
|
for (var o = 0; o < a.b.count; o++) {
|
|
1638
1646
|
var p = a.b._inner[o];
|
|
1639
|
-
h = this.
|
|
1640
|
-
g = this.
|
|
1647
|
+
h = this.ig(h, p.t, p.v);
|
|
1648
|
+
g = this.ih(g, p.u, p.x);
|
|
1641
1649
|
for (var q = 0; q < p.k.count; q++) {
|
|
1642
|
-
p.k._inner[q].
|
|
1643
|
-
p.k._inner[q].
|
|
1644
|
-
p.k._inner[q].
|
|
1650
|
+
p.k._inner[q].aj = i.item(q);
|
|
1651
|
+
p.k._inner[q].ah = j.item(q);
|
|
1652
|
+
p.k._inner[q].af = k.item(q);
|
|
1645
1653
|
}
|
|
1646
1654
|
if (p.d) {
|
|
1647
1655
|
var r = p.u.width + p.x.left + p.x.right;
|
|
@@ -1657,7 +1665,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1657
1665
|
var v = 0;
|
|
1658
1666
|
for (var w = 0; w < a.b.count; w++) {
|
|
1659
1667
|
var x = a.b._inner[w];
|
|
1660
|
-
var y = this.
|
|
1668
|
+
var y = this.id(v, x, f, g, h);
|
|
1661
1669
|
v = y.height;
|
|
1662
1670
|
u = Math.max(u, y.width);
|
|
1663
1671
|
}
|
|
@@ -1666,13 +1674,13 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1666
1674
|
a.d = b;
|
|
1667
1675
|
a.c = c;
|
|
1668
1676
|
};
|
|
1669
|
-
XamDataLegend.prototype.
|
|
1677
|
+
XamDataLegend.prototype.ig = function (a, b, c) {
|
|
1670
1678
|
return new Size(1, Math.max(a.width, b.width + c.left + c.right), Math.max(a.height, b.height + c.top + c.bottom));
|
|
1671
1679
|
};
|
|
1672
|
-
XamDataLegend.prototype.
|
|
1680
|
+
XamDataLegend.prototype.ih = function (a, b, c) {
|
|
1673
1681
|
return new Size(1, Math.max(a.width, b.width + c.left + c.right), Math.max(a.height, b.height + c.top + c.bottom));
|
|
1674
1682
|
};
|
|
1675
|
-
XamDataLegend.prototype.
|
|
1683
|
+
XamDataLegend.prototype.id = function (a, b, c, d, e) {
|
|
1676
1684
|
var e_9, _a, e_10, _b;
|
|
1677
1685
|
var f = 0;
|
|
1678
1686
|
var g = 0;
|
|
@@ -1681,12 +1689,12 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1681
1689
|
try {
|
|
1682
1690
|
for (var _c = tslib_1.__values(fromEnum(b.k)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
1683
1691
|
var h = _d.value;
|
|
1684
|
-
g = Math.max(h.
|
|
1692
|
+
g = Math.max(h.ak.height, g);
|
|
1685
1693
|
if (h.m) {
|
|
1686
|
-
g = Math.max(h.
|
|
1694
|
+
g = Math.max(h.ai.height, g);
|
|
1687
1695
|
}
|
|
1688
1696
|
if (h.j) {
|
|
1689
|
-
g = Math.max(h.
|
|
1697
|
+
g = Math.max(h.ag.height, g);
|
|
1690
1698
|
}
|
|
1691
1699
|
}
|
|
1692
1700
|
}
|
|
@@ -1728,39 +1736,39 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1728
1736
|
for (var _e = tslib_1.__values(fromEnum(b.k)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
1729
1737
|
var k = _f.value;
|
|
1730
1738
|
var l = " C=" + k.s + " SR=" + numberToString2(f, "000");
|
|
1731
|
-
if ((k.l() && k.j) && k.
|
|
1739
|
+
if ((k.l() && k.j) && k.af.width > 0) {
|
|
1732
1740
|
var m = 0;
|
|
1733
|
-
if (g > k.
|
|
1734
|
-
m = (g - k.
|
|
1741
|
+
if (g > k.ag.height) {
|
|
1742
|
+
m = (g - k.ag.height) / 2;
|
|
1735
1743
|
}
|
|
1736
|
-
k.
|
|
1737
|
-
f += k.
|
|
1738
|
-
l += " label L=" + numberToString2(k.
|
|
1744
|
+
k.ac = new Rect(0, f + k.al.left, a + m, k.ag.width, k.ag.height);
|
|
1745
|
+
f += k.af.width;
|
|
1746
|
+
l += " label L=" + numberToString2(k.ac.left, "000") + " R=" + numberToString2(k.ac.right, "000");
|
|
1739
1747
|
}
|
|
1740
1748
|
if (k.q()) {
|
|
1741
|
-
l += " v MW=" + numberToString2(k.
|
|
1742
|
-
f += k.
|
|
1743
|
-
f += (k.
|
|
1749
|
+
l += " v MW=" + numberToString2(k.aj.width, "000");
|
|
1750
|
+
f += k.an.left;
|
|
1751
|
+
f += (k.aj.width - (k.ak.width + k.an.right));
|
|
1744
1752
|
var n = 0;
|
|
1745
|
-
if (g > k.
|
|
1746
|
-
n = (g - k.
|
|
1753
|
+
if (g > k.ak.height) {
|
|
1754
|
+
n = (g - k.ak.height) / 2;
|
|
1747
1755
|
}
|
|
1748
|
-
k.
|
|
1749
|
-
l += " v ML=" + numberToString2(k.
|
|
1750
|
-
l += " v BL=" + numberToString2(k.
|
|
1751
|
-
f += k.
|
|
1752
|
-
f += k.
|
|
1756
|
+
k.ae = new Rect(0, f, a + n, k.ak.width, k.ak.height);
|
|
1757
|
+
l += " v ML=" + numberToString2(k.an.left, "00") + " MR=" + numberToString2(k.an.right, "00");
|
|
1758
|
+
l += " v BL=" + numberToString2(k.ae.left, "000") + " BR=" + numberToString2(k.ae.right, "000");
|
|
1759
|
+
f += k.ae.width;
|
|
1760
|
+
f += k.an.right;
|
|
1753
1761
|
}
|
|
1754
|
-
if ((k.o() && k.m) && k.
|
|
1762
|
+
if ((k.o() && k.m) && k.ah.width > 0) {
|
|
1755
1763
|
var o = 0;
|
|
1756
|
-
if (g > k.
|
|
1757
|
-
o = (g - k.
|
|
1764
|
+
if (g > k.ai.height) {
|
|
1765
|
+
o = (g - k.ai.height) / 2;
|
|
1758
1766
|
}
|
|
1759
|
-
k.
|
|
1760
|
-
f += k.
|
|
1761
|
-
l += " unit L=" + numberToString2(k.
|
|
1767
|
+
k.ad = new Rect(0, f + k.am.left, a + o, k.ai.width, k.ai.height);
|
|
1768
|
+
f += k.ah.width;
|
|
1769
|
+
l += " unit L=" + numberToString2(k.ad.left, "000") + " R=" + numberToString2(k.ad.right, "000");
|
|
1762
1770
|
}
|
|
1763
|
-
this.
|
|
1771
|
+
this.ft("maxRight " + numberToString2(c, "0") + l);
|
|
1764
1772
|
}
|
|
1765
1773
|
}
|
|
1766
1774
|
catch (e_10_1) {
|
|
@@ -1781,15 +1789,15 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1781
1789
|
a += b.w.bottom;
|
|
1782
1790
|
return new Size(1, f, a);
|
|
1783
1791
|
};
|
|
1784
|
-
XamDataLegend.prototype.
|
|
1792
|
+
XamDataLegend.prototype.fu = function (a) {
|
|
1785
1793
|
var e_11, _a;
|
|
1786
1794
|
a.u = a.n == null ? new Size(1, 0, 0) : this.a5.bu(a.n, a.i);
|
|
1787
1795
|
try {
|
|
1788
1796
|
for (var _b = tslib_1.__values(fromEnum(a.k)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1789
1797
|
var b = _c.value;
|
|
1790
|
-
b.
|
|
1791
|
-
b.
|
|
1792
|
-
b.
|
|
1798
|
+
b.ak = b.x == null ? new Size(1, 0, 0) : this.a5.bu(b.x, b.i);
|
|
1799
|
+
b.ai = b.u == null ? new Size(1, 0, 0) : this.a5.bu(b.u, b.h);
|
|
1800
|
+
b.ag = b.t == null ? new Size(1, 0, 0) : this.a5.bu(b.t, b.g);
|
|
1793
1801
|
}
|
|
1794
1802
|
}
|
|
1795
1803
|
catch (e_11_1) {
|
|
@@ -1806,16 +1814,16 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1806
1814
|
}
|
|
1807
1815
|
}
|
|
1808
1816
|
};
|
|
1809
|
-
XamDataLegend.prototype.
|
|
1817
|
+
XamDataLegend.prototype.d1 = function (a, b, c, d) {
|
|
1810
1818
|
if (this.a2 == 2) {
|
|
1811
1819
|
return null;
|
|
1812
1820
|
}
|
|
1813
1821
|
var e = "";
|
|
1814
|
-
if (stringIsNullOrEmpty(this.
|
|
1822
|
+
if (stringIsNullOrEmpty(this.es)) {
|
|
1815
1823
|
e = b;
|
|
1816
1824
|
}
|
|
1817
1825
|
else {
|
|
1818
|
-
e = this.
|
|
1826
|
+
e = this.es;
|
|
1819
1827
|
}
|
|
1820
1828
|
if (d) {
|
|
1821
1829
|
if (stringIsNullOrEmpty(e)) {
|
|
@@ -1825,8 +1833,8 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1825
1833
|
e = c + e;
|
|
1826
1834
|
}
|
|
1827
1835
|
}
|
|
1828
|
-
var f = this.
|
|
1829
|
-
var g = this.
|
|
1836
|
+
var f = this.b7.item(a).d;
|
|
1837
|
+
var g = this.b7.item(a).g;
|
|
1830
1838
|
if (g && stringIsNullOrEmpty(e)) {
|
|
1831
1839
|
e = " ";
|
|
1832
1840
|
}
|
|
@@ -1838,13 +1846,13 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1838
1846
|
}
|
|
1839
1847
|
return e;
|
|
1840
1848
|
};
|
|
1841
|
-
XamDataLegend.prototype.
|
|
1849
|
+
XamDataLegend.prototype.dy = function (a, b, c) {
|
|
1842
1850
|
if (this.ar == 2) {
|
|
1843
1851
|
return null;
|
|
1844
1852
|
}
|
|
1845
|
-
var d = this.
|
|
1853
|
+
var d = this.cs > 1;
|
|
1846
1854
|
var e = this.ar == 1;
|
|
1847
|
-
var f = this.
|
|
1855
|
+
var f = this.b7.item(a).b.count > 0;
|
|
1848
1856
|
if (f && (d || e)) {
|
|
1849
1857
|
if (stringIsNullOrEmpty(b)) {
|
|
1850
1858
|
return " ";
|
|
@@ -1855,7 +1863,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1855
1863
|
}
|
|
1856
1864
|
return null;
|
|
1857
1865
|
};
|
|
1858
|
-
XamDataLegend.prototype.
|
|
1866
|
+
XamDataLegend.prototype.fk = function (a, b) {
|
|
1859
1867
|
var e_12, _a, e_13, _b;
|
|
1860
1868
|
if (this.a1 == 5) {
|
|
1861
1869
|
return;
|
|
@@ -1867,7 +1875,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1867
1875
|
var d = 0;
|
|
1868
1876
|
var e = new List$1(DataLegendSeriesGroup_$type, 0);
|
|
1869
1877
|
try {
|
|
1870
|
-
for (var _c = tslib_1.__values(fromEnum(this.
|
|
1878
|
+
for (var _c = tslib_1.__values(fromEnum(this.ce)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
1871
1879
|
var f = _d.value;
|
|
1872
1880
|
d = Math.max(d, f.f.count);
|
|
1873
1881
|
if (!e.contains(f.b)) {
|
|
@@ -1886,13 +1894,10 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1886
1894
|
i.f = h.f;
|
|
1887
1895
|
i.f = h.g;
|
|
1888
1896
|
i.d = h.d;
|
|
1889
|
-
i.
|
|
1890
|
-
i.
|
|
1891
|
-
i.ag(h.q);
|
|
1897
|
+
i.y = h.y;
|
|
1898
|
+
i.aj(h.l);
|
|
1892
1899
|
i.ah(h.r);
|
|
1893
|
-
|
|
1894
|
-
i.t = h.t;
|
|
1895
|
-
}
|
|
1900
|
+
i.ai(h.s);
|
|
1896
1901
|
if (stringIsNullOrEmpty(i.u)) {
|
|
1897
1902
|
i.u = h.u;
|
|
1898
1903
|
}
|
|
@@ -1902,6 +1907,12 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1902
1907
|
if (stringIsNullOrEmpty(i.w)) {
|
|
1903
1908
|
i.w = h.w;
|
|
1904
1909
|
}
|
|
1910
|
+
if (stringIsNullOrEmpty(i.x)) {
|
|
1911
|
+
i.x = h.x;
|
|
1912
|
+
}
|
|
1913
|
+
if (stringIsNullOrEmpty(i.q)) {
|
|
1914
|
+
i.q = h.q;
|
|
1915
|
+
}
|
|
1905
1916
|
if (stringIsNullOrEmpty(i.p)) {
|
|
1906
1917
|
i.p = h.p;
|
|
1907
1918
|
}
|
|
@@ -1931,18 +1942,18 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1931
1942
|
}
|
|
1932
1943
|
var j = this.a6();
|
|
1933
1944
|
var k = new DataLegendRowInfo(this.a5, true, false, -1);
|
|
1934
|
-
k.n = this.
|
|
1935
|
-
k.q = this.
|
|
1945
|
+
k.n = this.d9 != null ? this.d9 : j.title;
|
|
1946
|
+
k.q = this.h5 || k.q;
|
|
1936
1947
|
k.i = this.bo || k.i;
|
|
1937
1948
|
for (var l = 0; l < d; l++) {
|
|
1938
1949
|
var m = c.item(l);
|
|
1939
|
-
var n = j.calculate(m.
|
|
1950
|
+
var n = j.calculate(m.ab, m.q);
|
|
1940
1951
|
n = this.a0(n);
|
|
1941
1952
|
var o = this.an;
|
|
1942
1953
|
var p = o == 0 || o == 2 || o == 8;
|
|
1943
1954
|
var q = -1;
|
|
1944
1955
|
try {
|
|
1945
|
-
for (var _e = (e_13 = void 0, tslib_1.__values(fromEnum(this.
|
|
1956
|
+
for (var _e = (e_13 = void 0, tslib_1.__values(fromEnum(this.b7.item(l).a.values))), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
1946
1957
|
var r = _f.value;
|
|
1947
1958
|
if (r.b()) {
|
|
1948
1959
|
q = Math.max(q, r.h);
|
|
@@ -1965,44 +1976,45 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1965
1976
|
throw e_13.error;
|
|
1966
1977
|
}
|
|
1967
1978
|
}
|
|
1968
|
-
var s = this.
|
|
1969
|
-
var t = this.
|
|
1979
|
+
var s = this.cv >= 0 ? this.cv : q;
|
|
1980
|
+
var t = this.cu >= 0 ? this.cu : q;
|
|
1970
1981
|
var u = this.am(n.c, o, s, t);
|
|
1971
1982
|
u.i = s;
|
|
1972
1983
|
u.h = t;
|
|
1973
|
-
var v = this.
|
|
1984
|
+
var v = this.d2(u, m);
|
|
1974
1985
|
var w = new DataLegendRowCell(this.a5, true, false, -1);
|
|
1975
1986
|
w.s = k.k.count;
|
|
1976
|
-
w.t = this.
|
|
1977
|
-
if (!stringIsNullOrEmpty(this.
|
|
1978
|
-
w.t = this.
|
|
1987
|
+
w.t = this.dy(w.s, " ", m.b);
|
|
1988
|
+
if (!stringIsNullOrEmpty(this.d4)) {
|
|
1989
|
+
w.t = this.d4;
|
|
1979
1990
|
}
|
|
1980
1991
|
if (n.e != null) {
|
|
1981
1992
|
w.t = n.e;
|
|
1982
1993
|
}
|
|
1983
1994
|
w.j = !stringIsNullOrEmpty(w.t);
|
|
1984
|
-
w.
|
|
1995
|
+
w.z = this.h4 || w.z;
|
|
1985
1996
|
w.g = this.bn || w.g;
|
|
1986
|
-
w.
|
|
1997
|
+
w.x = v;
|
|
1987
1998
|
w.i = this.bq || w.i;
|
|
1988
|
-
w.
|
|
1999
|
+
w.ab = this.h3(this.h7, w.ab, null);
|
|
1989
2000
|
w.r = n.c;
|
|
1990
2001
|
w.f = u.a;
|
|
2002
|
+
w.w = m.q;
|
|
1991
2003
|
w.v = m.p;
|
|
1992
|
-
var x = m.
|
|
1993
|
-
w.u = this.
|
|
2004
|
+
var x = m.aa.length >= 1 ? m.aa[0] : " ";
|
|
2005
|
+
w.u = this.d1(w.s, x, u.l, m.d);
|
|
1994
2006
|
if (n.f != null) {
|
|
1995
2007
|
w.u = n.f;
|
|
1996
2008
|
}
|
|
1997
2009
|
w.m = !stringIsNullOrEmpty(w.u);
|
|
1998
|
-
w.
|
|
2010
|
+
w.aa = this.h6 || w.aa;
|
|
1999
2011
|
w.h = this.bp || w.h;
|
|
2000
2012
|
k.k.add(w);
|
|
2001
2013
|
}
|
|
2002
|
-
this.
|
|
2014
|
+
this.gc(k);
|
|
2003
2015
|
if (k.b) {
|
|
2004
|
-
this.
|
|
2005
|
-
this.
|
|
2016
|
+
this.fl(k);
|
|
2017
|
+
this.f0(k);
|
|
2006
2018
|
a.e(k);
|
|
2007
2019
|
}
|
|
2008
2020
|
};
|
|
@@ -2011,37 +2023,37 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2011
2023
|
b = this.an;
|
|
2012
2024
|
}
|
|
2013
2025
|
if (d < 0) {
|
|
2014
|
-
d = this.
|
|
2026
|
+
d = this.cu;
|
|
2015
2027
|
}
|
|
2016
2028
|
if (c < 0) {
|
|
2017
|
-
c = this.
|
|
2029
|
+
c = this.cv;
|
|
2018
2030
|
}
|
|
2019
2031
|
return DataAbbreviator.a(a, b, c, d);
|
|
2020
2032
|
};
|
|
2021
|
-
XamDataLegend.prototype.
|
|
2033
|
+
XamDataLegend.prototype.cr = function (a, b, c, d) {
|
|
2022
2034
|
return this.am(a, b, c, d).d;
|
|
2023
2035
|
};
|
|
2024
|
-
XamDataLegend.prototype.
|
|
2036
|
+
XamDataLegend.prototype.c8 = function (a, b, c, d) {
|
|
2025
2037
|
return this.am(a, b, c, d).l;
|
|
2026
2038
|
};
|
|
2027
|
-
XamDataLegend.prototype.
|
|
2039
|
+
XamDataLegend.prototype.c7 = function (a, b, c, d) {
|
|
2028
2040
|
var e = this.am(a, b, c, d);
|
|
2029
2041
|
return e.m + e.l;
|
|
2030
2042
|
};
|
|
2031
|
-
XamDataLegend.prototype.
|
|
2032
|
-
var b = this.
|
|
2033
|
-
var c = this.
|
|
2043
|
+
XamDataLegend.prototype.cf = function (a) {
|
|
2044
|
+
var b = this.cv;
|
|
2045
|
+
var c = this.cu;
|
|
2034
2046
|
var d = this.an;
|
|
2035
2047
|
var e = DataAbbreviator.h(a, d, b, c);
|
|
2036
2048
|
return e;
|
|
2037
2049
|
};
|
|
2038
|
-
XamDataLegend.prototype.
|
|
2050
|
+
XamDataLegend.prototype.ch = function (a) {
|
|
2039
2051
|
var b = new List$1(Number_$type, 0);
|
|
2040
2052
|
if (a < 0) {
|
|
2041
2053
|
return b;
|
|
2042
2054
|
}
|
|
2043
|
-
for (var c = 0; c < this.
|
|
2044
|
-
var d = this.
|
|
2055
|
+
for (var c = 0; c < this.ce.count; c++) {
|
|
2056
|
+
var d = this.ce._inner[c];
|
|
2045
2057
|
if (d.f.count > a) {
|
|
2046
2058
|
var e = d.f._inner[a].l;
|
|
2047
2059
|
if (!isNaN_(e)) {
|
|
@@ -2051,24 +2063,24 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2051
2063
|
}
|
|
2052
2064
|
return b;
|
|
2053
2065
|
};
|
|
2054
|
-
XamDataLegend.prototype.
|
|
2066
|
+
XamDataLegend.prototype.fl = function (a) {
|
|
2055
2067
|
};
|
|
2056
|
-
XamDataLegend.prototype.
|
|
2068
|
+
XamDataLegend.prototype.h3 = function (a, b, c) {
|
|
2057
2069
|
if (a != null) {
|
|
2058
2070
|
return a;
|
|
2059
2071
|
}
|
|
2060
|
-
if (this.
|
|
2072
|
+
if (this.b6 && c != null) {
|
|
2061
2073
|
return c;
|
|
2062
2074
|
}
|
|
2063
2075
|
return b;
|
|
2064
2076
|
};
|
|
2065
|
-
XamDataLegend.prototype.
|
|
2077
|
+
XamDataLegend.prototype.dz = function (a, b) {
|
|
2066
2078
|
return stringIsNullOrEmpty(a) ? b : a;
|
|
2067
2079
|
};
|
|
2068
|
-
XamDataLegend.prototype.
|
|
2080
|
+
XamDataLegend.prototype.d2 = function (a, b) {
|
|
2069
2081
|
var c = a.d;
|
|
2070
2082
|
if (b == null || isNaN_(c) || isInfinity(c)) {
|
|
2071
|
-
return this.
|
|
2083
|
+
return this.ff;
|
|
2072
2084
|
}
|
|
2073
2085
|
var d;
|
|
2074
2086
|
var e = b.d ? a.d : a.g;
|
|
@@ -2081,23 +2093,23 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2081
2093
|
f = 1;
|
|
2082
2094
|
}
|
|
2083
2095
|
var g = new NumberFormatSpecifier();
|
|
2084
|
-
g.useGrouping = this.
|
|
2085
|
-
g.locale = this.
|
|
2086
|
-
g.currencyCode = this.
|
|
2096
|
+
g.useGrouping = this.b4;
|
|
2097
|
+
g.locale = this.dz(this.ey, null);
|
|
2098
|
+
g.currencyCode = this.e0;
|
|
2087
2099
|
if (b.d) {
|
|
2088
2100
|
g.minimumFractionDigits = a.i;
|
|
2089
2101
|
g.maximumFractionDigits = a.h;
|
|
2090
2102
|
if (b.n >= 0 && b.n > a.i) {
|
|
2091
2103
|
g.minimumFractionDigits = b.n;
|
|
2092
2104
|
}
|
|
2093
|
-
else if (this.
|
|
2094
|
-
g.minimumFractionDigits = this.
|
|
2105
|
+
else if (this.cv >= 0) {
|
|
2106
|
+
g.minimumFractionDigits = this.cv;
|
|
2095
2107
|
}
|
|
2096
2108
|
if (b.m >= 0 && b.m > a.h) {
|
|
2097
2109
|
g.maximumFractionDigits = b.m;
|
|
2098
2110
|
}
|
|
2099
|
-
else if (this.
|
|
2100
|
-
g.maximumFractionDigits = this.
|
|
2111
|
+
else if (this.cu >= 0) {
|
|
2112
|
+
g.maximumFractionDigits = this.cu;
|
|
2101
2113
|
}
|
|
2102
2114
|
}
|
|
2103
2115
|
else {
|
|
@@ -2117,70 +2129,71 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2117
2129
|
this.al.d = [g];
|
|
2118
2130
|
d = this.al.i(e);
|
|
2119
2131
|
if (e > 0) {
|
|
2120
|
-
d = b.
|
|
2132
|
+
d = b.w + d;
|
|
2121
2133
|
}
|
|
2122
2134
|
else if (e < 0) {
|
|
2123
|
-
d = b.
|
|
2135
|
+
d = b.u + d;
|
|
2124
2136
|
}
|
|
2125
2137
|
if (e >= 0) {
|
|
2126
|
-
d += b.
|
|
2138
|
+
d += b.x;
|
|
2127
2139
|
}
|
|
2128
2140
|
else {
|
|
2129
|
-
d += b.
|
|
2141
|
+
d += b.v;
|
|
2130
2142
|
}
|
|
2131
2143
|
}
|
|
2132
2144
|
return d;
|
|
2133
2145
|
};
|
|
2134
|
-
XamDataLegend.prototype.
|
|
2135
|
-
if (this.
|
|
2146
|
+
XamDataLegend.prototype.fj = function (a, b, c) {
|
|
2147
|
+
if (this.b5 == false) {
|
|
2136
2148
|
return;
|
|
2137
2149
|
}
|
|
2138
|
-
var d = this.
|
|
2139
|
-
var e = this.
|
|
2150
|
+
var d = this.ce._inner[c];
|
|
2151
|
+
var e = this.d0(b);
|
|
2140
2152
|
var f = new DataLegendRowInfo(this.a5, false, false, c);
|
|
2141
2153
|
f.f = d.a();
|
|
2142
2154
|
f.m = e;
|
|
2143
2155
|
f.n = e;
|
|
2144
|
-
f.q = this.
|
|
2156
|
+
f.q = this.h8 || f.q;
|
|
2145
2157
|
f.i = this.br || f.i;
|
|
2146
2158
|
for (var g = 0; g < d.f.count; g++) {
|
|
2147
2159
|
var h = d.f._inner[g];
|
|
2148
|
-
var i = this.
|
|
2149
|
-
var j = this.
|
|
2160
|
+
var i = this.b7.item(g).a.item(c);
|
|
2161
|
+
var j = this.b7.item(g).f.item(c);
|
|
2150
2162
|
var k = new DataLegendRowCell(this.a5, false, false, c);
|
|
2151
2163
|
k.s = f.k.count;
|
|
2152
2164
|
k.i = this.bt || k.i;
|
|
2153
|
-
k.
|
|
2154
|
-
k.
|
|
2165
|
+
k.x = j;
|
|
2166
|
+
k.ab = this.h3(this.ia, k.ab, h.y);
|
|
2167
|
+
k.w = h.q;
|
|
2155
2168
|
k.v = h.p;
|
|
2156
2169
|
k.r = h.l;
|
|
2157
2170
|
k.f = i.a;
|
|
2158
|
-
k.u = this.
|
|
2171
|
+
k.u = this.d1(k.s, h.s, i.l, h.d);
|
|
2159
2172
|
k.m = !stringIsNullOrEmpty(k.u);
|
|
2160
|
-
k.
|
|
2173
|
+
k.aa = this.h9 || k.aa;
|
|
2161
2174
|
k.h = this.bs || k.h;
|
|
2162
|
-
k.t = this.
|
|
2175
|
+
k.t = this.dy(k.s, h.r, h.b);
|
|
2163
2176
|
k.j = !stringIsNullOrEmpty(k.t);
|
|
2164
|
-
k.
|
|
2177
|
+
k.z = this.h2 || k.z;
|
|
2165
2178
|
k.g = this.bm || k.g;
|
|
2166
2179
|
f.k.add(k);
|
|
2167
2180
|
}
|
|
2168
2181
|
f.h = this.a9(b);
|
|
2169
|
-
this.
|
|
2170
|
-
this.
|
|
2171
|
-
this.
|
|
2182
|
+
this.fl(f);
|
|
2183
|
+
this.f0(f);
|
|
2184
|
+
this.gb(f);
|
|
2172
2185
|
if (f.b) {
|
|
2173
2186
|
if (f.j) {
|
|
2174
|
-
this.
|
|
2175
|
-
var l = this.
|
|
2176
|
-
var m = this.
|
|
2187
|
+
this.ge(b, f.h);
|
|
2188
|
+
var l = this.gi(b);
|
|
2189
|
+
var m = this.cx(b);
|
|
2177
2190
|
f.p = l;
|
|
2178
2191
|
f.l = m;
|
|
2179
2192
|
}
|
|
2180
2193
|
a.e(f);
|
|
2181
2194
|
}
|
|
2182
2195
|
};
|
|
2183
|
-
XamDataLegend.prototype.
|
|
2196
|
+
XamDataLegend.prototype.cx = function (a) {
|
|
2184
2197
|
return a.getDataLegendBadgeContext();
|
|
2185
2198
|
};
|
|
2186
2199
|
XamDataLegend.prototype.a9 = function (a) {
|
|
@@ -2189,7 +2202,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2189
2202
|
}
|
|
2190
2203
|
return a.legendItemBadgeShape;
|
|
2191
2204
|
};
|
|
2192
|
-
XamDataLegend.prototype.
|
|
2205
|
+
XamDataLegend.prototype.ge = function (a, b) {
|
|
2193
2206
|
if (b == 0) {
|
|
2194
2207
|
return;
|
|
2195
2208
|
}
|
|
@@ -2197,41 +2210,41 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2197
2210
|
a.legendItemBadgeShape = b;
|
|
2198
2211
|
}
|
|
2199
2212
|
};
|
|
2200
|
-
XamDataLegend.prototype.
|
|
2201
|
-
return !isNaN_(this.
|
|
2213
|
+
XamDataLegend.prototype.bz = function () {
|
|
2214
|
+
return !isNaN_(this.cm) && !isNaN_(this.cn);
|
|
2202
2215
|
};
|
|
2203
|
-
XamDataLegend.prototype.
|
|
2216
|
+
XamDataLegend.prototype.gi = function (a) {
|
|
2204
2217
|
return a.getDataLegendBadge();
|
|
2205
2218
|
};
|
|
2206
|
-
XamDataLegend.prototype.
|
|
2219
|
+
XamDataLegend.prototype.d0 = function (a) {
|
|
2207
2220
|
return a.getDataLegendSeriesTitle();
|
|
2208
2221
|
};
|
|
2209
|
-
XamDataLegend.prototype.
|
|
2210
|
-
if (this.
|
|
2222
|
+
XamDataLegend.prototype.fi = function (a, b) {
|
|
2223
|
+
if (this.b0 == false) {
|
|
2211
2224
|
return;
|
|
2212
2225
|
}
|
|
2213
|
-
var c = this.
|
|
2226
|
+
var c = this.dx(b);
|
|
2214
2227
|
if (c == null) {
|
|
2215
|
-
c = this.
|
|
2228
|
+
c = this.cy;
|
|
2216
2229
|
}
|
|
2217
2230
|
else {
|
|
2218
|
-
this.
|
|
2231
|
+
this.cy = c;
|
|
2219
2232
|
}
|
|
2220
2233
|
if (stringIsNullOrEmpty(c)) {
|
|
2221
2234
|
return;
|
|
2222
2235
|
}
|
|
2223
2236
|
var d = new DataLegendRowInfo(this.a5, false, true, -1);
|
|
2224
2237
|
d.n = c;
|
|
2225
|
-
d.q = this.
|
|
2238
|
+
d.q = this.h1 || d.q;
|
|
2226
2239
|
d.i = this.bl || d.i;
|
|
2227
|
-
this.
|
|
2228
|
-
this.
|
|
2229
|
-
this.
|
|
2240
|
+
this.fl(d);
|
|
2241
|
+
this.f0(d);
|
|
2242
|
+
this.ga(d);
|
|
2230
2243
|
if (d.b) {
|
|
2231
2244
|
a.e(d);
|
|
2232
2245
|
}
|
|
2233
2246
|
};
|
|
2234
|
-
XamDataLegend.prototype.
|
|
2247
|
+
XamDataLegend.prototype.ir = function (a) {
|
|
2235
2248
|
var b = new Thickness(0, 0);
|
|
2236
2249
|
if (a.top >= 0) {
|
|
2237
2250
|
b.top = a.top;
|
|
@@ -2247,26 +2260,26 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2247
2260
|
}
|
|
2248
2261
|
return b;
|
|
2249
2262
|
};
|
|
2250
|
-
XamDataLegend.prototype.
|
|
2263
|
+
XamDataLegend.prototype.f0 = function (a) {
|
|
2251
2264
|
var e_14, _a;
|
|
2252
2265
|
if (a.c) {
|
|
2253
|
-
a.x = this.
|
|
2254
|
-
a.w = this.
|
|
2266
|
+
a.x = this.ir(this.ip);
|
|
2267
|
+
a.w = this.ir(this.is);
|
|
2255
2268
|
}
|
|
2256
2269
|
else if (a.a) {
|
|
2257
|
-
a.x = this.
|
|
2258
|
-
a.w = this.
|
|
2270
|
+
a.x = this.ir(this.ik);
|
|
2271
|
+
a.w = this.ir(this.ij);
|
|
2259
2272
|
}
|
|
2260
2273
|
else {
|
|
2261
|
-
a.x = this.
|
|
2262
|
-
a.w = this.
|
|
2274
|
+
a.x = this.ir(this.io);
|
|
2275
|
+
a.w = this.ir(this.im);
|
|
2263
2276
|
}
|
|
2264
2277
|
try {
|
|
2265
2278
|
for (var _b = tslib_1.__values(fromEnum(a.k)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
2266
2279
|
var b = _c.value;
|
|
2267
|
-
b.
|
|
2268
|
-
b.
|
|
2269
|
-
b.
|
|
2280
|
+
b.an = this.ir(this.it);
|
|
2281
|
+
b.am = this.ir(this.iq);
|
|
2282
|
+
b.al = this.ir(this.il);
|
|
2270
2283
|
}
|
|
2271
2284
|
}
|
|
2272
2285
|
catch (e_14_1) {
|
|
@@ -2283,19 +2296,19 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2283
2296
|
}
|
|
2284
2297
|
}
|
|
2285
2298
|
if (a.c) {
|
|
2286
|
-
a.v = this.
|
|
2299
|
+
a.v = this.ir(this.ii);
|
|
2287
2300
|
a.t = new Size(1, 20, 15);
|
|
2288
2301
|
}
|
|
2289
2302
|
};
|
|
2290
|
-
XamDataLegend.prototype.
|
|
2291
|
-
if (this.
|
|
2292
|
-
return this.
|
|
2303
|
+
XamDataLegend.prototype.dx = function (a) {
|
|
2304
|
+
if (this.di != null) {
|
|
2305
|
+
return this.di;
|
|
2293
2306
|
}
|
|
2294
2307
|
var b = true;
|
|
2295
2308
|
var c = null;
|
|
2296
2309
|
for (var d = 0; d < a.count; d++) {
|
|
2297
2310
|
var e = a._inner[d];
|
|
2298
|
-
var f = this.
|
|
2311
|
+
var f = this.dv(e);
|
|
2299
2312
|
if (f == null) {
|
|
2300
2313
|
continue;
|
|
2301
2314
|
}
|
|
@@ -2314,12 +2327,12 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2314
2327
|
}
|
|
2315
2328
|
return null;
|
|
2316
2329
|
};
|
|
2317
|
-
XamDataLegend.prototype.
|
|
2318
|
-
if (this.
|
|
2319
|
-
var b = a.getDataLegendAxisLabelFromCursorPosition(this.
|
|
2330
|
+
XamDataLegend.prototype.dv = function (a) {
|
|
2331
|
+
if (this.bz()) {
|
|
2332
|
+
var b = a.getDataLegendAxisLabelFromCursorPosition(this.cm, this.cn);
|
|
2320
2333
|
if (typeCast(Date_$type, b) !== null) {
|
|
2321
2334
|
var c = b;
|
|
2322
|
-
b = this.
|
|
2335
|
+
b = this.dw(c);
|
|
2323
2336
|
}
|
|
2324
2337
|
return b == null ? "" : b.toString();
|
|
2325
2338
|
}
|
|
@@ -2327,7 +2340,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2327
2340
|
return null;
|
|
2328
2341
|
}
|
|
2329
2342
|
};
|
|
2330
|
-
XamDataLegend.prototype.
|
|
2343
|
+
XamDataLegend.prototype.dw = function (a) {
|
|
2331
2344
|
if (this.ai != null) {
|
|
2332
2345
|
var b = this.ai.i(a);
|
|
2333
2346
|
return b;
|
|
@@ -2374,7 +2387,7 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2374
2387
|
if (e == 5) {
|
|
2375
2388
|
c.timeStyle = null;
|
|
2376
2389
|
}
|
|
2377
|
-
c.locale = this.
|
|
2390
|
+
c.locale = this.dz(this.c9, "en-US");
|
|
2378
2391
|
if (this.aj == null) {
|
|
2379
2392
|
this.aj = new BindingFormatter();
|
|
2380
2393
|
}
|
|
@@ -2384,10 +2397,10 @@ var XamDataLegend = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2384
2397
|
return f;
|
|
2385
2398
|
}
|
|
2386
2399
|
};
|
|
2387
|
-
XamDataLegend.prototype.
|
|
2400
|
+
XamDataLegend.prototype.fn = function () {
|
|
2388
2401
|
};
|
|
2389
2402
|
XamDataLegend.$t = markType(XamDataLegend, 'XamDataLegend', Control.$, [INotifyPropertyChanged_$type, IDataLegend_$type, IOnDemandRender_$type]);
|
|
2390
|
-
XamDataLegend.$$p = markDep(DependencyProperty, PropertyMetadata, XamDataLegend, '
|
|
2403
|
+
XamDataLegend.$$p = markDep(DependencyProperty, PropertyMetadata, XamDataLegend, 'fy', ['BadgeMargin:ii:gj', [Thickness.$, new Thickness(1, 0, 0, 0, 0)], 'BadgeShape:a8:gk', [LegendItemBadgeShape_$type, enumGetBox(LegendItemBadgeShape_$type, 0)], 'ExcludedColumns::gl', [Array_$type, null], 'ExcludedSeries::gm', [Array_$type, null], 'HeaderFormatCulture:c9:gn', [2, stringEmpty()], 'HeaderFormatDate:ap:go', [DataLegendHeaderDateMode_$type, enumGetBox(DataLegendHeaderDateMode_$type, 0)], 'HeaderFormatSpecifiers:ag:gp', [Array_$type, null], 'HeaderFormatString:dd:gq', [2, null], 'HeaderFormatTime:aq:gr', [DataLegendHeaderTimeMode_$type, enumGetBox(DataLegendHeaderTimeMode_$type, 0)], 'HeaderRowMargin:ij:gs', [Thickness.$, new Thickness(0, 5)], 'HeaderRowVisible:b0:gt', [0, true], 'HeaderTextColor:h1:gu', [Brush.$, null], 'HeaderTextMargin:ik:gv', [Thickness.$, 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, enumGetBox(DataLegendLabelMode_$type, 0)], 'LabelTextColor:h2:g0', [Brush.$, null], 'LabelTextMargin:il:g1', [Thickness.$, 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.$, new Thickness(0, 5)], 'SummaryTitleTextColor:h5:g6', [Brush.$, null], 'SummaryTitleTextMargin:io:g7', [Thickness.$, new Thickness(1, 2, 0, 4, 0)], 'SummaryTitleText:d9:g8', [2, null], 'SummaryType:a1:g9', [DataLegendSummaryType_$type, 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.$, new Thickness(1, 0, 0, 4, 0)], 'UnitsDisplayMode:a2:hi', [DataLegendUnitsMode_$type, enumGetBox(DataLegendUnitsMode_$type, 0)], 'UnitsTextColor:h9:hj', [Brush.$, null], 'UnitsTextMargin:iq:hk', [Thickness.$, new Thickness(1, 0, 0, 0, 0)], 'UnitsText:es:hl', [2, null], 'ValueFormatAbbreviation:an:hm', [DataAbbreviationMode_$type, enumGetBox(DataAbbreviationMode_$type, 0)], 'ValueFormatCulture:ey:hn', [2, stringEmpty()], 'ValueFormatCurrencyCode:e0:ho', [2, null], 'ValueFormatMaxFractions:cu:hp', [1, -1], 'ValueFormatMinFractions:cv:hq', [1, -1], 'ValueFormatMode:a3:hr', [DataLegendValueMode_$type, enumGetBox(DataLegendValueMode_$type, 0)], 'ValueFormatSpecifiers:ah:hs', [Array_$type, null], 'ValueFormatString:e6:ht', [2, null], 'ValueFormatUseGrouping:b4:hu', [0, true], 'ValueRowMargin:is:hv', [Thickness.$, new Thickness(0, 5)], 'ValueRowVisible:b5:hw', [0, true], 'ValueTextColor:ia:hx', [Brush.$, null], 'ValueTextMargin:it:hy', [Thickness.$, new Thickness(1, 2, 0, 2, 0)], 'ValueTextUseSeriesColors:b6:hz', [0, false], 'ValueTextWhenMissingData:ff:h0', [2, "N/A"]]);
|
|
2391
2404
|
return XamDataLegend;
|
|
2392
2405
|
}(Control));
|
|
2393
2406
|
export { XamDataLegend };
|
|
@@ -2476,7 +2489,7 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2476
2489
|
return _this;
|
|
2477
2490
|
}
|
|
2478
2491
|
DataLegendView.prototype.ar = function () {
|
|
2479
|
-
this.a.
|
|
2492
|
+
this.a.fp();
|
|
2480
2493
|
};
|
|
2481
2494
|
DataLegendView.prototype.bl = function () {
|
|
2482
2495
|
var a = new TextBlock();
|
|
@@ -2549,23 +2562,23 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2549
2562
|
};
|
|
2550
2563
|
DataLegendView.prototype.au = function () {
|
|
2551
2564
|
var a = this.a.pixelScalingRatio;
|
|
2552
|
-
var b = this.a.
|
|
2565
|
+
var b = this.a.co;
|
|
2553
2566
|
if (!isNaN_(a) && a != 0) {
|
|
2554
2567
|
return;
|
|
2555
2568
|
}
|
|
2556
2569
|
if (window.devicePixelRatio != undefined && window.devicePixelRatio != b) {
|
|
2557
|
-
this.a.
|
|
2570
|
+
this.a.co = window.devicePixelRatio;
|
|
2558
2571
|
}
|
|
2559
2572
|
};
|
|
2560
2573
|
DataLegendView.prototype.a3 = function () {
|
|
2561
2574
|
this.au();
|
|
2562
2575
|
var a = Math.round(this.ah.rootWrapper.width());
|
|
2563
2576
|
var b = Math.round(this.ah.rootWrapper.height());
|
|
2564
|
-
this.a.
|
|
2577
|
+
this.a.ic = new Rect(0, 0, 0, a, b);
|
|
2565
2578
|
if (this.b != null) {
|
|
2566
|
-
this.b.bl = this.a.
|
|
2579
|
+
this.b.bl = this.a.ic;
|
|
2567
2580
|
}
|
|
2568
|
-
this.a.
|
|
2581
|
+
this.a.f3();
|
|
2569
2582
|
};
|
|
2570
2583
|
DataLegendView.prototype.al = function () {
|
|
2571
2584
|
if (this.b != null) {
|
|
@@ -2581,7 +2594,7 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2581
2594
|
this.al();
|
|
2582
2595
|
return;
|
|
2583
2596
|
}
|
|
2584
|
-
this.ae = (isNaN_(this.a.pixelScalingRatio) ? this.a.
|
|
2597
|
+
this.ae = (isNaN_(this.a.pixelScalingRatio) ? this.a.co : this.a.pixelScalingRatio);
|
|
2585
2598
|
var b = a;
|
|
2586
2599
|
this.ah = b;
|
|
2587
2600
|
var c = this.ae;
|
|
@@ -2599,7 +2612,7 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2599
2612
|
h.setAttribute("height", g.toString());
|
|
2600
2613
|
h.setStyleProperty("width", d.toString() + "px");
|
|
2601
2614
|
h.setStyleProperty("height", e.toString() + "px");
|
|
2602
|
-
this.a.
|
|
2615
|
+
this.a.ic = new Rect(0, 0, 0, d, e);
|
|
2603
2616
|
this.ai = h;
|
|
2604
2617
|
var i = this.ah.get2DCanvasContext(this.ai);
|
|
2605
2618
|
this.t = new RenderingContext(new CanvasViewRenderer(), i);
|
|
@@ -2616,8 +2629,8 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2616
2629
|
DataLegendView.prototype.as = function (a) {
|
|
2617
2630
|
};
|
|
2618
2631
|
DataLegendView.prototype.a6 = function () {
|
|
2619
|
-
var a = this.a.
|
|
2620
|
-
var b = this.a.
|
|
2632
|
+
var a = this.a.ic.width;
|
|
2633
|
+
var b = this.a.ic.height;
|
|
2621
2634
|
var c = Math.round(a * this.ae);
|
|
2622
2635
|
var d = Math.round(b * this.ae);
|
|
2623
2636
|
if (this.ak != c || this.aj != d) {
|
|
@@ -2632,11 +2645,13 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2632
2645
|
};
|
|
2633
2646
|
DataLegendView.prototype.a7 = function (a, b) {
|
|
2634
2647
|
if (a.d && b != 1) {
|
|
2635
|
-
a.
|
|
2636
|
-
a.
|
|
2648
|
+
a.aa();
|
|
2649
|
+
a.ab(b, b);
|
|
2637
2650
|
}
|
|
2638
2651
|
if (a == this.t) {
|
|
2639
|
-
|
|
2652
|
+
if (!a.e) {
|
|
2653
|
+
a.l(this.a.ic.left, this.a.ic.top, this.a.ic.width, this.a.ic.height);
|
|
2654
|
+
}
|
|
2640
2655
|
}
|
|
2641
2656
|
var c = new DataTemplatePassInfo();
|
|
2642
2657
|
c.passID = "LegendItem";
|
|
@@ -2651,7 +2666,7 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2651
2666
|
}
|
|
2652
2667
|
var g = new DataTemplateMeasureInfo();
|
|
2653
2668
|
g.passInfo = c;
|
|
2654
|
-
g.context = this.t.
|
|
2669
|
+
g.context = this.t.h();
|
|
2655
2670
|
g.width = e.width;
|
|
2656
2671
|
g.height = e.height;
|
|
2657
2672
|
g.data = e.content;
|
|
@@ -2661,52 +2676,52 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2661
2676
|
h.availableWidth = e.width;
|
|
2662
2677
|
h.availableHeight = e.height;
|
|
2663
2678
|
h.passInfo = c;
|
|
2664
|
-
h.context = a.
|
|
2679
|
+
h.context = a.h();
|
|
2665
2680
|
h.renderContext = a;
|
|
2666
2681
|
h.data = e.content;
|
|
2667
2682
|
h.xPosition = e.n;
|
|
2668
2683
|
h.yPosition = e.o;
|
|
2669
|
-
a.
|
|
2670
|
-
a.
|
|
2684
|
+
a.aa();
|
|
2685
|
+
a.ag(e.n, e.o);
|
|
2671
2686
|
f.render(h);
|
|
2672
|
-
a.
|
|
2687
|
+
a.z();
|
|
2673
2688
|
}
|
|
2674
2689
|
for (var i = 0; i < this.ab.count; i++) {
|
|
2675
2690
|
var j = this.ab._inner[i];
|
|
2676
|
-
a.
|
|
2677
|
-
a.
|
|
2691
|
+
a.ad(j.dataContext);
|
|
2692
|
+
a.x(j);
|
|
2678
2693
|
}
|
|
2679
2694
|
for (var k = 0; k < this.z.count; k++) {
|
|
2680
2695
|
var l = this.z._inner[k];
|
|
2681
|
-
a.
|
|
2682
|
-
a.
|
|
2696
|
+
a.ad(l.dataContext);
|
|
2697
|
+
a.x(l);
|
|
2683
2698
|
}
|
|
2684
2699
|
for (var m = 0; m < this.ad.count; m++) {
|
|
2685
2700
|
var n = this.ad._inner[m];
|
|
2686
|
-
a.
|
|
2687
|
-
a.
|
|
2701
|
+
a.ad(n.dataContext);
|
|
2702
|
+
a.x(n);
|
|
2688
2703
|
}
|
|
2689
2704
|
for (var o = 0; o < this.ac.count; o++) {
|
|
2690
2705
|
var p = this.ac._inner[o];
|
|
2691
|
-
a.
|
|
2692
|
-
a.
|
|
2706
|
+
a.ad(p.dataContext);
|
|
2707
|
+
a.x(p);
|
|
2693
2708
|
}
|
|
2694
2709
|
if (a.d && b != 1) {
|
|
2695
|
-
a.
|
|
2710
|
+
a.z();
|
|
2696
2711
|
}
|
|
2697
2712
|
};
|
|
2698
2713
|
DataLegendView.prototype.w = function () {
|
|
2699
2714
|
if (this.ah != null) {
|
|
2700
|
-
this.ah.setTimeout(runOn(this.a, this.a.
|
|
2715
|
+
this.ah.setTimeout(runOn(this.a, this.a.fp), 0);
|
|
2701
2716
|
return true;
|
|
2702
2717
|
}
|
|
2703
2718
|
return false;
|
|
2704
2719
|
};
|
|
2705
2720
|
DataLegendView.prototype.bu = function (a, b) {
|
|
2706
|
-
this.t.
|
|
2721
|
+
this.t.ad(b);
|
|
2707
2722
|
var c = new TextBlock();
|
|
2708
2723
|
c.al = a;
|
|
2709
|
-
var d = this.t.
|
|
2724
|
+
var d = this.t.ah(c, this.ag(b), true);
|
|
2710
2725
|
return new Size(1, d.c, d.b);
|
|
2711
2726
|
};
|
|
2712
2727
|
DataLegendView.prototype.ag = function (a) {
|
|
@@ -2868,7 +2883,7 @@ var DataLegendView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
2868
2883
|
};
|
|
2869
2884
|
DataLegendView.prototype.ap = function (a, b) {
|
|
2870
2885
|
a.ag = true;
|
|
2871
|
-
var c = this.t.
|
|
2886
|
+
var c = this.t.ah(a, this.ag(b), true);
|
|
2872
2887
|
};
|
|
2873
2888
|
DataLegendView.prototype.a9 = function () {
|
|
2874
2889
|
this.y.clear();
|