igniteui-webcomponents-charts 5.3.0 → 5.4.0-beta.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 +759 -748
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm2015/lib/AnchoredCategorySeries_combined.js +1 -1
- package/esm2015/lib/AnchoredRadialBucketCalculator_combined.js +4 -4
- package/esm2015/lib/AngleAxisLabelPanel_combined.js +1 -1
- package/esm2015/lib/AnnotationLayer_combined.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 +1 -1
- package/esm2015/lib/CategoryBucketCalculator_combined.js +4 -4
- package/esm2015/lib/CategoryChart.js +12 -12
- package/esm2015/lib/CategoryChartToolbarProvider.js +1 -1
- package/esm2015/lib/CategoryDateTimeXAxis_combined.js +1 -1
- package/esm2015/lib/CategoryXAxis_combined.js +5 -5
- package/esm2015/lib/CategoryYAxis_combined.js +5 -5
- package/esm2015/lib/ColumnSeries_combined.js +2 -2
- package/esm2015/lib/DataChartToolbarProvider.js +2 -2
- package/esm2015/lib/DataChartVisualDataManager.js +1 -1
- package/esm2015/lib/DataPieChartToolbarProvider.js +1 -1
- package/esm2015/lib/DomainChart.js +22 -22
- package/esm2015/lib/DomainChartPlotAreaPointerEventArgs.js +2 -2
- package/esm2015/lib/DomainChartSeriesPointerEventArgs.js +2 -2
- package/esm2015/lib/FinancialChart_combined.js +15 -15
- package/esm2015/lib/FinancialIndicator_combined.js +1 -1
- package/esm2015/lib/FinancialPriceSeries_combined.js +5 -5
- package/esm2015/lib/HighDensityScatterSeries_combined.js +2 -2
- package/esm2015/lib/NumericXAxis_combined.js +1 -1
- package/esm2015/lib/NumericYAxis_combined.js +1 -1
- package/esm2015/lib/OrdinalTimeXAxis.js +1 -1
- package/esm2015/lib/PolarBase_combined.js +2 -2
- package/esm2015/lib/RadialBucketCalculator_combined.js +1 -1
- package/esm2015/lib/RadialColumnSeries_combined.js +51 -50
- package/esm2015/lib/RadialPieSeries_combined.js +2 -2
- package/esm2015/lib/RangeCategoryBucketCalculator_combined.js +1 -1
- package/esm2015/lib/ScatterAreaSeries_combined.js +1 -1
- package/esm2015/lib/ScatterBase_combined.js +5 -5
- package/esm2015/lib/SeriesViewerInteractionManager.js +18 -18
- package/esm2015/lib/SeriesViewerScrollbarManager.js +2 -2
- package/esm2015/lib/SeriesViewerSurfaceViewer.js +5 -5
- package/esm2015/lib/SeriesViewer_combined.js +452 -442
- package/esm2015/lib/ShapeSeriesBase_combined.js +1 -1
- package/esm2015/lib/StackedSeriesCreatedEventArgs_combined.js +3 -3
- package/esm2015/lib/TileZoomManager_combined.js +2 -2
- package/esm2015/lib/TimeXAxis.js +4 -4
- package/esm2015/lib/VerticalAnchoredCategorySeries.js +1 -1
- package/esm2015/lib/igc-data-chart-component.js +95 -95
- package/esm2015/lib/igc-series-viewer-component.js +11 -11
- package/esm5/lib/AnchoredCategorySeriesInteractionManager.js +1 -1
- package/esm5/lib/AnchoredCategorySeries_combined.js +1 -1
- package/esm5/lib/AnchoredRadialBucketCalculator_combined.js +4 -4
- package/esm5/lib/AngleAxisLabelPanel_combined.js +1 -1
- package/esm5/lib/AnnotationLayer_combined.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 +1 -1
- package/esm5/lib/CategoryBucketCalculator_combined.js +4 -4
- package/esm5/lib/CategoryChart.js +12 -12
- package/esm5/lib/CategoryChartToolbarProvider.js +1 -1
- package/esm5/lib/CategoryDateTimeXAxis_combined.js +1 -1
- package/esm5/lib/CategoryXAxis_combined.js +5 -5
- package/esm5/lib/CategoryYAxis_combined.js +5 -5
- package/esm5/lib/ColumnSeries_combined.js +2 -2
- package/esm5/lib/DataChartToolbarProvider.js +2 -2
- package/esm5/lib/DataChartVisualDataManager.js +1 -1
- package/esm5/lib/DataPieChartToolbarProvider.js +1 -1
- package/esm5/lib/DomainChart.js +22 -22
- package/esm5/lib/DomainChartPlotAreaPointerEventArgs.js +2 -2
- package/esm5/lib/DomainChartSeriesPointerEventArgs.js +2 -2
- package/esm5/lib/FinancialChart_combined.js +15 -15
- package/esm5/lib/FinancialIndicator_combined.js +1 -1
- package/esm5/lib/FinancialPriceSeries_combined.js +5 -5
- package/esm5/lib/HighDensityScatterSeries_combined.js +2 -2
- package/esm5/lib/NumericXAxis_combined.js +1 -1
- package/esm5/lib/NumericYAxis_combined.js +1 -1
- package/esm5/lib/OrdinalTimeXAxis.js +1 -1
- package/esm5/lib/PolarBase_combined.js +2 -2
- package/esm5/lib/RadialBucketCalculator_combined.js +1 -1
- package/esm5/lib/RadialColumnSeries_combined.js +53 -52
- package/esm5/lib/RadialPieSeries_combined.js +2 -2
- package/esm5/lib/RangeCategoryBucketCalculator_combined.js +1 -1
- package/esm5/lib/ScatterAreaSeries_combined.js +1 -1
- package/esm5/lib/ScatterBase_combined.js +5 -5
- package/esm5/lib/SeriesViewerInteractionManager.js +18 -18
- package/esm5/lib/SeriesViewerScrollbarManager.js +2 -2
- package/esm5/lib/SeriesViewerSurfaceViewer.js +5 -5
- package/esm5/lib/SeriesViewer_combined.js +452 -442
- package/esm5/lib/ShapeSeriesBase_combined.js +1 -1
- package/esm5/lib/StackedSeriesCreatedEventArgs_combined.js +3 -3
- package/esm5/lib/TileZoomManager_combined.js +2 -2
- package/esm5/lib/TimeXAxis.js +4 -4
- package/esm5/lib/VerticalAnchoredCategorySeries.js +1 -1
- package/esm5/lib/igc-data-chart-component.js +95 -95
- package/esm5/lib/igc-series-viewer-component.js +11 -11
- package/fesm2015/igniteui-webcomponents-charts.js +757 -746
- package/fesm5/igniteui-webcomponents-charts.js +759 -748
- package/lib/SeriesViewer_combined.d.ts +106 -104
- package/package.json +2 -2
|
@@ -317,7 +317,7 @@ export let FinancialPriceSeries = /*@__PURE__*/ (() => {
|
|
|
317
317
|
return null;
|
|
318
318
|
}
|
|
319
319
|
let b = this.wi(this.cv);
|
|
320
|
-
let c = new ScalerParams(0, a, this.db.
|
|
320
|
+
let c = new ScalerParams(0, a, this.db.wm, this.w5.ch, this.getEffectiveViewport());
|
|
321
321
|
let d = (this.w5.eo(b.left, c));
|
|
322
322
|
let e = (this.w5.eo(b.right, c));
|
|
323
323
|
if (this.w5.ch) {
|
|
@@ -1043,10 +1043,10 @@ export let FinancialPriceSeries = /*@__PURE__*/ (() => {
|
|
|
1043
1043
|
return c.toArray();
|
|
1044
1044
|
}
|
|
1045
1045
|
p3(a, b, c) {
|
|
1046
|
-
let d = this.
|
|
1046
|
+
let d = this.db.wj(this.db.v9(a));
|
|
1047
1047
|
let e = this.xo;
|
|
1048
1048
|
let f = this.w5;
|
|
1049
|
-
let g = this.
|
|
1049
|
+
let g = this.db.wc(this.wr, this.getEffectiveViewport(), d);
|
|
1050
1050
|
let h, i;
|
|
1051
1051
|
let j = this.abu(d, f, true, g, h, i);
|
|
1052
1052
|
h = j.p4;
|
|
@@ -1063,7 +1063,7 @@ export let FinancialPriceSeries = /*@__PURE__*/ (() => {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
1065
|
abu(a, b, c, d, e, f) {
|
|
1066
|
-
let g = new ScalerParams(0, a, this.db.
|
|
1066
|
+
let g = new ScalerParams(0, a, this.db.wm, this.w5.ch, this.getEffectiveViewport());
|
|
1067
1067
|
let h = (this.w5.eo(d.left, g));
|
|
1068
1068
|
let i = (this.w5.eo(d.right, g));
|
|
1069
1069
|
if (this.w5.ch) {
|
|
@@ -1088,7 +1088,7 @@ export let FinancialPriceSeries = /*@__PURE__*/ (() => {
|
|
|
1088
1088
|
};
|
|
1089
1089
|
}
|
|
1090
1090
|
abt(a, b, c, d, e, f) {
|
|
1091
|
-
let g = new ScalerParams(0, a, this.db.
|
|
1091
|
+
let g = new ScalerParams(0, a, this.db.wm, b.ch, this.getEffectiveViewport());
|
|
1092
1092
|
let h = c ? (b.ch ? d.top : d.bottom) : (b.ch ? d.left : d.right);
|
|
1093
1093
|
let i = c ? (b.ch ? d.bottom : d.top) : (b.ch ? d.right : d.left);
|
|
1094
1094
|
e = b.eo(h, g);
|
|
@@ -711,7 +711,7 @@ export let HighDensityScatterSeries = /*@__PURE__*/ (() => {
|
|
|
711
711
|
}
|
|
712
712
|
gc(a) {
|
|
713
713
|
let b = this.db != null ? this.db.v4 : Rect.empty;
|
|
714
|
-
let c = this.db != null ? this.db.
|
|
714
|
+
let c = this.db != null ? this.db.wm : Rect.empty;
|
|
715
715
|
let d = new Rect(0, 0, 0, 1, 1);
|
|
716
716
|
let e = this.wk(this.cv);
|
|
717
717
|
let f = new ScalerParams(0, d, d, this.w4.ch, e);
|
|
@@ -1064,7 +1064,7 @@ export let HighDensityScatterSeriesView = /*@__PURE__*/ (() => {
|
|
|
1064
1064
|
b = this.bx;
|
|
1065
1065
|
}
|
|
1066
1066
|
else {
|
|
1067
|
-
b = this.e.db.
|
|
1067
|
+
b = this.e.db.wa();
|
|
1068
1068
|
}
|
|
1069
1069
|
let c = truncate(Math.round(b.left));
|
|
1070
1070
|
let d = truncate(Math.round(b.top));
|
|
@@ -120,7 +120,7 @@ export let NumericXAxis = /*@__PURE__*/ (() => {
|
|
|
120
120
|
if (isNaN_(c) || isNaN_(d)) {
|
|
121
121
|
return;
|
|
122
122
|
}
|
|
123
|
-
this.bi.
|
|
123
|
+
this.bi.wn = new Rect(0, c, this.bi.wn.y, d - c, this.bi.wn.height);
|
|
124
124
|
}
|
|
125
125
|
k5(a, b, c, d) {
|
|
126
126
|
let e = d;
|
|
@@ -80,7 +80,7 @@ export let NumericYAxis = /*@__PURE__*/ (() => {
|
|
|
80
80
|
if (isNaN_(c) || isNaN_(d)) {
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
|
-
this.bi.
|
|
83
|
+
this.bi.wn = new Rect(0, this.bi.wn.x, d, this.bi.wn.width, c - d);
|
|
84
84
|
}
|
|
85
85
|
k2() {
|
|
86
86
|
let a = super.k2();
|
|
@@ -253,7 +253,7 @@ export let OrdinalTimeXAxis = /*@__PURE__*/ (() => {
|
|
|
253
253
|
return;
|
|
254
254
|
}
|
|
255
255
|
let b = this.kb();
|
|
256
|
-
let c = new ScalerParams(1, this.bi.
|
|
256
|
+
let c = new ScalerParams(1, this.bi.wn, this.bi.wm, this.ch);
|
|
257
257
|
c.c = this.kc();
|
|
258
258
|
let d = this.eo(b.left, c);
|
|
259
259
|
let e = this.eo(b.right, c);
|
|
@@ -1221,8 +1221,8 @@ export let PolarBase = /*@__PURE__*/ (() => {
|
|
|
1221
1221
|
let d = this.cv.by;
|
|
1222
1222
|
let e = this.cv.bx;
|
|
1223
1223
|
let f = this.getEffectiveViewport1(this.cv);
|
|
1224
|
-
let g = this.
|
|
1225
|
-
let h = new CollisionRect(0, a);
|
|
1224
|
+
let g = this.db.wc(this.wr, this.getEffectiveViewport(), d);
|
|
1225
|
+
let h = new CollisionRect(0, this.db.v9(a));
|
|
1226
1226
|
let i = this.yt.k5(e, d, f, g);
|
|
1227
1227
|
for (let j = 0; j < this.dn.count; j++) {
|
|
1228
1228
|
let k = this.ys.getScaledAngle(this.zi.item(j));
|
|
@@ -1112,7 +1112,7 @@ export let RadialBase = /*@__PURE__*/ (() => {
|
|
|
1112
1112
|
let e = this.cv.bx;
|
|
1113
1113
|
let f = this.cv.getEffectiveViewport();
|
|
1114
1114
|
let g, h;
|
|
1115
|
-
let i = this.y7.f(a, d, e, f, g, h);
|
|
1115
|
+
let i = this.y7.f(this.db.v9(a), d, e, f, g, h);
|
|
1116
1116
|
g = i.p4;
|
|
1117
1117
|
h = i.p5;
|
|
1118
1118
|
if (g == -1 || h == -1) {
|
|
@@ -170,58 +170,59 @@ export let RadialColumnSeries = /*@__PURE__*/ (() => {
|
|
|
170
170
|
let d = this.cv.by;
|
|
171
171
|
let e = this.cv.bx;
|
|
172
172
|
let f = this.getEffectiveViewport1(this.cv);
|
|
173
|
-
let g = this.
|
|
173
|
+
let g = this.db.wc(this.wr, this.getEffectiveViewport(), d);
|
|
174
174
|
let h = this.y4.k5(e, d, f, g);
|
|
175
175
|
let i = { $type: Point_$type, x: ViewportUtils.e(0.5, d, e, f), y: ViewportUtils.i(0.5, d, e, f) };
|
|
176
|
-
let j =
|
|
177
|
-
let k =
|
|
178
|
-
let l =
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
let n =
|
|
182
|
-
let o =
|
|
183
|
-
let p =
|
|
184
|
-
let q = this.y7.
|
|
185
|
-
let r = this.y7.
|
|
186
|
-
let s = this.y7.
|
|
187
|
-
let t =
|
|
188
|
-
let u =
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
let x =
|
|
192
|
-
let y =
|
|
193
|
-
let z =
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
176
|
+
let j = this.db.v9(a);
|
|
177
|
+
let k = new Clipper(1, j.left, j.bottom, j.right, j.top, true);
|
|
178
|
+
let l = this.y4;
|
|
179
|
+
let m = Math.max(0, 0.5 * l.n6);
|
|
180
|
+
m = Math.max(m, h.minLength * 0.9);
|
|
181
|
+
let n = ViewportUtils.d(m, d, e, f);
|
|
182
|
+
let o = this.yy.k8(d, e, f);
|
|
183
|
+
let p = Math.max(0.1 * this.y4.n7, m);
|
|
184
|
+
let q = this.y7.d(0, p, d, e, f);
|
|
185
|
+
let r = this.y7.e(0, p, d, e, f);
|
|
186
|
+
let s = this.y7.d(o, p, d, e, f);
|
|
187
|
+
let t = this.y7.e(o, p, d, e, f);
|
|
188
|
+
let u = Math.sqrt((q - s) * (q - s) + (r - t) * (r - t));
|
|
189
|
+
let v = this.yy != null && this.yy.cl;
|
|
190
|
+
for (let w = 0; w < this.yy.lk; w++) {
|
|
191
|
+
let x = typeCast(RadialBaseView.$, this.cv);
|
|
192
|
+
let y = x.cx.getBucket(w);
|
|
193
|
+
let z = Math.min(this.y7.b.od(y[2]), h.maxLength * 1.1);
|
|
194
|
+
let aa = this.aci(this.yy, d, e, f);
|
|
195
|
+
if (v) {
|
|
196
|
+
aa = this.ach(w, this.yy, d, e, f);
|
|
197
|
+
if (isNaN_(aa)) {
|
|
198
|
+
aa = 0;
|
|
198
199
|
}
|
|
199
200
|
}
|
|
200
|
-
|
|
201
|
-
let
|
|
202
|
-
let
|
|
203
|
-
let
|
|
204
|
-
let
|
|
205
|
-
let
|
|
206
|
-
let
|
|
207
|
-
let
|
|
208
|
-
let
|
|
209
|
-
let
|
|
210
|
-
let
|
|
211
|
-
let
|
|
212
|
-
let
|
|
213
|
-
let
|
|
214
|
-
let
|
|
215
|
-
let
|
|
216
|
-
let
|
|
217
|
-
let
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
if (
|
|
201
|
+
y[0] = this.yy.getScaledAngle(y[0]) + aa;
|
|
202
|
+
let ab = this.y7.d(y[0], z, d, e, f);
|
|
203
|
+
let ac = this.y7.e(y[0], z, d, e, f);
|
|
204
|
+
let ad = Math.sqrt((ab - i.x) * (ab - i.x) + (ac - i.y) * (ac - i.y));
|
|
205
|
+
let ae = ad;
|
|
206
|
+
let af = n;
|
|
207
|
+
let ag = y[0] - (Math.PI / 2);
|
|
208
|
+
let ah = 0 - (u / 2);
|
|
209
|
+
let ai = (u / 2);
|
|
210
|
+
let aj = Math.max(af, ae);
|
|
211
|
+
let ak = Math.min(af, ae);
|
|
212
|
+
let al = Math.cos(ag);
|
|
213
|
+
let am = Math.sin(ag);
|
|
214
|
+
let an = { $type: Point_$type, x: i.x + (ah * al - aj * am), y: i.y + (ah * am + aj * al) };
|
|
215
|
+
let ao = { $type: Point_$type, x: i.x + (ai * al - aj * am), y: i.y + (ai * am + aj * al) };
|
|
216
|
+
let ap = { $type: Point_$type, x: i.x + (ai * al - ak * am), y: i.y + (ai * am + ak * al) };
|
|
217
|
+
let aq = { $type: Point_$type, x: i.x + (ah * al - ak * am), y: i.y + (ah * am + ak * al) };
|
|
218
|
+
let ar = new List$1(Point_$type, 0);
|
|
219
|
+
k.i = ar;
|
|
220
|
+
k.j(an);
|
|
221
|
+
k.j(ao);
|
|
222
|
+
k.j(ap);
|
|
223
|
+
k.j(aq);
|
|
224
|
+
k.i = null;
|
|
225
|
+
if (ar == null || ar.count == 0) {
|
|
225
226
|
continue;
|
|
226
227
|
}
|
|
227
228
|
if (c == 7 || c == 6) {
|
|
@@ -235,14 +236,14 @@ export let RadialColumnSeries = /*@__PURE__*/ (() => {
|
|
|
235
236
|
else if (c == 2 || c == 1) {
|
|
236
237
|
b.add(((() => {
|
|
237
238
|
let $ret = new ChartSelection();
|
|
238
|
-
$ret.item = this.dn.item(
|
|
239
|
+
$ret.item = this.dn.item(w);
|
|
239
240
|
return $ret;
|
|
240
241
|
})()));
|
|
241
242
|
}
|
|
242
243
|
else {
|
|
243
244
|
b.add(((() => {
|
|
244
245
|
let $ret = new ChartSelection();
|
|
245
|
-
$ret.item = this.dn.item(
|
|
246
|
+
$ret.item = this.dn.item(w);
|
|
246
247
|
$ret.series = this;
|
|
247
248
|
return $ret;
|
|
248
249
|
})()));
|
|
@@ -509,7 +509,7 @@ export let RadialPieSeries = /*@__PURE__*/ (() => {
|
|
|
509
509
|
let d = this.cv.by;
|
|
510
510
|
let e = this.cv.bx;
|
|
511
511
|
let f = this.getEffectiveViewport1(this.cv);
|
|
512
|
-
let g = this.
|
|
512
|
+
let g = this.db.wc(this.wr, this.getEffectiveViewport(), d);
|
|
513
513
|
let h = this.y4.k5(e, d, f, g);
|
|
514
514
|
let i = { $type: Point_$type, x: 0.5, y: 0.5 };
|
|
515
515
|
let j = this.y4;
|
|
@@ -518,7 +518,7 @@ export let RadialPieSeries = /*@__PURE__*/ (() => {
|
|
|
518
518
|
l = Math.max(l, h.minLength);
|
|
519
519
|
let m = this.yy.k8(d, e, f);
|
|
520
520
|
let n = this.yy != null && this.yy.cl;
|
|
521
|
-
let o = new CollisionRect(0, a);
|
|
521
|
+
let o = new CollisionRect(0, this.db.v9(a));
|
|
522
522
|
for (let p = 0; p < this.yy.lk; p++) {
|
|
523
523
|
let q = typeCast(RadialBaseView.$, this.cv);
|
|
524
524
|
let r = q.cx.getBucket(p);
|
|
@@ -351,7 +351,7 @@ export let RangeCategorySeries = /*@__PURE__*/ (() => {
|
|
|
351
351
|
return null;
|
|
352
352
|
}
|
|
353
353
|
let c = this.wi(this.cv);
|
|
354
|
-
let d = new ScalerParams(0, a, this.db.
|
|
354
|
+
let d = new ScalerParams(0, a, this.db.wm, b.ch, this.getEffectiveViewport());
|
|
355
355
|
let e = (b.eo(c.left, d));
|
|
356
356
|
let f = (b.eo(c.right, d));
|
|
357
357
|
if (b.ch) {
|
|
@@ -204,7 +204,7 @@ export let ScatterAreaSeries = /*@__PURE__*/ (() => {
|
|
|
204
204
|
if (d == null || d.length != (b * c) || this.w7 == null || this.w7.count < 1 || this.w8 == null || this.w8.count < 1 || this.w9 == null || this.w9.count < 1) {
|
|
205
205
|
return null;
|
|
206
206
|
}
|
|
207
|
-
let e = this.db.
|
|
207
|
+
let e = this.db.wn;
|
|
208
208
|
let f = (a.x - e.left) / e.width;
|
|
209
209
|
let g = (a.y - e.top) / e.height;
|
|
210
210
|
let h = truncate(Math.round(b * f));
|
|
@@ -857,7 +857,7 @@ export let ScatterBase = /*@__PURE__*/ (() => {
|
|
|
857
857
|
gc(a) {
|
|
858
858
|
let b = this.db != null ? this.db.v4 : Rect.empty;
|
|
859
859
|
b = b.copy();
|
|
860
|
-
let c = this.db != null ? this.db.
|
|
860
|
+
let c = this.db != null ? this.db.wm : Rect.empty;
|
|
861
861
|
let d = new Rect(0, 0, 0, 1, 1);
|
|
862
862
|
let e = this.wk(this.cv);
|
|
863
863
|
let f = new ScalerParams(0, d, d, this.xAxis.ch, e);
|
|
@@ -1166,13 +1166,13 @@ export let ScatterBase = /*@__PURE__*/ (() => {
|
|
|
1166
1166
|
this.aa6(a, b, c, 0, null);
|
|
1167
1167
|
}
|
|
1168
1168
|
aa6(a, b, c, d, e) {
|
|
1169
|
-
let f = this.
|
|
1169
|
+
let f = this.db.wj(this.db.v9(a));
|
|
1170
1170
|
let g = this.dn.count;
|
|
1171
1171
|
let h = this.yv.a;
|
|
1172
1172
|
let i = this.yv.b;
|
|
1173
|
-
let j = this.
|
|
1174
|
-
let k = new ScalerParams(0, f, this.db.
|
|
1175
|
-
let l = new ScalerParams(0, f, this.db.
|
|
1173
|
+
let j = this.db.wc(this.wr, this.getEffectiveViewport(), f);
|
|
1174
|
+
let k = new ScalerParams(0, f, this.db.wm, h.ch, this.getEffectiveViewport());
|
|
1175
|
+
let l = new ScalerParams(0, f, this.db.wm, i.ch, this.getEffectiveViewport());
|
|
1176
1176
|
if (d == 0) {
|
|
1177
1177
|
for (let m = 0; m < g; m++) {
|
|
1178
1178
|
let n = h.el(this.zg.item(m), k);
|
|
@@ -195,7 +195,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
195
195
|
}
|
|
196
196
|
a.oa(c);
|
|
197
197
|
let k = a.c0 == 0 && !a.e4 && (a.er || f) && !g && !h;
|
|
198
|
-
let l = a.
|
|
198
|
+
let l = a.wm;
|
|
199
199
|
let m = a.v8;
|
|
200
200
|
if (k && !isNaN_(b.x) && !l.isEmpty) {
|
|
201
201
|
let n = ViewportUtils.e(b.x, a.v4, l, m);
|
|
@@ -237,7 +237,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
f$t(a, b) {
|
|
240
|
-
if (b.x >= 0 && b.y >= 0 && b.x <= a.
|
|
240
|
+
if (b.x >= 0 && b.y >= 0 && b.x <= a.wm.width && b.y <= a.wm.height) {
|
|
241
241
|
this.ak(a, b);
|
|
242
242
|
}
|
|
243
243
|
else {
|
|
@@ -246,7 +246,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
246
246
|
}
|
|
247
247
|
ak(a, b) {
|
|
248
248
|
let c = a.c9;
|
|
249
|
-
let d = a.
|
|
249
|
+
let d = a.wm;
|
|
250
250
|
if (a.e5 || a.e4) {
|
|
251
251
|
return;
|
|
252
252
|
}
|
|
@@ -376,7 +376,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
376
376
|
this.t = this.r;
|
|
377
377
|
}
|
|
378
378
|
let g = a.v4;
|
|
379
|
-
let h = a.
|
|
379
|
+
let h = a.wm;
|
|
380
380
|
let i = b.x - this.v;
|
|
381
381
|
let j = b.y - this.w;
|
|
382
382
|
this.v = b.x;
|
|
@@ -443,7 +443,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
443
443
|
a.nw();
|
|
444
444
|
}
|
|
445
445
|
aa(a, b) {
|
|
446
|
-
let c = a.
|
|
446
|
+
let c = a.wn;
|
|
447
447
|
let d = 1 / b;
|
|
448
448
|
let e = { $type: Point_$type, x: c.x + c.width / 2, y: c.y + c.height / 2 };
|
|
449
449
|
let f = { $type: Point_$type, x: c.x - e.x, y: c.y - e.y };
|
|
@@ -451,8 +451,8 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
451
451
|
a.rx(g, true);
|
|
452
452
|
}
|
|
453
453
|
ac(a, b) {
|
|
454
|
-
let c = a.
|
|
455
|
-
let d = a.
|
|
454
|
+
let c = a.wm;
|
|
455
|
+
let d = a.wn;
|
|
456
456
|
let e = b - this.u;
|
|
457
457
|
if (e != 0) {
|
|
458
458
|
let f = 0.03;
|
|
@@ -543,7 +543,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
543
543
|
break;
|
|
544
544
|
}
|
|
545
545
|
this.as = a.v4;
|
|
546
|
-
a.
|
|
546
|
+
a.wo = a.v4;
|
|
547
547
|
}
|
|
548
548
|
f$an(a) {
|
|
549
549
|
a.ri();
|
|
@@ -644,7 +644,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
644
644
|
}
|
|
645
645
|
if (a.c0 == 3) {
|
|
646
646
|
if (f) {
|
|
647
|
-
let j = a.
|
|
647
|
+
let j = a.wk(h);
|
|
648
648
|
a.qf(j, true);
|
|
649
649
|
}
|
|
650
650
|
else {
|
|
@@ -655,7 +655,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
655
655
|
}
|
|
656
656
|
if (this.o(a)) {
|
|
657
657
|
if (f) {
|
|
658
|
-
let k = a.
|
|
658
|
+
let k = a.wk(h);
|
|
659
659
|
a.qf(k, true);
|
|
660
660
|
}
|
|
661
661
|
else {
|
|
@@ -664,7 +664,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
664
664
|
a.op(g);
|
|
665
665
|
d.eg(h);
|
|
666
666
|
}
|
|
667
|
-
let l = a.
|
|
667
|
+
let l = a.wm;
|
|
668
668
|
let m = a.v4;
|
|
669
669
|
if (this.p(a)) {
|
|
670
670
|
let n = l;
|
|
@@ -698,7 +698,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
698
698
|
if (c) {
|
|
699
699
|
f = 10;
|
|
700
700
|
}
|
|
701
|
-
let g = a.
|
|
701
|
+
let g = a.wm;
|
|
702
702
|
let h = a.v4;
|
|
703
703
|
if (!d) {
|
|
704
704
|
if (this.l) {
|
|
@@ -723,7 +723,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
723
723
|
a.oo();
|
|
724
724
|
e.cf();
|
|
725
725
|
if (i) {
|
|
726
|
-
a.rx(a.
|
|
726
|
+
a.rx(a.wk(j), true);
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
729
|
if (a.c0 == 2) {
|
|
@@ -1061,8 +1061,8 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
1061
1061
|
f$h(a, b, c) {
|
|
1062
1062
|
let d = a.c9;
|
|
1063
1063
|
let e = a.v4;
|
|
1064
|
-
let f = e.left + e.width * b.x / a.
|
|
1065
|
-
let g = e.top + e.height * b.y / a.
|
|
1064
|
+
let f = e.left + e.width * b.x / a.wm.width;
|
|
1065
|
+
let g = e.top + e.height * b.y / a.wm.height;
|
|
1066
1066
|
let h = 1 - MathUtil.d(c, -0.5, 0.5);
|
|
1067
1067
|
let i = Math.max(0, f - h * (f - e.left));
|
|
1068
1068
|
let j = Math.min(1, g + h * (e.bottom - g));
|
|
@@ -1078,8 +1078,8 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
1078
1078
|
}
|
|
1079
1079
|
f$r(a, b) {
|
|
1080
1080
|
let c = a.v4;
|
|
1081
|
-
let d = c.left + c.width * b.x / a.
|
|
1082
|
-
let e = c.top + c.height * b.y / a.
|
|
1081
|
+
let d = c.left + c.width * b.x / a.wm.width;
|
|
1082
|
+
let e = c.top + c.height * b.y / a.wm.height;
|
|
1083
1083
|
let f = 0.7;
|
|
1084
1084
|
let g = Math.max(0, d - f * (d - c.left));
|
|
1085
1085
|
let h = Math.min(1, e + f * (c.bottom - e));
|
|
@@ -1238,7 +1238,7 @@ export let SeriesViewerInteractionManager = /*@__PURE__*/ (() => {
|
|
|
1238
1238
|
if (this.l) {
|
|
1239
1239
|
return true;
|
|
1240
1240
|
}
|
|
1241
|
-
if (c >= a.
|
|
1241
|
+
if (c >= a.wm.left && d >= a.wm.top && c <= a.wm.left + a.wm.width && d <= a.wm.top + a.wm.height) {
|
|
1242
1242
|
let e = a.c2;
|
|
1243
1243
|
if (e != null && e.viewShouldInteract(b)) {
|
|
1244
1244
|
return false;
|
|
@@ -628,7 +628,7 @@ export let SeriesViewerScrollbarManager = /*@__PURE__*/ (() => {
|
|
|
628
628
|
let e = a / d;
|
|
629
629
|
let f = this.owner.v4;
|
|
630
630
|
let g = new Rect(0, f.left, f.top + e, f.width, f.height);
|
|
631
|
-
this.owner.
|
|
631
|
+
this.owner.wn = g;
|
|
632
632
|
}
|
|
633
633
|
bg(a) {
|
|
634
634
|
let b = this.bx;
|
|
@@ -637,7 +637,7 @@ export let SeriesViewerScrollbarManager = /*@__PURE__*/ (() => {
|
|
|
637
637
|
let e = a / d;
|
|
638
638
|
let f = this.owner.v4;
|
|
639
639
|
let g = new Rect(0, f.left + e, f.top, f.width, f.height);
|
|
640
|
-
this.owner.
|
|
640
|
+
this.owner.wn = g;
|
|
641
641
|
}
|
|
642
642
|
onScrollbarDragComplete(a, b) {
|
|
643
643
|
this.j = false;
|
|
@@ -72,10 +72,10 @@ export let SeriesViewerSurfaceViewer = /*@__PURE__*/ (() => {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
zoomTo100() {
|
|
75
|
-
this.l.
|
|
75
|
+
this.l.wn = XamDataChart.wh;
|
|
76
76
|
}
|
|
77
77
|
scaleToFit() {
|
|
78
|
-
this.l.
|
|
78
|
+
this.l.wn = XamDataChart.wh;
|
|
79
79
|
}
|
|
80
80
|
renderPreview() {
|
|
81
81
|
if (!this.isDirty) {
|
|
@@ -90,10 +90,10 @@ export let SeriesViewerSurfaceViewer = /*@__PURE__*/ (() => {
|
|
|
90
90
|
this.isDirty = false;
|
|
91
91
|
}
|
|
92
92
|
get worldRect() {
|
|
93
|
-
return XamDataChart.
|
|
93
|
+
return XamDataChart.wh;
|
|
94
94
|
}
|
|
95
95
|
get viewportRect() {
|
|
96
|
-
return this.l.
|
|
96
|
+
return this.l.wm;
|
|
97
97
|
}
|
|
98
98
|
get minimumZoomLevel() {
|
|
99
99
|
return 0;
|
|
@@ -137,7 +137,7 @@ export let SeriesViewerSurfaceViewer = /*@__PURE__*/ (() => {
|
|
|
137
137
|
let e = 1 - this.zoomLevel;
|
|
138
138
|
let f = RectUtil.l(this.l.v4);
|
|
139
139
|
let g = new Rect(0, f.x - e / 2, f.y - e / 2, e, e);
|
|
140
|
-
this.l.
|
|
140
|
+
this.l.wn = SeriesViewerSurfaceViewer.z(this.l.wn, g, this.l.fl(), this.l.fm(), this.worldRect);
|
|
141
141
|
}
|
|
142
142
|
this.w();
|
|
143
143
|
if (this.l.c2 != null) {
|