igniteui-webcomponents-charts 4.8.1-alpha.0 → 4.8.1
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 +84 -63
- package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
- package/esm2015/lib/AngleAxisLabelPanel_combined.js +1 -1
- package/esm2015/lib/CategoryDateTimeXAxis_combined.js +47 -44
- package/esm2015/lib/DomainChartToolbarProvider.js +7 -5
- package/esm2015/lib/SeriesViewer_combined.js +3 -1
- package/esm2015/lib/XamFunnelView_combined.js +1 -1
- package/esm2015/lib/igc-category-date-time-x-axis-component.js +26 -16
- package/esm5/lib/AngleAxisLabelPanel_combined.js +1 -1
- package/esm5/lib/CategoryDateTimeXAxis_combined.js +44 -41
- package/esm5/lib/DomainChartToolbarProvider.js +7 -5
- package/esm5/lib/SeriesViewer_combined.js +3 -1
- package/esm5/lib/XamFunnelView_combined.js +1 -1
- package/esm5/lib/igc-category-date-time-x-axis-component.js +30 -16
- package/fesm2015/igniteui-webcomponents-charts.js +83 -66
- package/fesm5/igniteui-webcomponents-charts.js +84 -63
- package/lib/CategoryDateTimeXAxis_combined.d.ts +16 -15
- package/lib/igc-category-date-time-x-axis-component.d.ts +5 -0
- package/package.json +2 -2
|
@@ -12657,12 +12657,14 @@
|
|
|
12657
12657
|
}
|
|
12658
12658
|
this.a5.z();
|
|
12659
12659
|
this.h9(a);
|
|
12660
|
+
this.a5.aq();
|
|
12660
12661
|
if (!this.cp && this.cq && this.c4 && this.c0) {
|
|
12661
12662
|
if (this.b2()) {
|
|
12663
|
+
this.a5.z();
|
|
12662
12664
|
this.h9(a);
|
|
12665
|
+
this.a5.aq();
|
|
12663
12666
|
}
|
|
12664
12667
|
}
|
|
12665
|
-
this.a5.aq();
|
|
12666
12668
|
var d = 1;
|
|
12667
12669
|
var e = 0;
|
|
12668
12670
|
if (this.dd != null && this.dd.count > 0) {
|
|
@@ -102345,11 +102347,13 @@
|
|
|
102345
102347
|
}
|
|
102346
102348
|
};
|
|
102347
102349
|
DomainChartToolbarProvider.prototype.c = function (a, b) {
|
|
102348
|
-
|
|
102349
|
-
|
|
102350
|
-
var
|
|
102351
|
-
|
|
102352
|
-
|
|
102350
|
+
if (a.commandId == b) {
|
|
102351
|
+
var e = a.argumentsList;
|
|
102352
|
+
for (var d = 0; d < e.length; d++) {
|
|
102353
|
+
var c = e[d];
|
|
102354
|
+
if (c.argumentName == "IsChecked") {
|
|
102355
|
+
return c.value;
|
|
102356
|
+
}
|
|
102353
102357
|
}
|
|
102354
102358
|
}
|
|
102355
102359
|
return false;
|
|
@@ -118303,7 +118307,7 @@
|
|
|
118303
118307
|
}
|
|
118304
118308
|
else if (igniteuiWebcomponentsCore.typeCast(NumericAngleAxis.$, c._inner[f - 1]) !== null) {
|
|
118305
118309
|
var j = c._inner[f - 1];
|
|
118306
|
-
if (j.
|
|
118310
|
+
if (j.nh == 2) {
|
|
118307
118311
|
g += j.aw.db;
|
|
118308
118312
|
}
|
|
118309
118313
|
else {
|
|
@@ -121303,8 +121307,8 @@
|
|
|
121303
121307
|
tslib.__extends(CategoryDateTimeXAxis, _super);
|
|
121304
121308
|
function CategoryDateTimeXAxis() {
|
|
121305
121309
|
var _this = _super.call(this) || this;
|
|
121306
|
-
_this.nt = 0;
|
|
121307
121310
|
_this.nu = 0;
|
|
121311
|
+
_this.nv = 0;
|
|
121308
121312
|
_this.ab = CategoryDateTimeXAxis.$;
|
|
121309
121313
|
_this.actualMinimumValue = (new Date());
|
|
121310
121314
|
_this.actualMaximumValue = (new Date());
|
|
@@ -121320,42 +121324,42 @@
|
|
|
121320
121324
|
_super.prototype.hs.call(this, a);
|
|
121321
121325
|
this.nn = a;
|
|
121322
121326
|
};
|
|
121323
|
-
Object.defineProperty(CategoryDateTimeXAxis.prototype, "
|
|
121327
|
+
Object.defineProperty(CategoryDateTimeXAxis.prototype, "nw", {
|
|
121324
121328
|
get: function () {
|
|
121325
|
-
return this.
|
|
121329
|
+
return this.nu;
|
|
121326
121330
|
},
|
|
121327
121331
|
set: function (a) {
|
|
121328
|
-
if (this.
|
|
121329
|
-
var b = this.
|
|
121330
|
-
this.
|
|
121331
|
-
this.h2("ActualInterval", b, this.
|
|
121332
|
+
if (this.nw != a) {
|
|
121333
|
+
var b = this.nu;
|
|
121334
|
+
this.nu = a;
|
|
121335
|
+
this.h2("ActualInterval", b, this.nw);
|
|
121332
121336
|
}
|
|
121333
121337
|
},
|
|
121334
121338
|
enumerable: false,
|
|
121335
121339
|
configurable: true
|
|
121336
121340
|
});
|
|
121337
121341
|
CategoryDateTimeXAxis.prototype.ev = function () {
|
|
121338
|
-
return this.
|
|
121342
|
+
return this.nw;
|
|
121339
121343
|
};
|
|
121340
|
-
Object.defineProperty(CategoryDateTimeXAxis.prototype, "
|
|
121344
|
+
Object.defineProperty(CategoryDateTimeXAxis.prototype, "n0", {
|
|
121341
121345
|
get: function () {
|
|
121342
|
-
return igniteuiWebcomponentsCore.typeGetValue(this.c(CategoryDateTimeXAxis.
|
|
121346
|
+
return igniteuiWebcomponentsCore.typeGetValue(this.c(CategoryDateTimeXAxis.oc));
|
|
121343
121347
|
},
|
|
121344
121348
|
set: function (a) {
|
|
121345
|
-
this.h(CategoryDateTimeXAxis.
|
|
121349
|
+
this.h(CategoryDateTimeXAxis.oc, a);
|
|
121346
121350
|
},
|
|
121347
121351
|
enumerable: false,
|
|
121348
121352
|
configurable: true
|
|
121349
121353
|
});
|
|
121350
|
-
Object.defineProperty(CategoryDateTimeXAxis.prototype, "
|
|
121354
|
+
Object.defineProperty(CategoryDateTimeXAxis.prototype, "nx", {
|
|
121351
121355
|
get: function () {
|
|
121352
|
-
return this.
|
|
121356
|
+
return this.nv;
|
|
121353
121357
|
},
|
|
121354
121358
|
set: function (a) {
|
|
121355
|
-
if (this.
|
|
121356
|
-
var b = this.
|
|
121357
|
-
this.
|
|
121358
|
-
this.h2("ActualMinorInterval", b, this.
|
|
121359
|
+
if (this.nx != a) {
|
|
121360
|
+
var b = this.nv;
|
|
121361
|
+
this.nv = a;
|
|
121362
|
+
this.h2("ActualMinorInterval", b, this.nx);
|
|
121359
121363
|
}
|
|
121360
121364
|
},
|
|
121361
121365
|
enumerable: false,
|
|
@@ -121369,7 +121373,7 @@
|
|
|
121369
121373
|
return +(this.actualMinimumValue) != +(this.actualMaximumValue);
|
|
121370
121374
|
};
|
|
121371
121375
|
CategoryDateTimeXAxis.prototype.d4 = function () {
|
|
121372
|
-
return this.
|
|
121376
|
+
return this.nw;
|
|
121373
121377
|
};
|
|
121374
121378
|
CategoryDateTimeXAxis.prototype.h9 = function (a) {
|
|
121375
121379
|
_super.prototype.h9.call(this, a);
|
|
@@ -121444,8 +121448,8 @@
|
|
|
121444
121448
|
var z = Math.min(x, y);
|
|
121445
121449
|
var aa = Math.max(x, y);
|
|
121446
121450
|
var ab = new LinearNumericSnapper(0, z, aa, e.width, this.ey());
|
|
121447
|
-
var ac = this.ml ? this.
|
|
121448
|
-
this.
|
|
121451
|
+
var ac = this.ml ? this.nt() : ab.g;
|
|
121452
|
+
this.n8(igniteuiWebcomponentsCore.truncate(ac));
|
|
121449
121453
|
var ad = igniteuiWebcomponentsCore.truncate(Math.floor((z - this.actualMinimumValue.getTime()) / ac));
|
|
121450
121454
|
var ae = igniteuiWebcomponentsCore.truncate(Math.ceil((aa - this.actualMinimumValue.getTime()) / ac));
|
|
121451
121455
|
var af = 0;
|
|
@@ -121467,7 +121471,7 @@
|
|
|
121467
121471
|
this.im(m, ai, c, l, false);
|
|
121468
121472
|
this.ky.add(ai);
|
|
121469
121473
|
if (this.cy) {
|
|
121470
|
-
var am = this.
|
|
121474
|
+
var am = this.ny();
|
|
121471
121475
|
if (am > 0 && am < ac) {
|
|
121472
121476
|
if (ac / am < 20) {
|
|
121473
121477
|
var an = ai;
|
|
@@ -121481,7 +121485,7 @@
|
|
|
121481
121485
|
this.im(n, an, c, o, false);
|
|
121482
121486
|
}
|
|
121483
121487
|
}
|
|
121484
|
-
this.
|
|
121488
|
+
this.n9(am);
|
|
121485
121489
|
}
|
|
121486
121490
|
}
|
|
121487
121491
|
else {
|
|
@@ -121490,7 +121494,7 @@
|
|
|
121490
121494
|
this.im(n, aq, c, o, false);
|
|
121491
121495
|
}
|
|
121492
121496
|
if (ab.i > 0) {
|
|
121493
|
-
this.
|
|
121497
|
+
this.n9(igniteuiWebcomponentsCore.truncate((ac / ab.i)));
|
|
121494
121498
|
}
|
|
121495
121499
|
}
|
|
121496
121500
|
}
|
|
@@ -121519,28 +121523,28 @@
|
|
|
121519
121523
|
this.l4();
|
|
121520
121524
|
}
|
|
121521
121525
|
};
|
|
121522
|
-
CategoryDateTimeXAxis.prototype.
|
|
121523
|
-
return this.
|
|
121526
|
+
CategoryDateTimeXAxis.prototype.nt = function () {
|
|
121527
|
+
return this.nw;
|
|
121524
121528
|
};
|
|
121525
|
-
CategoryDateTimeXAxis.prototype.
|
|
121526
|
-
return this.
|
|
121529
|
+
CategoryDateTimeXAxis.prototype.ny = function () {
|
|
121530
|
+
return this.n0;
|
|
121527
121531
|
};
|
|
121528
|
-
CategoryDateTimeXAxis.prototype.
|
|
121529
|
-
this.nv = a;
|
|
121530
|
-
};
|
|
121531
|
-
CategoryDateTimeXAxis.prototype.n7 = function (a) {
|
|
121532
|
+
CategoryDateTimeXAxis.prototype.n8 = function (a) {
|
|
121532
121533
|
this.nw = a;
|
|
121533
121534
|
};
|
|
121535
|
+
CategoryDateTimeXAxis.prototype.n9 = function (a) {
|
|
121536
|
+
this.nx = a;
|
|
121537
|
+
};
|
|
121534
121538
|
CategoryDateTimeXAxis.prototype.nq = function () {
|
|
121535
|
-
return this.
|
|
121539
|
+
return this.nz != 0;
|
|
121536
121540
|
};
|
|
121537
121541
|
CategoryDateTimeXAxis.prototype.np = function () {
|
|
121538
|
-
return this.
|
|
121542
|
+
return this.nw == 0;
|
|
121539
121543
|
};
|
|
121540
|
-
CategoryDateTimeXAxis.prototype.
|
|
121544
|
+
CategoryDateTimeXAxis.prototype.ns = function (a) {
|
|
121541
121545
|
return this.mh == null ? igniteuiWebcomponentsCore.dateMinValue() : this.mh.item(a);
|
|
121542
121546
|
};
|
|
121543
|
-
CategoryDateTimeXAxis.prototype.
|
|
121547
|
+
CategoryDateTimeXAxis.prototype.n7 = function (a, b) {
|
|
121544
121548
|
if (a > b || this.kr == null || this.kr.count == 0) {
|
|
121545
121549
|
return;
|
|
121546
121550
|
}
|
|
@@ -121553,23 +121557,26 @@
|
|
|
121553
121557
|
switch (b) {
|
|
121554
121558
|
case CategoryDateTimeXAxis.$$p[0]:
|
|
121555
121559
|
this.cq = true;
|
|
121556
|
-
this.aw.al = this.no == 1;
|
|
121560
|
+
this.aw.al = this.no == 1 || this.nr;
|
|
121557
121561
|
this.h8(false);
|
|
121558
121562
|
break;
|
|
121559
121563
|
case CategoryDateTimeXAxis.$$p[1]:
|
|
121560
121564
|
this.cq = true;
|
|
121561
121565
|
this.h8(false);
|
|
121562
121566
|
break;
|
|
121567
|
+
case CategoryDateTimeXAxis.$$p[2]:
|
|
121568
|
+
this.aw.al = this.no == 1 || this.nr;
|
|
121569
|
+
break;
|
|
121563
121570
|
}
|
|
121564
121571
|
};
|
|
121565
121572
|
CategoryDateTimeXAxis.prototype.nd = function () {
|
|
121566
121573
|
_super.prototype.nd.call(this);
|
|
121567
121574
|
if (this.nq()) {
|
|
121568
|
-
this.
|
|
121575
|
+
this.nw = this.nz;
|
|
121569
121576
|
var a = this.bi != null ? this.bi.vh : igniteuiWebcomponentsCore.Rect.empty;
|
|
121570
121577
|
var b = !a.isEmpty ? this.kd : igniteuiWebcomponentsCore.Rect.empty;
|
|
121571
121578
|
var c = Math.abs(this.actualMaximumValue.getTime() - this.actualMinimumValue.getTime());
|
|
121572
|
-
this.ml = this.np() || (this.no == 1) || (1 * c / this.
|
|
121579
|
+
this.ml = this.np() || (this.no == 1) || (1 * c / this.nt() > (b.width / a.width)) ? false : true;
|
|
121573
121580
|
}
|
|
121574
121581
|
else {
|
|
121575
121582
|
this.ml = false;
|
|
@@ -121623,11 +121630,11 @@
|
|
|
121623
121630
|
configurable: true
|
|
121624
121631
|
});
|
|
121625
121632
|
CategoryDateTimeXAxis.$t = igniteuiWebcomponentsCore.markType(CategoryDateTimeXAxis, 'CategoryDateTimeXAxis', TimeAxisBase.$);
|
|
121626
|
-
CategoryDateTimeXAxis.
|
|
121633
|
+
CategoryDateTimeXAxis.oc = igniteuiWebcomponentsCore.DependencyProperty.i("MinorInterval", igniteuiWebcomponentsCore.Number_$type, CategoryDateTimeXAxis.$, new igniteuiWebcomponentsCore.PropertyMetadata(2, 0, function (a, b) {
|
|
121627
121634
|
(igniteuiWebcomponentsCore.typeCast(CategoryDateTimeXAxis.$, a)).h2("MinorInterval", b.oldValue, b.newValue);
|
|
121628
121635
|
(igniteuiWebcomponentsCore.typeCast(CategoryDateTimeXAxis.$, a)).h8(false);
|
|
121629
121636
|
}));
|
|
121630
|
-
CategoryDateTimeXAxis.$$p = igniteuiWebcomponentsCore.markDep(igniteuiWebcomponentsCore.DependencyProperty, igniteuiWebcomponentsCore.PropertyMetadata, CategoryDateTimeXAxis, 'h2', ['DisplayType:no:
|
|
121637
|
+
CategoryDateTimeXAxis.$$p = igniteuiWebcomponentsCore.markDep(igniteuiWebcomponentsCore.DependencyProperty, igniteuiWebcomponentsCore.PropertyMetadata, CategoryDateTimeXAxis, 'h2', ['DisplayType:no:oa', [TimeAxisDisplayType_$type, igniteuiWebcomponentsCore.enumGetBox(TimeAxisDisplayType_$type, 0)], 'Interval:nz:ob', [1, 0], 'UnevenlySpacedLabels:nr:od', [0, false]]);
|
|
121631
121638
|
return CategoryDateTimeXAxis;
|
|
121632
121639
|
}(TimeAxisBase));
|
|
121633
121640
|
/**
|
|
@@ -122018,6 +122025,20 @@
|
|
|
122018
122025
|
enumerable: false,
|
|
122019
122026
|
configurable: true
|
|
122020
122027
|
});
|
|
122028
|
+
Object.defineProperty(IgcCategoryDateTimeXAxisComponent.prototype, "unevenlySpacedLabels", {
|
|
122029
|
+
/**
|
|
122030
|
+
* Gets or sets whether the axis labels can be unevenly spaced
|
|
122031
|
+
*/
|
|
122032
|
+
get: function () {
|
|
122033
|
+
return this.i.nr;
|
|
122034
|
+
},
|
|
122035
|
+
set: function (v) {
|
|
122036
|
+
this.i.nr = igniteuiWebcomponentsCore.ensureBool(v);
|
|
122037
|
+
this._a("unevenlySpacedLabels", this.i.nr);
|
|
122038
|
+
},
|
|
122039
|
+
enumerable: false,
|
|
122040
|
+
configurable: true
|
|
122041
|
+
});
|
|
122021
122042
|
Object.defineProperty(IgcCategoryDateTimeXAxisComponent.prototype, "displayType", {
|
|
122022
122043
|
/**
|
|
122023
122044
|
* Gets or sets the axis display type.
|
|
@@ -122045,11 +122066,11 @@
|
|
|
122045
122066
|
* `Interval` property is used to get/sets the frequency of displayed labels.
|
|
122046
122067
|
*/
|
|
122047
122068
|
get: function () {
|
|
122048
|
-
return this.i.
|
|
122069
|
+
return this.i.nz;
|
|
122049
122070
|
},
|
|
122050
122071
|
set: function (v) {
|
|
122051
|
-
this.i.
|
|
122052
|
-
this._a("interval", this.i.
|
|
122072
|
+
this.i.nz = +v;
|
|
122073
|
+
this._a("interval", this.i.nz);
|
|
122053
122074
|
},
|
|
122054
122075
|
enumerable: false,
|
|
122055
122076
|
configurable: true
|
|
@@ -122059,11 +122080,11 @@
|
|
|
122059
122080
|
* Gets the effective value for the current Interval.
|
|
122060
122081
|
*/
|
|
122061
122082
|
get: function () {
|
|
122062
|
-
return this.i.
|
|
122083
|
+
return this.i.nw;
|
|
122063
122084
|
},
|
|
122064
122085
|
set: function (v) {
|
|
122065
|
-
this.i.
|
|
122066
|
-
this._a("actualInterval", this.i.
|
|
122086
|
+
this.i.nw = +v;
|
|
122087
|
+
this._a("actualInterval", this.i.nw);
|
|
122067
122088
|
},
|
|
122068
122089
|
enumerable: false,
|
|
122069
122090
|
configurable: true
|
|
@@ -122074,11 +122095,11 @@
|
|
|
122074
122095
|
* The set value is a factor that determines how the minor lines will be displayed.
|
|
122075
122096
|
*/
|
|
122076
122097
|
get: function () {
|
|
122077
|
-
return this.i.
|
|
122098
|
+
return this.i.n0;
|
|
122078
122099
|
},
|
|
122079
122100
|
set: function (v) {
|
|
122080
|
-
this.i.
|
|
122081
|
-
this._a("minorInterval", this.i.
|
|
122101
|
+
this.i.n0 = +v;
|
|
122102
|
+
this._a("minorInterval", this.i.n0);
|
|
122082
122103
|
},
|
|
122083
122104
|
enumerable: false,
|
|
122084
122105
|
configurable: true
|
|
@@ -122088,11 +122109,11 @@
|
|
|
122088
122109
|
* Gets the effective value for the current MinorInterval.
|
|
122089
122110
|
*/
|
|
122090
122111
|
get: function () {
|
|
122091
|
-
return this.i.
|
|
122112
|
+
return this.i.nx;
|
|
122092
122113
|
},
|
|
122093
122114
|
set: function (v) {
|
|
122094
|
-
this.i.
|
|
122095
|
-
this._a("actualMinorInterval", this.i.
|
|
122115
|
+
this.i.nx = +v;
|
|
122116
|
+
this._a("actualMinorInterval", this.i.nx);
|
|
122096
122117
|
},
|
|
122097
122118
|
enumerable: false,
|
|
122098
122119
|
configurable: true
|
|
@@ -122108,7 +122129,7 @@
|
|
|
122108
122129
|
configurable: true
|
|
122109
122130
|
});
|
|
122110
122131
|
IgcCategoryDateTimeXAxisComponent.prototype.scrollDateRangeIntoView = function (minimum, maximum) {
|
|
122111
|
-
this.i.
|
|
122132
|
+
this.i.n7(minimum, maximum);
|
|
122112
122133
|
};
|
|
122113
122134
|
Object.defineProperty(IgcCategoryDateTimeXAxisComponent.prototype, "actualIntervalChange", {
|
|
122114
122135
|
get: function () {
|
|
@@ -122124,7 +122145,7 @@
|
|
|
122124
122145
|
this._actualIntervalChange = ev;
|
|
122125
122146
|
this._actualIntervalChange_wrapped = function (o, e) {
|
|
122126
122147
|
var ext = _this.actualInterval;
|
|
122127
|
-
if (e.propertyName == '
|
|
122148
|
+
if (e.propertyName == 'Nw') {
|
|
122128
122149
|
if (_this.beforeActualIntervalChange) {
|
|
122129
122150
|
_this.beforeActualIntervalChange(_this, ext);
|
|
122130
122151
|
}
|
|
@@ -122152,7 +122173,7 @@
|
|
|
122152
122173
|
this._actualMinorIntervalChange = ev;
|
|
122153
122174
|
this._actualMinorIntervalChange_wrapped = function (o, e) {
|
|
122154
122175
|
var ext = _this.actualMinorInterval;
|
|
122155
|
-
if (e.propertyName == '
|
|
122176
|
+
if (e.propertyName == 'Nx') {
|
|
122156
122177
|
if (_this.beforeActualMinorIntervalChange) {
|
|
122157
122178
|
_this.beforeActualMinorIntervalChange(_this, ext);
|
|
122158
122179
|
}
|
|
@@ -167564,7 +167585,7 @@
|
|
|
167564
167585
|
});
|
|
167565
167586
|
XamFunnelChart.prototype.en = function () {
|
|
167566
167587
|
var a = this.a2;
|
|
167567
|
-
if (this.a3
|
|
167588
|
+
if (this.a3 != 1) {
|
|
167568
167589
|
if (this.a8 == null || this.bd == null || this.a8.count != this.bd.count) {
|
|
167569
167590
|
this.a2 = 1;
|
|
167570
167591
|
}
|