cx 22.12.2 → 22.12.3
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/dist/charts.js +3 -3
- package/dist/manifest.js +549 -549
- package/package.json +1 -1
- package/src/charts/LineGraph.d.ts +92 -92
- package/src/charts/LineGraph.js +211 -202
- package/src/charts/axis/NumericAxis.js +347 -349
- package/src/data/ArrayElementView.spec.js +70 -70
- package/src/data/View.d.ts +131 -131
- package/src/ui/Controller.d.ts +76 -76
- package/src/ui/bind.d.ts +4 -4
- package/src/ui/layout/LabelsTopLayout.d.ts +15 -15
- package/src/widgets/Icon.d.ts +14 -16
- package/src/widgets/overlay/Tooltip.js +288 -288
package/dist/charts.js
CHANGED
|
@@ -3041,7 +3041,7 @@ var LineGraph = /*#__PURE__*/ (function(_Widget) {
|
|
|
3041
3041
|
colorIndex: data.colorIndex,
|
|
3042
3042
|
disabled: data.disabled,
|
|
3043
3043
|
//selected: this.selection.isInstanceSelected(instance),
|
|
3044
|
-
style: data.style,
|
|
3044
|
+
style: parseStyle(data.style || data.lineStyle),
|
|
3045
3045
|
shape: this.legendShape,
|
|
3046
3046
|
onClick: function onClick(e) {
|
|
3047
3047
|
_this2.onLegendClick(e, instance);
|
|
@@ -4213,6 +4213,8 @@ var NumericScale = /*#__PURE__*/ (function() {
|
|
|
4213
4213
|
_proto2.measure = function measure(a, b) {
|
|
4214
4214
|
this.a = a;
|
|
4215
4215
|
this.b = b;
|
|
4216
|
+
if (this.minValue != null && this.min == null) this.min = this.minValue;
|
|
4217
|
+
if (this.maxValue != null && this.max == null) this.max = this.maxValue;
|
|
4216
4218
|
|
|
4217
4219
|
for (var s in this.stacks) {
|
|
4218
4220
|
var info = this.stacks[s].measure(this.normalized);
|
|
@@ -4224,9 +4226,7 @@ var NumericScale = /*#__PURE__*/ (function() {
|
|
|
4224
4226
|
this.stacks[s].info = info;
|
|
4225
4227
|
}
|
|
4226
4228
|
|
|
4227
|
-
if (this.minValue != null && this.min == null) this.min = this.minValue;
|
|
4228
4229
|
if (this.min == null) this.min = 0;
|
|
4229
|
-
if (this.maxValue != null && this.max == null) this.max = this.maxValue;
|
|
4230
4230
|
if (this.max == null) this.max = this.normalized ? 1 : 100;
|
|
4231
4231
|
|
|
4232
4232
|
if (this.min == this.max) {
|