igniteui-webcomponents-charts 4.3.3-beta.0 → 4.3.3-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -21,7 +21,7 @@ export let CategoryChartToolbarProvider = /*@__PURE__*/ (() => {
|
|
|
21
21
|
case "ShowGridlines":
|
|
22
22
|
{
|
|
23
23
|
let d = b;
|
|
24
|
-
d.isChecked = c.
|
|
24
|
+
d.isChecked = c.acg != null;
|
|
25
25
|
}
|
|
26
26
|
break;
|
|
27
27
|
}
|
|
@@ -30,26 +30,26 @@ export let CategoryChartToolbarProvider = /*@__PURE__*/ (() => {
|
|
|
30
30
|
let e = a;
|
|
31
31
|
switch (b) {
|
|
32
32
|
case "XAxisMajorStroke":
|
|
33
|
-
this.f("ShowGridlines", 2, a.
|
|
33
|
+
this.f("ShowGridlines", 2, a.acg != null);
|
|
34
34
|
break;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
k(a, b) {
|
|
38
38
|
let c = a;
|
|
39
39
|
if (this.c(b, "ShowGridlines")) {
|
|
40
|
-
if (c.
|
|
40
|
+
if (c.acg == null) {
|
|
41
41
|
if (this.y != null) {
|
|
42
|
-
c.
|
|
42
|
+
c.acg = this.y;
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
|
-
c.
|
|
45
|
+
c.acg = c.dataChart.x5;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
|
-
if (c.
|
|
51
|
-
this.y = c.
|
|
52
|
-
c.
|
|
50
|
+
if (c.acg != null) {
|
|
51
|
+
this.y = c.acg;
|
|
52
|
+
c.acg = null;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -83,7 +83,7 @@ export let CategoryDateTimeXAxis = /*@__PURE__*/ (() => {
|
|
|
83
83
|
}
|
|
84
84
|
h9(a) {
|
|
85
85
|
super.h9(a);
|
|
86
|
-
let b = this.bi != null ? this.bi.
|
|
86
|
+
let b = this.bi != null ? this.bi.tk : Rect.empty;
|
|
87
87
|
let c = !b.isEmpty ? this.kd : Rect.empty;
|
|
88
88
|
let d = this.j8();
|
|
89
89
|
let e = this.j7();
|
|
@@ -221,7 +221,7 @@ export let CategoryDateTimeXAxis = /*@__PURE__*/ (() => {
|
|
|
221
221
|
}
|
|
222
222
|
if ((this.az == null || this.az.visibility == 0) && this.aj != null) {
|
|
223
223
|
if (this.az != null && (this.az.location == 4 || this.az.location == 5)) {
|
|
224
|
-
this.bi.
|
|
224
|
+
this.bi.me();
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
this.aw.a9 = this.dc;
|
|
@@ -256,7 +256,7 @@ export let CategoryDateTimeXAxis = /*@__PURE__*/ (() => {
|
|
|
256
256
|
}
|
|
257
257
|
let c = (a.getTime() - this.actualMinimumValue.getTime()) / (this.actualMaximumValue.getTime() - this.actualMinimumValue.getTime());
|
|
258
258
|
let d = (b.getTime() - this.actualMinimumValue.getTime()) / (this.actualMaximumValue.getTime() - this.actualMinimumValue.getTime());
|
|
259
|
-
this.bi.
|
|
259
|
+
this.bi.t0 = new Rect(0, c, this.bi.t0.y, d - c, this.bi.t0.height);
|
|
260
260
|
}
|
|
261
261
|
hw(a, b, c, d) {
|
|
262
262
|
super.hw(a, b, c, d);
|
|
@@ -276,7 +276,7 @@ export let CategoryDateTimeXAxis = /*@__PURE__*/ (() => {
|
|
|
276
276
|
super.nd();
|
|
277
277
|
if (this.nq()) {
|
|
278
278
|
this.nv = this.ny;
|
|
279
|
-
let a = this.bi != null ? this.bi.
|
|
279
|
+
let a = this.bi != null ? this.bi.tk : Rect.empty;
|
|
280
280
|
let b = !a.isEmpty ? this.kd : Rect.empty;
|
|
281
281
|
let c = Math.abs(this.actualMaximumValue.getTime() - this.actualMinimumValue.getTime());
|
|
282
282
|
this.ml = this.np() || (this.no == 1) || (1 * c / this.ns() > (b.width / a.width)) ? false : true;
|
|
@@ -275,34 +275,34 @@ export let CategoryItemHighlightLayer = /*@__PURE__*/ (() => {
|
|
|
275
275
|
switch (f) {
|
|
276
276
|
case 3:
|
|
277
277
|
case 13:
|
|
278
|
-
e = this.ce.
|
|
278
|
+
e = this.ce.pw;
|
|
279
279
|
break;
|
|
280
280
|
case 4:
|
|
281
|
-
e = this.ce.
|
|
281
|
+
e = this.ce.p5;
|
|
282
282
|
break;
|
|
283
283
|
case 5:
|
|
284
|
-
e = this.ce.
|
|
284
|
+
e = this.ce.p2;
|
|
285
285
|
break;
|
|
286
286
|
case 6:
|
|
287
|
-
e = this.ce.
|
|
287
|
+
e = this.ce.p3;
|
|
288
288
|
break;
|
|
289
289
|
case 7:
|
|
290
|
-
e = this.ce.
|
|
290
|
+
e = this.ce.px;
|
|
291
291
|
break;
|
|
292
292
|
case 8:
|
|
293
|
-
e = this.ce.
|
|
293
|
+
e = this.ce.p0;
|
|
294
294
|
break;
|
|
295
295
|
case 9:
|
|
296
|
-
e = this.ce.
|
|
296
|
+
e = this.ce.py;
|
|
297
297
|
break;
|
|
298
298
|
case 10:
|
|
299
|
-
e = this.ce.
|
|
299
|
+
e = this.ce.p4;
|
|
300
300
|
break;
|
|
301
301
|
case 11:
|
|
302
|
-
e = this.ce.
|
|
302
|
+
e = this.ce.p1;
|
|
303
303
|
break;
|
|
304
304
|
case 12:
|
|
305
|
-
e = this.ce.
|
|
305
|
+
e = this.ce.pz;
|
|
306
306
|
break;
|
|
307
307
|
}
|
|
308
308
|
}
|
|
@@ -472,7 +472,7 @@ export let CategoryToolTipLayerView = /*@__PURE__*/ (() => {
|
|
|
472
472
|
let b = 0;
|
|
473
473
|
let c = 0;
|
|
474
474
|
if (this.e.ce != null) {
|
|
475
|
-
let d = this.e.ce.
|
|
475
|
+
let d = this.e.ce.td();
|
|
476
476
|
b += d.x;
|
|
477
477
|
c += d.y;
|
|
478
478
|
}
|
|
@@ -531,7 +531,7 @@ export let CategoryToolTipLayerView = /*@__PURE__*/ (() => {
|
|
|
531
531
|
let c = 0;
|
|
532
532
|
let d = 0;
|
|
533
533
|
if (this.e.ce != null) {
|
|
534
|
-
let e = this.e.ce.
|
|
534
|
+
let e = this.e.ce.td();
|
|
535
535
|
c += e.x;
|
|
536
536
|
d += e.y;
|
|
537
537
|
}
|
|
@@ -102,7 +102,7 @@ export let CategoryXAxis = /*@__PURE__*/ (() => {
|
|
|
102
102
|
return this.mr;
|
|
103
103
|
}
|
|
104
104
|
m7(a) {
|
|
105
|
-
let b = this.bi != null ? this.bi.
|
|
105
|
+
let b = this.bi != null ? this.bi.tk : Rect.empty;
|
|
106
106
|
b = b.copy();
|
|
107
107
|
let c = this.kd;
|
|
108
108
|
let d = this.ka();
|
|
@@ -110,7 +110,7 @@ export let CategoryXAxis = /*@__PURE__*/ (() => {
|
|
|
110
110
|
let f = new ScalerParams(0, e, e, this.ch, d);
|
|
111
111
|
let g = !b.isEmpty && !c.isEmpty && this.kr != null ? this.kr.indexOf(a) : -1;
|
|
112
112
|
let h = g > -1 ? this.ej(g, f) : NaN;
|
|
113
|
-
if (!isNaN_(h) && this.bi.
|
|
113
|
+
if (!isNaN_(h) && this.bi.eo) {
|
|
114
114
|
if (!isNaN_(h)) {
|
|
115
115
|
if (h < b.left + 0.1 * b.width) {
|
|
116
116
|
h = h + 0.4 * b.width;
|
|
@@ -121,7 +121,7 @@ export let CategoryXAxis = /*@__PURE__*/ (() => {
|
|
|
121
121
|
b.x = h - 0.5 * b.width;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
this.bi.
|
|
124
|
+
this.bi.pt(b, false, true);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
ej(a, b) {
|
|
@@ -249,11 +249,11 @@ export let CategoryXAxis = /*@__PURE__*/ (() => {
|
|
|
249
249
|
}
|
|
250
250
|
let c = a / this.kr.count;
|
|
251
251
|
let d = (b + 1) / this.kr.count;
|
|
252
|
-
this.bi.
|
|
252
|
+
this.bi.t0 = new Rect(0, c, this.bi.t0.y, d - c, this.bi.t0.height);
|
|
253
253
|
}
|
|
254
254
|
h9(a) {
|
|
255
255
|
super.h9(a);
|
|
256
|
-
let b = this.bi != null ? this.bi.
|
|
256
|
+
let b = this.bi != null ? this.bi.tk : Rect.empty;
|
|
257
257
|
let c = this.kd;
|
|
258
258
|
let d = this.j8();
|
|
259
259
|
let e = this.j7();
|
|
@@ -474,7 +474,7 @@ export let CategoryXAxis = /*@__PURE__*/ (() => {
|
|
|
474
474
|
this.mx = null;
|
|
475
475
|
if ((this.az == null || this.az.visibility == 0) && this.aj != null) {
|
|
476
476
|
if (this.az != null && (this.az.location == 4 || this.az.location == 5)) {
|
|
477
|
-
this.bi.
|
|
477
|
+
this.bi.me();
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
480
|
this.a5.ax(this.dc, this.dd);
|
|
@@ -504,13 +504,13 @@ export let CategoryXAxis = /*@__PURE__*/ (() => {
|
|
|
504
504
|
let b = MathUtil.a(a) && a > 0;
|
|
505
505
|
let c = this.kr.count;
|
|
506
506
|
if (c > 0 && b) {
|
|
507
|
-
let d = this.bi.
|
|
507
|
+
let d = this.bi.tz.width;
|
|
508
508
|
let e = isNaN_(d) || isInfinity(d);
|
|
509
509
|
if (e) {
|
|
510
510
|
return NaN;
|
|
511
511
|
}
|
|
512
512
|
let f = new Rect(0, 0, 0, 1, 1);
|
|
513
|
-
let g = this.bi.
|
|
513
|
+
let g = this.bi.tz;
|
|
514
514
|
let h = this.getCategorySize(f, g, g);
|
|
515
515
|
let i = isNaN_(h) || isInfinity(h);
|
|
516
516
|
if (i) {
|
|
@@ -527,13 +527,13 @@ export let CategoryXAxis = /*@__PURE__*/ (() => {
|
|
|
527
527
|
let b = MathUtil.a(a) && a > 0;
|
|
528
528
|
let c = this.kr.count;
|
|
529
529
|
if (c > 0 && b) {
|
|
530
|
-
let d = this.bi.
|
|
530
|
+
let d = this.bi.tz.width;
|
|
531
531
|
let e = isNaN_(d) || isInfinity(d);
|
|
532
532
|
if (e) {
|
|
533
533
|
return NaN;
|
|
534
534
|
}
|
|
535
535
|
let f = new Rect(0, 0, 0, 1, 1);
|
|
536
|
-
let g = this.bi.
|
|
536
|
+
let g = this.bi.tz;
|
|
537
537
|
let h = this.k4(f, g, g);
|
|
538
538
|
let i = a / h;
|
|
539
539
|
let j = Math.min(1, 1 / i);
|
|
@@ -547,20 +547,20 @@ export let CategoryXAxis = /*@__PURE__*/ (() => {
|
|
|
547
547
|
if (this.kr == null || this.bi == null) {
|
|
548
548
|
return;
|
|
549
549
|
}
|
|
550
|
-
let a = !isNaN_(this.bi.
|
|
550
|
+
let a = !isNaN_(this.bi.hp) && !isNaN_(this.bi.hr);
|
|
551
551
|
if (a) {
|
|
552
552
|
return;
|
|
553
553
|
}
|
|
554
554
|
if (!isNaN_(this.zoomMaximumItemSpan) && !isInfinity(this.zoomMaximumItemSpan)) {
|
|
555
555
|
let b = this.getWindowZoomFromItemSpan(this.zoomMaximumItemSpan);
|
|
556
556
|
if (!isNaN_(b) && !isInfinity(b)) {
|
|
557
|
-
this.bi.
|
|
557
|
+
this.bi.gk = b;
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
else if (!isNaN_(this.zoomMaximumCategoryRange) && !isInfinity(this.zoomMaximumCategoryRange)) {
|
|
561
561
|
let c = this.getWindowZoomFromCategories(this.zoomMaximumCategoryRange);
|
|
562
562
|
if (!isNaN_(c) && !isInfinity(c)) {
|
|
563
|
-
this.bi.
|
|
563
|
+
this.bi.gk = c;
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
}
|
|
@@ -570,31 +570,31 @@ export let CategoryXAxis = /*@__PURE__*/ (() => {
|
|
|
570
570
|
}
|
|
571
571
|
let a = NaN;
|
|
572
572
|
let b = NaN;
|
|
573
|
-
let c = this.bi.
|
|
574
|
-
let d = this.bi.
|
|
573
|
+
let c = this.bi.gq();
|
|
574
|
+
let d = this.bi.gr();
|
|
575
575
|
let e = false;
|
|
576
576
|
if (MathUtil.a(this.zoomToItemSpan) && this.zoomToItemSpan > 0) {
|
|
577
577
|
e = true;
|
|
578
578
|
c = this.getWindowZoomFromItemSpan(this.zoomToItemSpan);
|
|
579
|
-
c = Math.max(c, this.bi.
|
|
579
|
+
c = Math.max(c, this.bi.gk);
|
|
580
580
|
}
|
|
581
581
|
else if (MathUtil.a(this.zoomToCategoryRange) && this.zoomToCategoryRange > 0 && this.zoomToCategoryRange <= this.lg) {
|
|
582
582
|
e = true;
|
|
583
583
|
c = this.getWindowZoomFromCategories(this.zoomToCategoryRange);
|
|
584
|
-
c = Math.max(c, this.bi.
|
|
584
|
+
c = Math.max(c, this.bi.gk);
|
|
585
585
|
}
|
|
586
586
|
if (MathUtil.a(this.zoomToCategoryStart) && this.zoomToCategoryStart >= 0 && this.zoomToCategoryStart < this.lg) {
|
|
587
587
|
e = true;
|
|
588
588
|
a = this.getWindowZoomFromCategories(this.zoomToCategoryStart);
|
|
589
589
|
let f = c + a - 1;
|
|
590
590
|
let g = c - f;
|
|
591
|
-
if (f > 0 && g > this.bi.
|
|
591
|
+
if (f > 0 && g > this.bi.gk) {
|
|
592
592
|
c = g;
|
|
593
|
-
c = Math.max(c, this.bi.
|
|
593
|
+
c = Math.max(c, this.bi.gk);
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
if (e) {
|
|
597
|
-
this.bi.
|
|
597
|
+
this.bi.pr(a, b, c, d);
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
hw(a, b, c, d) {
|
|
@@ -218,7 +218,7 @@ export let CategoryYAxis = /*@__PURE__*/ (() => {
|
|
|
218
218
|
}
|
|
219
219
|
let c = a / this.kr.count;
|
|
220
220
|
let d = b / this.kr.count;
|
|
221
|
-
this.bi.
|
|
221
|
+
this.bi.t0 = new Rect(0, this.bi.t0.x, 1 - d, this.bi.t0.width, d - c);
|
|
222
222
|
}
|
|
223
223
|
av() {
|
|
224
224
|
return new VerticalAxisLabelPanel();
|
|
@@ -256,7 +256,7 @@ export let CategoryYAxis = /*@__PURE__*/ (() => {
|
|
|
256
256
|
return this.getCategorySize(b, c, d) * e;
|
|
257
257
|
}
|
|
258
258
|
m3(a) {
|
|
259
|
-
let b = this.bi != null ? this.bi.
|
|
259
|
+
let b = this.bi != null ? this.bi.tk : Rect.empty;
|
|
260
260
|
b = b.copy();
|
|
261
261
|
let c = this.kd;
|
|
262
262
|
let d = new Rect(0, 0, 0, 1, 1);
|
|
@@ -264,7 +264,7 @@ export let CategoryYAxis = /*@__PURE__*/ (() => {
|
|
|
264
264
|
let f = new ScalerParams(0, d, d, this.ch, e);
|
|
265
265
|
let g = !b.isEmpty && !c.isEmpty && this.kr != null ? this.kr.indexOf(a) : -1;
|
|
266
266
|
let h = g > -1 ? this.ej(g, f) : NaN;
|
|
267
|
-
if (!isNaN_(h) && this.bi.
|
|
267
|
+
if (!isNaN_(h) && this.bi.eo) {
|
|
268
268
|
if (!isNaN_(h)) {
|
|
269
269
|
if (h < b.top + 0.1 * b.height) {
|
|
270
270
|
h = h + 0.4 * b.height;
|
|
@@ -275,7 +275,7 @@ export let CategoryYAxis = /*@__PURE__*/ (() => {
|
|
|
275
275
|
b.y = h - 0.5 * b.height;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
this.bi.
|
|
278
|
+
this.bi.pt(b, false, true);
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
c3() {
|
|
@@ -301,13 +301,13 @@ export let CategoryYAxis = /*@__PURE__*/ (() => {
|
|
|
301
301
|
let b = MathUtil.a(a) && a > 0;
|
|
302
302
|
let c = this.kr.count;
|
|
303
303
|
if (c > 0 && b) {
|
|
304
|
-
let d = this.bi.
|
|
304
|
+
let d = this.bi.tz.height;
|
|
305
305
|
let e = isNaN_(d) || isInfinity(d);
|
|
306
306
|
if (e) {
|
|
307
307
|
return NaN;
|
|
308
308
|
}
|
|
309
309
|
let f = new Rect(0, 0, 0, 1, 1);
|
|
310
|
-
let g = this.bi.
|
|
310
|
+
let g = this.bi.tz;
|
|
311
311
|
let h = this.getCategorySize(f, g, g);
|
|
312
312
|
let i = isNaN_(h) || isInfinity(h);
|
|
313
313
|
if (i) {
|
|
@@ -324,13 +324,13 @@ export let CategoryYAxis = /*@__PURE__*/ (() => {
|
|
|
324
324
|
let b = MathUtil.a(a) && a > 0;
|
|
325
325
|
let c = this.kr.count;
|
|
326
326
|
if (c > 0 && b) {
|
|
327
|
-
let d = this.bi.
|
|
327
|
+
let d = this.bi.tz.height;
|
|
328
328
|
let e = isNaN_(d) || isInfinity(d);
|
|
329
329
|
if (e) {
|
|
330
330
|
return NaN;
|
|
331
331
|
}
|
|
332
332
|
let f = new Rect(0, 0, 0, 1, 1);
|
|
333
|
-
let g = this.bi.
|
|
333
|
+
let g = this.bi.tz;
|
|
334
334
|
let h = this.k4(f, g, g);
|
|
335
335
|
let i = a / h;
|
|
336
336
|
let j = Math.min(1, 1 / i);
|
|
@@ -344,20 +344,20 @@ export let CategoryYAxis = /*@__PURE__*/ (() => {
|
|
|
344
344
|
if (this.kr == null || this.bi == null) {
|
|
345
345
|
return;
|
|
346
346
|
}
|
|
347
|
-
let a = !isNaN_(this.bi.
|
|
347
|
+
let a = !isNaN_(this.bi.ho) && !isNaN_(this.bi.hq);
|
|
348
348
|
if (a) {
|
|
349
349
|
return;
|
|
350
350
|
}
|
|
351
351
|
if (!isNaN_(this.zoomMaximumItemSpan) && !isInfinity(this.zoomMaximumItemSpan)) {
|
|
352
352
|
let b = this.getWindowZoomFromItemSpan(this.zoomMaximumItemSpan);
|
|
353
353
|
if (!isNaN_(b) && !isInfinity(b)) {
|
|
354
|
-
this.bi.
|
|
354
|
+
this.bi.gj = b;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
else if (!isNaN_(this.zoomMaximumCategoryRange) && !isInfinity(this.zoomMaximumCategoryRange)) {
|
|
358
358
|
let c = this.getWindowZoomFromCategories(this.zoomMaximumCategoryRange);
|
|
359
359
|
if (!isNaN_(c) && !isInfinity(c)) {
|
|
360
|
-
this.bi.
|
|
360
|
+
this.bi.gj = c;
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
}
|
|
@@ -367,31 +367,31 @@ export let CategoryYAxis = /*@__PURE__*/ (() => {
|
|
|
367
367
|
}
|
|
368
368
|
let a = NaN;
|
|
369
369
|
let b = NaN;
|
|
370
|
-
let c = this.bi.
|
|
371
|
-
let d = this.bi.
|
|
370
|
+
let c = this.bi.gq();
|
|
371
|
+
let d = this.bi.gr();
|
|
372
372
|
let e = false;
|
|
373
373
|
if (MathUtil.a(this.zoomToItemSpan)) {
|
|
374
374
|
e = true;
|
|
375
375
|
d = this.getWindowZoomFromItemSpan(this.zoomToItemSpan);
|
|
376
|
-
d = Math.max(d, this.bi.
|
|
376
|
+
d = Math.max(d, this.bi.gj);
|
|
377
377
|
}
|
|
378
378
|
else if (MathUtil.a(this.zoomToCategoryRange)) {
|
|
379
379
|
e = true;
|
|
380
380
|
d = this.getWindowZoomFromCategories(this.zoomToCategoryRange);
|
|
381
|
-
d = Math.max(d, this.bi.
|
|
381
|
+
d = Math.max(d, this.bi.gj);
|
|
382
382
|
}
|
|
383
383
|
if (MathUtil.a(this.zoomToCategoryStart) && this.zoomToCategoryStart >= 0 && this.zoomToCategoryStart < this.lg) {
|
|
384
384
|
e = true;
|
|
385
385
|
b = this.getWindowZoomFromCategories(this.zoomToCategoryStart);
|
|
386
386
|
let f = d + a - 1;
|
|
387
387
|
let g = d - f;
|
|
388
|
-
if (f > 0 && g > this.bi.
|
|
388
|
+
if (f > 0 && g > this.bi.gj) {
|
|
389
389
|
d = g;
|
|
390
|
-
d = Math.max(d, this.bi.
|
|
390
|
+
d = Math.max(d, this.bi.gj);
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
if (e) {
|
|
394
|
-
this.bi.
|
|
394
|
+
this.bi.pr(a, b, c, d);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
hw(a, b, c, d) {
|
|
@@ -420,7 +420,7 @@ export let CategoryYAxis = /*@__PURE__*/ (() => {
|
|
|
420
420
|
}
|
|
421
421
|
h9(a) {
|
|
422
422
|
super.h9(a);
|
|
423
|
-
let b = this.bi != null ? this.bi.
|
|
423
|
+
let b = this.bi != null ? this.bi.tk : Rect.empty;
|
|
424
424
|
let c = this.kd;
|
|
425
425
|
let d = this.j8();
|
|
426
426
|
let e = this.j7();
|
|
@@ -583,7 +583,7 @@ export let CategoryYAxis = /*@__PURE__*/ (() => {
|
|
|
583
583
|
this.ml = v.g;
|
|
584
584
|
if ((this.az == null || this.az.visibility == 0) && this.aj != null) {
|
|
585
585
|
if (this.az != null && (this.az.location == 6 || this.az.location == 7)) {
|
|
586
|
-
this.bi.
|
|
586
|
+
this.bi.me();
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
this.a5.ax(this.dc, this.dd);
|
|
@@ -188,7 +188,7 @@ export let ColumnSeries = /*@__PURE__*/ (() => {
|
|
|
188
188
|
if (this.yAxis == null) {
|
|
189
189
|
return b;
|
|
190
190
|
}
|
|
191
|
-
let c = this.yAxis.em(b, new ScalerParams(1, this.ce.
|
|
191
|
+
let c = this.yAxis.em(b, new ScalerParams(1, this.ce.t0, this.ce.tz, this.yAxis.ch));
|
|
192
192
|
if (c < this.yAxis.l7) {
|
|
193
193
|
return a[2];
|
|
194
194
|
}
|
|
@@ -197,7 +197,7 @@ export let ColumnSeries = /*@__PURE__*/ (() => {
|
|
|
197
197
|
}
|
|
198
198
|
case 4:
|
|
199
199
|
let d = (a[1] + a[2]) / 2;
|
|
200
|
-
let e = this.yAxis.em(d, new ScalerParams(1, this.ce.
|
|
200
|
+
let e = this.yAxis.em(d, new ScalerParams(1, this.ce.t0, this.ce.tz, this.yAxis.ch));
|
|
201
201
|
if (this.yAxis == null) {
|
|
202
202
|
return d;
|
|
203
203
|
}
|
|
@@ -391,8 +391,8 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
|
|
|
391
391
|
else {
|
|
392
392
|
if (k.cb) {
|
|
393
393
|
if (k.jw == null) {
|
|
394
|
-
k.jw = i.
|
|
395
|
-
this.m.s(k, i.
|
|
394
|
+
k.jw = i.x5;
|
|
395
|
+
this.m.s(k, i.x5);
|
|
396
396
|
}
|
|
397
397
|
else {
|
|
398
398
|
this.m.s(k, k.jw);
|
|
@@ -588,7 +588,7 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
|
|
|
588
588
|
c.b = true;
|
|
589
589
|
c.a = 0;
|
|
590
590
|
a.imageCaptured = delegateCombine(a.imageCaptured, runOn(this, this.w));
|
|
591
|
-
a.
|
|
591
|
+
a.ls(c);
|
|
592
592
|
a.al.q();
|
|
593
593
|
}
|
|
594
594
|
w(a, b) {
|
|
@@ -600,13 +600,13 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
|
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
602
|
af(a, b) {
|
|
603
|
-
a.
|
|
603
|
+
a.pu(0.05);
|
|
604
604
|
}
|
|
605
605
|
ag(a, b) {
|
|
606
|
-
a.
|
|
606
|
+
a.pv(0.05);
|
|
607
607
|
}
|
|
608
608
|
ah(a, b) {
|
|
609
|
-
a.
|
|
609
|
+
a.o4();
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
DataChartToolbarProvider.$t = /*@__PURE__*/ markType(DataChartToolbarProvider, 'DataChartToolbarProvider', Base.$, [IDataChartToolbarProvider_$type]);
|
|
@@ -39,7 +39,7 @@ export let DataChartVisualDataManager = /*@__PURE__*/ (() => {
|
|
|
39
39
|
b.height = c.a7;
|
|
40
40
|
b.contentArea = RectData.b(c.fc());
|
|
41
41
|
b.centralArea = new RectData(c.a4, 0, c.a8 - (c.a4 + c.a5), c.a7 - (c.a6 + c.a3));
|
|
42
|
-
b.plotArea = RectData.b(a.
|
|
42
|
+
b.plotArea = RectData.b(a.tz);
|
|
43
43
|
}
|
|
44
44
|
d(a, b) {
|
|
45
45
|
let c = VisualExportHelper.a(a);
|