igniteui-webcomponents-charts 4.3.3-beta.1 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-charts.umd.js +7780 -7646
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm2015/lib/AnchoredCategorySeries_combined.js +2 -2
- package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
- package/esm2015/lib/AngleAxisLabelPanel_combined.js +10 -10
- package/esm2015/lib/AnnotationLayer_combined.js +4 -4
- package/esm2015/lib/AxisAnnotationFrameManager.js +2 -2
- package/esm2015/lib/AxisAnnotationManager.js +1 -1
- package/esm2015/lib/BollingerBandsOverlay_combined.js +1 -1
- package/esm2015/lib/BubbleSeries_combined.js +4 -4
- package/esm2015/lib/CalloutLayer_combined.js +3 -3
- package/esm2015/lib/CategoryBucketCalculator_combined.js +5 -5
- package/esm2015/lib/CategoryChart.js +429 -429
- package/esm2015/lib/CategoryChartToolbarProvider.js +8 -8
- package/esm2015/lib/CategoryDateTimeXAxis_combined.js +4 -4
- package/esm2015/lib/CategoryItemHighlightLayer_combined.js +10 -10
- package/esm2015/lib/CategoryToolTipLayer_combined.js +2 -2
- package/esm2015/lib/CategoryXAxis_combined.js +20 -20
- package/esm2015/lib/CategoryYAxis_combined.js +20 -20
- package/esm2015/lib/ColumnSeries_combined.js +2 -2
- package/esm2015/lib/DataChartToolbarProvider.js +6 -6
- package/esm2015/lib/DataChartVisualDataManager.js +1 -1
- package/esm2015/lib/DataLegendContent_combined.js +251 -243
- package/esm2015/lib/DataToolTipLayer_combined.js +6 -6
- package/esm2015/lib/DomainChartToolbarProvider.js +15 -15
- package/esm2015/lib/DomainChart_combined.js +1520 -1512
- package/esm2015/lib/FinancialChartDropDownControl.js +10 -3
- package/esm2015/lib/FinancialChartIndicatorMenuView.js +26 -16
- package/esm2015/lib/FinancialChart_combined.js +1320 -1320
- package/esm2015/lib/FinancialEventArgs_combined.js +1 -1
- package/esm2015/lib/FinancialIndicator_combined.js +1 -1
- package/esm2015/lib/FinancialPriceSeries_combined.js +4 -4
- package/esm2015/lib/HighDensityScatterSeries_combined.js +4 -4
- package/esm2015/lib/HorizontalAnchoredCategorySeries.js +3 -3
- package/esm2015/lib/HorizontalRangeCategorySeries.js +6 -6
- package/esm2015/lib/NumericXAxis_combined.js +3 -3
- package/esm2015/lib/NumericYAxis_combined.js +3 -3
- package/esm2015/lib/OrdinalTimeXAxis.js +2 -2
- package/esm2015/lib/PolarBase_combined.js +3 -3
- package/esm2015/lib/PolarLineSeriesBase_combined.js +1 -1
- package/esm2015/lib/PriceChannelOverlay_combined.js +2 -2
- package/esm2015/lib/RadialAxisLabelPanel_combined.js +1 -1
- package/esm2015/lib/RadialBucketCalculator_combined.js +3 -3
- package/esm2015/lib/RangeCategoryBucketCalculator_combined.js +2 -2
- package/esm2015/lib/ScatterAreaSeries_combined.js +1 -1
- package/esm2015/lib/ScatterBase_combined.js +9 -9
- package/esm2015/lib/ScatterPolygonSeries_combined.js +14 -14
- package/esm2015/lib/SeriesInteractionManager.js +22 -22
- package/esm2015/lib/SeriesViewerInteractionManager.js +124 -124
- package/esm2015/lib/SeriesViewerScrollbarManager.js +4 -4
- package/esm2015/lib/SeriesViewerSurfaceViewer.js +9 -9
- package/esm2015/lib/SeriesViewer_combined.js +1719 -1667
- package/esm2015/lib/SeriesVisualDataManager.js +20 -20
- package/esm2015/lib/ShapeSeriesBase_combined.js +2 -2
- package/esm2015/lib/SplineSeriesBase_combined.js +1 -1
- package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +23 -23
- package/esm2015/lib/TileZoomManager_combined.js +4 -4
- package/esm2015/lib/TimeAxisBase.js +6 -6
- package/esm2015/lib/TimeXAxis.js +9 -9
- package/esm2015/lib/ValueOverlay_combined.js +1 -1
- package/esm2015/lib/VerticalAnchoredCategorySeries.js +5 -5
- package/esm2015/lib/VerticalAnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm2015/lib/XYChart.js +742 -742
- package/esm2015/lib/igc-category-chart-component.js +126 -126
- package/esm2015/lib/igc-data-chart-component.js +95 -95
- package/esm2015/lib/igc-domain-chart-component.js +548 -545
- package/esm2015/lib/igc-financial-chart-component.js +172 -172
- package/esm2015/lib/igc-financial-chart-default-templates-component.js +22 -3
- package/esm2015/lib/igc-series-viewer-component.js +258 -255
- package/esm2015/lib/igc-xy-chart-component.js +218 -218
- package/esm5/lib/AnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm5/lib/AnchoredCategorySeries_combined.js +2 -2
- package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +2 -2
- package/esm5/lib/AngleAxisLabelPanel_combined.js +10 -10
- package/esm5/lib/AnnotationLayer_combined.js +4 -4
- package/esm5/lib/AxisAnnotationFrameManager.js +2 -2
- package/esm5/lib/AxisAnnotationManager.js +1 -1
- package/esm5/lib/BollingerBandsOverlay_combined.js +1 -1
- package/esm5/lib/BubbleSeries_combined.js +4 -4
- package/esm5/lib/CalloutLayer_combined.js +3 -3
- package/esm5/lib/CategoryBucketCalculator_combined.js +5 -5
- package/esm5/lib/CategoryChart.js +414 -414
- package/esm5/lib/CategoryChartToolbarProvider.js +8 -8
- package/esm5/lib/CategoryDateTimeXAxis_combined.js +4 -4
- package/esm5/lib/CategoryItemHighlightLayer_combined.js +10 -10
- package/esm5/lib/CategoryToolTipLayer_combined.js +2 -2
- package/esm5/lib/CategoryXAxis_combined.js +20 -20
- package/esm5/lib/CategoryYAxis_combined.js +20 -20
- package/esm5/lib/ColumnSeries_combined.js +2 -2
- package/esm5/lib/DataChartToolbarProvider.js +6 -6
- package/esm5/lib/DataChartVisualDataManager.js +1 -1
- package/esm5/lib/DataLegendContent_combined.js +253 -241
- package/esm5/lib/DataToolTipLayer_combined.js +6 -6
- package/esm5/lib/DomainChartToolbarProvider.js +15 -15
- package/esm5/lib/DomainChart_combined.js +1440 -1428
- package/esm5/lib/FinancialChartDropDownControl.js +10 -3
- package/esm5/lib/FinancialChartIndicatorMenuView.js +33 -19
- package/esm5/lib/FinancialChart_combined.js +1286 -1286
- package/esm5/lib/FinancialEventArgs_combined.js +1 -1
- package/esm5/lib/FinancialIndicator_combined.js +1 -1
- package/esm5/lib/FinancialPriceSeries_combined.js +4 -4
- package/esm5/lib/HighDensityScatterSeries_combined.js +4 -4
- package/esm5/lib/HorizontalAnchoredCategorySeries.js +3 -3
- package/esm5/lib/HorizontalRangeCategorySeries.js +6 -6
- package/esm5/lib/NumericXAxis_combined.js +3 -3
- package/esm5/lib/NumericYAxis_combined.js +3 -3
- package/esm5/lib/OrdinalTimeXAxis.js +2 -2
- package/esm5/lib/PolarBase_combined.js +3 -3
- package/esm5/lib/PolarLineSeriesBase_combined.js +1 -1
- package/esm5/lib/PriceChannelOverlay_combined.js +2 -2
- package/esm5/lib/RadialAxisLabelPanel_combined.js +1 -1
- package/esm5/lib/RadialBucketCalculator_combined.js +3 -3
- package/esm5/lib/RangeCategoryBucketCalculator_combined.js +2 -2
- package/esm5/lib/ScatterAreaSeries_combined.js +1 -1
- package/esm5/lib/ScatterBase_combined.js +9 -9
- package/esm5/lib/ScatterPolygonSeries_combined.js +14 -14
- package/esm5/lib/SeriesInteractionManager.js +22 -22
- package/esm5/lib/SeriesViewerInteractionManager.js +124 -124
- package/esm5/lib/SeriesViewerScrollbarManager.js +4 -4
- package/esm5/lib/SeriesViewerSurfaceViewer.js +9 -9
- package/esm5/lib/SeriesViewer_combined.js +1711 -1655
- package/esm5/lib/SeriesVisualDataManager.js +20 -20
- package/esm5/lib/ShapeSeriesBase_combined.js +2 -2
- package/esm5/lib/SplineSeriesBase_combined.js +1 -1
- package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +23 -23
- package/esm5/lib/TileZoomManager_combined.js +4 -4
- package/esm5/lib/TimeAxisBase.js +6 -6
- package/esm5/lib/TimeXAxis.js +9 -9
- package/esm5/lib/ValueOverlay_combined.js +1 -1
- package/esm5/lib/VerticalAnchoredCategorySeries.js +5 -5
- package/esm5/lib/VerticalAnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm5/lib/XYChart.js +698 -698
- package/esm5/lib/igc-category-chart-component.js +126 -126
- package/esm5/lib/igc-data-chart-component.js +95 -95
- package/esm5/lib/igc-domain-chart-component.js +552 -545
- package/esm5/lib/igc-financial-chart-component.js +172 -172
- package/esm5/lib/igc-financial-chart-default-templates-component.js +22 -3
- package/esm5/lib/igc-series-viewer-component.js +262 -255
- package/esm5/lib/igc-xy-chart-component.js +218 -218
- package/fesm2015/igniteui-webcomponents-charts.js +7872 -7762
- package/fesm5/igniteui-webcomponents-charts.js +7780 -7646
- package/lib/CategoryChart.d.ts +131 -131
- package/lib/DataLegendContent_combined.d.ts +50 -49
- package/lib/DomainChart_combined.d.ts +476 -473
- package/lib/FinancialChart_combined.d.ts +286 -286
- package/lib/SeriesViewer_combined.d.ts +498 -494
- package/lib/XYChart.d.ts +195 -195
- package/lib/igc-domain-chart-component.d.ts +1 -0
- package/lib/igc-financial-chart-default-templates-component.d.ts +1 -1
- package/lib/igc-series-viewer-component.d.ts +1 -0
- package/package.json +2 -2
|
@@ -23,7 +23,7 @@ var CategoryChartToolbarProvider = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
23
23
|
case "ShowGridlines":
|
|
24
24
|
{
|
|
25
25
|
var d = b;
|
|
26
|
-
d.isChecked = c.
|
|
26
|
+
d.isChecked = c.acg != null;
|
|
27
27
|
}
|
|
28
28
|
break;
|
|
29
29
|
}
|
|
@@ -32,26 +32,26 @@ var CategoryChartToolbarProvider = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
32
32
|
var e = a;
|
|
33
33
|
switch (b) {
|
|
34
34
|
case "XAxisMajorStroke":
|
|
35
|
-
this.f("ShowGridlines", 2, a.
|
|
35
|
+
this.f("ShowGridlines", 2, a.acg != null);
|
|
36
36
|
break;
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
CategoryChartToolbarProvider.prototype.k = function (a, b) {
|
|
40
40
|
var c = a;
|
|
41
41
|
if (this.c(b, "ShowGridlines")) {
|
|
42
|
-
if (c.
|
|
42
|
+
if (c.acg == null) {
|
|
43
43
|
if (this.y != null) {
|
|
44
|
-
c.
|
|
44
|
+
c.acg = this.y;
|
|
45
45
|
}
|
|
46
46
|
else {
|
|
47
|
-
c.
|
|
47
|
+
c.acg = c.dataChart.x5;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
|
-
if (c.
|
|
53
|
-
this.y = c.
|
|
54
|
-
c.
|
|
52
|
+
if (c.acg != null) {
|
|
53
|
+
this.y = c.acg;
|
|
54
|
+
c.acg = null;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
};
|
|
@@ -97,7 +97,7 @@ var CategoryDateTimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
97
97
|
};
|
|
98
98
|
CategoryDateTimeXAxis.prototype.h9 = function (a) {
|
|
99
99
|
_super.prototype.h9.call(this, a);
|
|
100
|
-
var b = this.bi != null ? this.bi.
|
|
100
|
+
var b = this.bi != null ? this.bi.tk : Rect.empty;
|
|
101
101
|
var c = !b.isEmpty ? this.kd : Rect.empty;
|
|
102
102
|
var d = this.j8();
|
|
103
103
|
var e = this.j7();
|
|
@@ -235,7 +235,7 @@ var CategoryDateTimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
235
235
|
}
|
|
236
236
|
if ((this.az == null || this.az.visibility == 0) && this.aj != null) {
|
|
237
237
|
if (this.az != null && (this.az.location == 4 || this.az.location == 5)) {
|
|
238
|
-
this.bi.
|
|
238
|
+
this.bi.me();
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
this.aw.a9 = this.dc;
|
|
@@ -270,7 +270,7 @@ var CategoryDateTimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
270
270
|
}
|
|
271
271
|
var c = (a.getTime() - this.actualMinimumValue.getTime()) / (this.actualMaximumValue.getTime() - this.actualMinimumValue.getTime());
|
|
272
272
|
var d = (b.getTime() - this.actualMinimumValue.getTime()) / (this.actualMaximumValue.getTime() - this.actualMinimumValue.getTime());
|
|
273
|
-
this.bi.
|
|
273
|
+
this.bi.t0 = new Rect(0, c, this.bi.t0.y, d - c, this.bi.t0.height);
|
|
274
274
|
};
|
|
275
275
|
CategoryDateTimeXAxis.prototype.hw = function (a, b, c, d) {
|
|
276
276
|
_super.prototype.hw.call(this, a, b, c, d);
|
|
@@ -290,7 +290,7 @@ var CategoryDateTimeXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
290
290
|
_super.prototype.nd.call(this);
|
|
291
291
|
if (this.nq()) {
|
|
292
292
|
this.nv = this.ny;
|
|
293
|
-
var a = this.bi != null ? this.bi.
|
|
293
|
+
var a = this.bi != null ? this.bi.tk : Rect.empty;
|
|
294
294
|
var b = !a.isEmpty ? this.kd : Rect.empty;
|
|
295
295
|
var c = Math.abs(this.actualMaximumValue.getTime() - this.actualMinimumValue.getTime());
|
|
296
296
|
this.ml = this.np() || (this.no == 1) || (1 * c / this.ns() > (b.width / a.width)) ? false : true;
|
|
@@ -295,34 +295,34 @@ var CategoryItemHighlightLayer = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
295
295
|
switch (f) {
|
|
296
296
|
case 3:
|
|
297
297
|
case 13:
|
|
298
|
-
e = this.ce.
|
|
298
|
+
e = this.ce.pw;
|
|
299
299
|
break;
|
|
300
300
|
case 4:
|
|
301
|
-
e = this.ce.
|
|
301
|
+
e = this.ce.p5;
|
|
302
302
|
break;
|
|
303
303
|
case 5:
|
|
304
|
-
e = this.ce.
|
|
304
|
+
e = this.ce.p2;
|
|
305
305
|
break;
|
|
306
306
|
case 6:
|
|
307
|
-
e = this.ce.
|
|
307
|
+
e = this.ce.p3;
|
|
308
308
|
break;
|
|
309
309
|
case 7:
|
|
310
|
-
e = this.ce.
|
|
310
|
+
e = this.ce.px;
|
|
311
311
|
break;
|
|
312
312
|
case 8:
|
|
313
|
-
e = this.ce.
|
|
313
|
+
e = this.ce.p0;
|
|
314
314
|
break;
|
|
315
315
|
case 9:
|
|
316
|
-
e = this.ce.
|
|
316
|
+
e = this.ce.py;
|
|
317
317
|
break;
|
|
318
318
|
case 10:
|
|
319
|
-
e = this.ce.
|
|
319
|
+
e = this.ce.p4;
|
|
320
320
|
break;
|
|
321
321
|
case 11:
|
|
322
|
-
e = this.ce.
|
|
322
|
+
e = this.ce.p1;
|
|
323
323
|
break;
|
|
324
324
|
case 12:
|
|
325
|
-
e = this.ce.
|
|
325
|
+
e = this.ce.pz;
|
|
326
326
|
break;
|
|
327
327
|
}
|
|
328
328
|
}
|
|
@@ -512,7 +512,7 @@ var CategoryToolTipLayerView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
512
512
|
var b = 0;
|
|
513
513
|
var c = 0;
|
|
514
514
|
if (this.e.ce != null) {
|
|
515
|
-
var d = this.e.ce.
|
|
515
|
+
var d = this.e.ce.td();
|
|
516
516
|
b += d.x;
|
|
517
517
|
c += d.y;
|
|
518
518
|
}
|
|
@@ -571,7 +571,7 @@ var CategoryToolTipLayerView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
571
571
|
var c = 0;
|
|
572
572
|
var d = 0;
|
|
573
573
|
if (this.e.ce != null) {
|
|
574
|
-
var e = this.e.ce.
|
|
574
|
+
var e = this.e.ce.td();
|
|
575
575
|
c += e.x;
|
|
576
576
|
d += e.y;
|
|
577
577
|
}
|
|
@@ -112,7 +112,7 @@ var CategoryXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
112
112
|
return this.mr;
|
|
113
113
|
};
|
|
114
114
|
CategoryXAxis.prototype.m7 = function (a) {
|
|
115
|
-
var b = this.bi != null ? this.bi.
|
|
115
|
+
var b = this.bi != null ? this.bi.tk : Rect.empty;
|
|
116
116
|
b = b.copy();
|
|
117
117
|
var c = this.kd;
|
|
118
118
|
var d = this.ka();
|
|
@@ -120,7 +120,7 @@ var CategoryXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
120
120
|
var f = new ScalerParams(0, e, e, this.ch, d);
|
|
121
121
|
var g = !b.isEmpty && !c.isEmpty && this.kr != null ? this.kr.indexOf(a) : -1;
|
|
122
122
|
var h = g > -1 ? this.ej(g, f) : NaN;
|
|
123
|
-
if (!isNaN_(h) && this.bi.
|
|
123
|
+
if (!isNaN_(h) && this.bi.eo) {
|
|
124
124
|
if (!isNaN_(h)) {
|
|
125
125
|
if (h < b.left + 0.1 * b.width) {
|
|
126
126
|
h = h + 0.4 * b.width;
|
|
@@ -131,7 +131,7 @@ var CategoryXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
131
131
|
b.x = h - 0.5 * b.width;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
this.bi.
|
|
134
|
+
this.bi.pt(b, false, true);
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
CategoryXAxis.prototype.ej = function (a, b) {
|
|
@@ -259,11 +259,11 @@ var CategoryXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
259
259
|
}
|
|
260
260
|
var c = a / this.kr.count;
|
|
261
261
|
var d = (b + 1) / this.kr.count;
|
|
262
|
-
this.bi.
|
|
262
|
+
this.bi.t0 = new Rect(0, c, this.bi.t0.y, d - c, this.bi.t0.height);
|
|
263
263
|
};
|
|
264
264
|
CategoryXAxis.prototype.h9 = function (a) {
|
|
265
265
|
_super.prototype.h9.call(this, a);
|
|
266
|
-
var b = this.bi != null ? this.bi.
|
|
266
|
+
var b = this.bi != null ? this.bi.tk : Rect.empty;
|
|
267
267
|
var c = this.kd;
|
|
268
268
|
var d = this.j8();
|
|
269
269
|
var e = this.j7();
|
|
@@ -484,7 +484,7 @@ var CategoryXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
484
484
|
this.mx = null;
|
|
485
485
|
if ((this.az == null || this.az.visibility == 0) && this.aj != null) {
|
|
486
486
|
if (this.az != null && (this.az.location == 4 || this.az.location == 5)) {
|
|
487
|
-
this.bi.
|
|
487
|
+
this.bi.me();
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
490
|
this.a5.ax(this.dc, this.dd);
|
|
@@ -514,13 +514,13 @@ var CategoryXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
514
514
|
var b = MathUtil.a(a) && a > 0;
|
|
515
515
|
var c = this.kr.count;
|
|
516
516
|
if (c > 0 && b) {
|
|
517
|
-
var d = this.bi.
|
|
517
|
+
var d = this.bi.tz.width;
|
|
518
518
|
var e = isNaN_(d) || isInfinity(d);
|
|
519
519
|
if (e) {
|
|
520
520
|
return NaN;
|
|
521
521
|
}
|
|
522
522
|
var f = new Rect(0, 0, 0, 1, 1);
|
|
523
|
-
var g = this.bi.
|
|
523
|
+
var g = this.bi.tz;
|
|
524
524
|
var h = this.getCategorySize(f, g, g);
|
|
525
525
|
var i = isNaN_(h) || isInfinity(h);
|
|
526
526
|
if (i) {
|
|
@@ -537,13 +537,13 @@ var CategoryXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
537
537
|
var b = MathUtil.a(a) && a > 0;
|
|
538
538
|
var c = this.kr.count;
|
|
539
539
|
if (c > 0 && b) {
|
|
540
|
-
var d = this.bi.
|
|
540
|
+
var d = this.bi.tz.width;
|
|
541
541
|
var e = isNaN_(d) || isInfinity(d);
|
|
542
542
|
if (e) {
|
|
543
543
|
return NaN;
|
|
544
544
|
}
|
|
545
545
|
var f = new Rect(0, 0, 0, 1, 1);
|
|
546
|
-
var g = this.bi.
|
|
546
|
+
var g = this.bi.tz;
|
|
547
547
|
var h = this.k4(f, g, g);
|
|
548
548
|
var i = a / h;
|
|
549
549
|
var j = Math.min(1, 1 / i);
|
|
@@ -557,20 +557,20 @@ var CategoryXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
557
557
|
if (this.kr == null || this.bi == null) {
|
|
558
558
|
return;
|
|
559
559
|
}
|
|
560
|
-
var a = !isNaN_(this.bi.
|
|
560
|
+
var a = !isNaN_(this.bi.hp) && !isNaN_(this.bi.hr);
|
|
561
561
|
if (a) {
|
|
562
562
|
return;
|
|
563
563
|
}
|
|
564
564
|
if (!isNaN_(this.zoomMaximumItemSpan) && !isInfinity(this.zoomMaximumItemSpan)) {
|
|
565
565
|
var b = this.getWindowZoomFromItemSpan(this.zoomMaximumItemSpan);
|
|
566
566
|
if (!isNaN_(b) && !isInfinity(b)) {
|
|
567
|
-
this.bi.
|
|
567
|
+
this.bi.gk = b;
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
else if (!isNaN_(this.zoomMaximumCategoryRange) && !isInfinity(this.zoomMaximumCategoryRange)) {
|
|
571
571
|
var c = this.getWindowZoomFromCategories(this.zoomMaximumCategoryRange);
|
|
572
572
|
if (!isNaN_(c) && !isInfinity(c)) {
|
|
573
|
-
this.bi.
|
|
573
|
+
this.bi.gk = c;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
};
|
|
@@ -580,31 +580,31 @@ var CategoryXAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
580
580
|
}
|
|
581
581
|
var a = NaN;
|
|
582
582
|
var b = NaN;
|
|
583
|
-
var c = this.bi.
|
|
584
|
-
var d = this.bi.
|
|
583
|
+
var c = this.bi.gq();
|
|
584
|
+
var d = this.bi.gr();
|
|
585
585
|
var e = false;
|
|
586
586
|
if (MathUtil.a(this.zoomToItemSpan) && this.zoomToItemSpan > 0) {
|
|
587
587
|
e = true;
|
|
588
588
|
c = this.getWindowZoomFromItemSpan(this.zoomToItemSpan);
|
|
589
|
-
c = Math.max(c, this.bi.
|
|
589
|
+
c = Math.max(c, this.bi.gk);
|
|
590
590
|
}
|
|
591
591
|
else if (MathUtil.a(this.zoomToCategoryRange) && this.zoomToCategoryRange > 0 && this.zoomToCategoryRange <= this.lg) {
|
|
592
592
|
e = true;
|
|
593
593
|
c = this.getWindowZoomFromCategories(this.zoomToCategoryRange);
|
|
594
|
-
c = Math.max(c, this.bi.
|
|
594
|
+
c = Math.max(c, this.bi.gk);
|
|
595
595
|
}
|
|
596
596
|
if (MathUtil.a(this.zoomToCategoryStart) && this.zoomToCategoryStart >= 0 && this.zoomToCategoryStart < this.lg) {
|
|
597
597
|
e = true;
|
|
598
598
|
a = this.getWindowZoomFromCategories(this.zoomToCategoryStart);
|
|
599
599
|
var f = c + a - 1;
|
|
600
600
|
var g = c - f;
|
|
601
|
-
if (f > 0 && g > this.bi.
|
|
601
|
+
if (f > 0 && g > this.bi.gk) {
|
|
602
602
|
c = g;
|
|
603
|
-
c = Math.max(c, this.bi.
|
|
603
|
+
c = Math.max(c, this.bi.gk);
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
606
|
if (e) {
|
|
607
|
-
this.bi.
|
|
607
|
+
this.bi.pr(a, b, c, d);
|
|
608
608
|
}
|
|
609
609
|
};
|
|
610
610
|
CategoryXAxis.prototype.hw = function (a, b, c, d) {
|
|
@@ -244,7 +244,7 @@ var CategoryYAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
244
244
|
}
|
|
245
245
|
var c = a / this.kr.count;
|
|
246
246
|
var d = b / this.kr.count;
|
|
247
|
-
this.bi.
|
|
247
|
+
this.bi.t0 = new Rect(0, this.bi.t0.x, 1 - d, this.bi.t0.width, d - c);
|
|
248
248
|
};
|
|
249
249
|
CategoryYAxis.prototype.av = function () {
|
|
250
250
|
return new VerticalAxisLabelPanel();
|
|
@@ -282,7 +282,7 @@ var CategoryYAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
282
282
|
return this.getCategorySize(b, c, d) * e;
|
|
283
283
|
};
|
|
284
284
|
CategoryYAxis.prototype.m3 = function (a) {
|
|
285
|
-
var b = this.bi != null ? this.bi.
|
|
285
|
+
var b = this.bi != null ? this.bi.tk : Rect.empty;
|
|
286
286
|
b = b.copy();
|
|
287
287
|
var c = this.kd;
|
|
288
288
|
var d = new Rect(0, 0, 0, 1, 1);
|
|
@@ -290,7 +290,7 @@ var CategoryYAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
290
290
|
var f = new ScalerParams(0, d, d, this.ch, e);
|
|
291
291
|
var g = !b.isEmpty && !c.isEmpty && this.kr != null ? this.kr.indexOf(a) : -1;
|
|
292
292
|
var h = g > -1 ? this.ej(g, f) : NaN;
|
|
293
|
-
if (!isNaN_(h) && this.bi.
|
|
293
|
+
if (!isNaN_(h) && this.bi.eo) {
|
|
294
294
|
if (!isNaN_(h)) {
|
|
295
295
|
if (h < b.top + 0.1 * b.height) {
|
|
296
296
|
h = h + 0.4 * b.height;
|
|
@@ -301,7 +301,7 @@ var CategoryYAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
301
301
|
b.y = h - 0.5 * b.height;
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
this.bi.
|
|
304
|
+
this.bi.pt(b, false, true);
|
|
305
305
|
}
|
|
306
306
|
};
|
|
307
307
|
CategoryYAxis.prototype.c3 = function () {
|
|
@@ -327,13 +327,13 @@ var CategoryYAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
327
327
|
var b = MathUtil.a(a) && a > 0;
|
|
328
328
|
var c = this.kr.count;
|
|
329
329
|
if (c > 0 && b) {
|
|
330
|
-
var d = this.bi.
|
|
330
|
+
var d = this.bi.tz.height;
|
|
331
331
|
var e = isNaN_(d) || isInfinity(d);
|
|
332
332
|
if (e) {
|
|
333
333
|
return NaN;
|
|
334
334
|
}
|
|
335
335
|
var f = new Rect(0, 0, 0, 1, 1);
|
|
336
|
-
var g = this.bi.
|
|
336
|
+
var g = this.bi.tz;
|
|
337
337
|
var h = this.getCategorySize(f, g, g);
|
|
338
338
|
var i = isNaN_(h) || isInfinity(h);
|
|
339
339
|
if (i) {
|
|
@@ -350,13 +350,13 @@ var CategoryYAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
350
350
|
var b = MathUtil.a(a) && a > 0;
|
|
351
351
|
var c = this.kr.count;
|
|
352
352
|
if (c > 0 && b) {
|
|
353
|
-
var d = this.bi.
|
|
353
|
+
var d = this.bi.tz.height;
|
|
354
354
|
var e = isNaN_(d) || isInfinity(d);
|
|
355
355
|
if (e) {
|
|
356
356
|
return NaN;
|
|
357
357
|
}
|
|
358
358
|
var f = new Rect(0, 0, 0, 1, 1);
|
|
359
|
-
var g = this.bi.
|
|
359
|
+
var g = this.bi.tz;
|
|
360
360
|
var h = this.k4(f, g, g);
|
|
361
361
|
var i = a / h;
|
|
362
362
|
var j = Math.min(1, 1 / i);
|
|
@@ -370,20 +370,20 @@ var CategoryYAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
370
370
|
if (this.kr == null || this.bi == null) {
|
|
371
371
|
return;
|
|
372
372
|
}
|
|
373
|
-
var a = !isNaN_(this.bi.
|
|
373
|
+
var a = !isNaN_(this.bi.ho) && !isNaN_(this.bi.hq);
|
|
374
374
|
if (a) {
|
|
375
375
|
return;
|
|
376
376
|
}
|
|
377
377
|
if (!isNaN_(this.zoomMaximumItemSpan) && !isInfinity(this.zoomMaximumItemSpan)) {
|
|
378
378
|
var b = this.getWindowZoomFromItemSpan(this.zoomMaximumItemSpan);
|
|
379
379
|
if (!isNaN_(b) && !isInfinity(b)) {
|
|
380
|
-
this.bi.
|
|
380
|
+
this.bi.gj = b;
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
else if (!isNaN_(this.zoomMaximumCategoryRange) && !isInfinity(this.zoomMaximumCategoryRange)) {
|
|
384
384
|
var c = this.getWindowZoomFromCategories(this.zoomMaximumCategoryRange);
|
|
385
385
|
if (!isNaN_(c) && !isInfinity(c)) {
|
|
386
|
-
this.bi.
|
|
386
|
+
this.bi.gj = c;
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
};
|
|
@@ -393,31 +393,31 @@ var CategoryYAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
393
393
|
}
|
|
394
394
|
var a = NaN;
|
|
395
395
|
var b = NaN;
|
|
396
|
-
var c = this.bi.
|
|
397
|
-
var d = this.bi.
|
|
396
|
+
var c = this.bi.gq();
|
|
397
|
+
var d = this.bi.gr();
|
|
398
398
|
var e = false;
|
|
399
399
|
if (MathUtil.a(this.zoomToItemSpan)) {
|
|
400
400
|
e = true;
|
|
401
401
|
d = this.getWindowZoomFromItemSpan(this.zoomToItemSpan);
|
|
402
|
-
d = Math.max(d, this.bi.
|
|
402
|
+
d = Math.max(d, this.bi.gj);
|
|
403
403
|
}
|
|
404
404
|
else if (MathUtil.a(this.zoomToCategoryRange)) {
|
|
405
405
|
e = true;
|
|
406
406
|
d = this.getWindowZoomFromCategories(this.zoomToCategoryRange);
|
|
407
|
-
d = Math.max(d, this.bi.
|
|
407
|
+
d = Math.max(d, this.bi.gj);
|
|
408
408
|
}
|
|
409
409
|
if (MathUtil.a(this.zoomToCategoryStart) && this.zoomToCategoryStart >= 0 && this.zoomToCategoryStart < this.lg) {
|
|
410
410
|
e = true;
|
|
411
411
|
b = this.getWindowZoomFromCategories(this.zoomToCategoryStart);
|
|
412
412
|
var f = d + a - 1;
|
|
413
413
|
var g = d - f;
|
|
414
|
-
if (f > 0 && g > this.bi.
|
|
414
|
+
if (f > 0 && g > this.bi.gj) {
|
|
415
415
|
d = g;
|
|
416
|
-
d = Math.max(d, this.bi.
|
|
416
|
+
d = Math.max(d, this.bi.gj);
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
if (e) {
|
|
420
|
-
this.bi.
|
|
420
|
+
this.bi.pr(a, b, c, d);
|
|
421
421
|
}
|
|
422
422
|
};
|
|
423
423
|
CategoryYAxis.prototype.hw = function (a, b, c, d) {
|
|
@@ -446,7 +446,7 @@ var CategoryYAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
446
446
|
};
|
|
447
447
|
CategoryYAxis.prototype.h9 = function (a) {
|
|
448
448
|
_super.prototype.h9.call(this, a);
|
|
449
|
-
var b = this.bi != null ? this.bi.
|
|
449
|
+
var b = this.bi != null ? this.bi.tk : Rect.empty;
|
|
450
450
|
var c = this.kd;
|
|
451
451
|
var d = this.j8();
|
|
452
452
|
var e = this.j7();
|
|
@@ -609,7 +609,7 @@ var CategoryYAxis = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
609
609
|
this.ml = v.g;
|
|
610
610
|
if ((this.az == null || this.az.visibility == 0) && this.aj != null) {
|
|
611
611
|
if (this.az != null && (this.az.location == 6 || this.az.location == 7)) {
|
|
612
|
-
this.bi.
|
|
612
|
+
this.bi.me();
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
this.a5.ax(this.dc, this.dd);
|
|
@@ -194,7 +194,7 @@ var ColumnSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
194
194
|
if (this.yAxis == null) {
|
|
195
195
|
return b;
|
|
196
196
|
}
|
|
197
|
-
var c = this.yAxis.em(b, new ScalerParams(1, this.ce.
|
|
197
|
+
var c = this.yAxis.em(b, new ScalerParams(1, this.ce.t0, this.ce.tz, this.yAxis.ch));
|
|
198
198
|
if (c < this.yAxis.l7) {
|
|
199
199
|
return a[2];
|
|
200
200
|
}
|
|
@@ -203,7 +203,7 @@ var ColumnSeries = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
203
203
|
}
|
|
204
204
|
case 4:
|
|
205
205
|
var d = (a[1] + a[2]) / 2;
|
|
206
|
-
var e = this.yAxis.em(d, new ScalerParams(1, this.ce.
|
|
206
|
+
var e = this.yAxis.em(d, new ScalerParams(1, this.ce.t0, this.ce.tz, this.yAxis.ch));
|
|
207
207
|
if (this.yAxis == null) {
|
|
208
208
|
return d;
|
|
209
209
|
}
|
|
@@ -422,8 +422,8 @@ var DataChartToolbarProvider = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
422
422
|
else {
|
|
423
423
|
if (k.cb) {
|
|
424
424
|
if (k.jw == null) {
|
|
425
|
-
k.jw = i.
|
|
426
|
-
this.m.s(k, i.
|
|
425
|
+
k.jw = i.x5;
|
|
426
|
+
this.m.s(k, i.x5);
|
|
427
427
|
}
|
|
428
428
|
else {
|
|
429
429
|
this.m.s(k, k.jw);
|
|
@@ -727,7 +727,7 @@ var DataChartToolbarProvider = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
727
727
|
c.b = true;
|
|
728
728
|
c.a = 0;
|
|
729
729
|
a.imageCaptured = delegateCombine(a.imageCaptured, runOn(this, this.w));
|
|
730
|
-
a.
|
|
730
|
+
a.ls(c);
|
|
731
731
|
a.al.q();
|
|
732
732
|
};
|
|
733
733
|
DataChartToolbarProvider.prototype.w = function (a, b) {
|
|
@@ -739,13 +739,13 @@ var DataChartToolbarProvider = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
739
739
|
}
|
|
740
740
|
};
|
|
741
741
|
DataChartToolbarProvider.prototype.af = function (a, b) {
|
|
742
|
-
a.
|
|
742
|
+
a.pu(0.05);
|
|
743
743
|
};
|
|
744
744
|
DataChartToolbarProvider.prototype.ag = function (a, b) {
|
|
745
|
-
a.
|
|
745
|
+
a.pv(0.05);
|
|
746
746
|
};
|
|
747
747
|
DataChartToolbarProvider.prototype.ah = function (a, b) {
|
|
748
|
-
a.
|
|
748
|
+
a.o4();
|
|
749
749
|
};
|
|
750
750
|
DataChartToolbarProvider.$t = markType(DataChartToolbarProvider, 'DataChartToolbarProvider', Base.$, [IDataChartToolbarProvider_$type]);
|
|
751
751
|
return DataChartToolbarProvider;
|
|
@@ -43,7 +43,7 @@ var DataChartVisualDataManager = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
43
43
|
b.height = c.a7;
|
|
44
44
|
b.contentArea = RectData.b(c.fc());
|
|
45
45
|
b.centralArea = new RectData(c.a4, 0, c.a8 - (c.a4 + c.a5), c.a7 - (c.a6 + c.a3));
|
|
46
|
-
b.plotArea = RectData.b(a.
|
|
46
|
+
b.plotArea = RectData.b(a.tz);
|
|
47
47
|
};
|
|
48
48
|
DataChartVisualDataManager.prototype.d = function (a, b) {
|
|
49
49
|
var c = VisualExportHelper.a(a);
|