@visactor/vchart 1.13.5 → 1.13.6-alpha.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/build/es5/index.js +1 -1
- package/build/index.es.js +8 -1
- package/build/index.js +8 -1
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/chart/base/base-chart.js +2 -1
- package/cjs/chart/base/base-chart.js.map +1 -1
- package/cjs/chart/index.js +2 -1
- package/cjs/compile/compilable-base.js +1 -2
- package/cjs/core/index.d.ts +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/index.js.map +1 -1
- package/cjs/core/instance-manager.js +2 -1
- package/cjs/core/util.js +1 -2
- package/cjs/scale/global-scale.js +2 -1
- package/cjs/scale/global-scale.js.map +1 -1
- package/cjs/typings/visual.d.ts +1 -0
- package/cjs/typings/visual.js.map +1 -1
- package/cjs/util/scale.js +1 -1
- package/cjs/util/scale.js.map +1 -1
- package/esm/chart/base/base-chart.js +2 -1
- package/esm/chart/base/base-chart.js.map +1 -1
- package/esm/chart/index.js +2 -1
- package/esm/compile/compilable-base.js +1 -2
- package/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/esm/core/instance-manager.js +2 -1
- package/esm/core/util.js +1 -2
- package/esm/scale/global-scale.js +2 -1
- package/esm/scale/global-scale.js.map +1 -1
- package/esm/typings/visual.d.ts +1 -0
- package/esm/typings/visual.js.map +1 -1
- package/esm/util/scale.js +1 -1
- package/esm/util/scale.js.map +1 -1
- package/package.json +3 -3
package/build/index.es.js
CHANGED
|
@@ -44569,6 +44569,9 @@ function initScaleWithSpec(scale, spec) {
|
|
|
44569
44569
|
if (spec.specified && scale.specified) {
|
|
44570
44570
|
scale.specified(spec.specified);
|
|
44571
44571
|
}
|
|
44572
|
+
if (spec.clamp && scale.clamp) {
|
|
44573
|
+
scale.clamp(spec.clamp);
|
|
44574
|
+
}
|
|
44572
44575
|
}
|
|
44573
44576
|
function valueInScaleRange(v, s, useWholeRange) {
|
|
44574
44577
|
if (!s) {
|
|
@@ -62519,7 +62522,7 @@ const registerVChartCore = () => {
|
|
|
62519
62522
|
};
|
|
62520
62523
|
registerVChartCore();
|
|
62521
62524
|
|
|
62522
|
-
const version = "1.13.
|
|
62525
|
+
const version = "1.13.6-alpha.0";
|
|
62523
62526
|
|
|
62524
62527
|
const addVChartProperty = (data, op) => {
|
|
62525
62528
|
const context = op.beforeCall();
|
|
@@ -68836,6 +68839,9 @@ class GlobalScale {
|
|
|
68836
68839
|
if (s.specified && scale.specified) {
|
|
68837
68840
|
scale.specified(s.specified);
|
|
68838
68841
|
}
|
|
68842
|
+
if (s.clamp && scale.clamp) {
|
|
68843
|
+
scale.clamp(s.clamp);
|
|
68844
|
+
}
|
|
68839
68845
|
return scale;
|
|
68840
68846
|
}
|
|
68841
68847
|
_setAttrFromSpec() {
|
|
@@ -69545,6 +69551,7 @@ class BaseChart extends CompilableBase {
|
|
|
69545
69551
|
Object.prototype.hasOwnProperty.call(tempSpec, 'range') && (colorScaleSpec.range = tempSpec.range);
|
|
69546
69552
|
Object.prototype.hasOwnProperty.call(tempSpec, 'specified') &&
|
|
69547
69553
|
(colorScaleSpec.specified = tempSpec.specified);
|
|
69554
|
+
Object.prototype.hasOwnProperty.call(tempSpec, 'clamp') && (colorScaleSpec.clamp = tempSpec.clamp);
|
|
69548
69555
|
}
|
|
69549
69556
|
}
|
|
69550
69557
|
}
|
package/build/index.js
CHANGED
|
@@ -44575,6 +44575,9 @@
|
|
|
44575
44575
|
if (spec.specified && scale.specified) {
|
|
44576
44576
|
scale.specified(spec.specified);
|
|
44577
44577
|
}
|
|
44578
|
+
if (spec.clamp && scale.clamp) {
|
|
44579
|
+
scale.clamp(spec.clamp);
|
|
44580
|
+
}
|
|
44578
44581
|
}
|
|
44579
44582
|
function valueInScaleRange(v, s, useWholeRange) {
|
|
44580
44583
|
if (!s) {
|
|
@@ -62525,7 +62528,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
62525
62528
|
};
|
|
62526
62529
|
registerVChartCore();
|
|
62527
62530
|
|
|
62528
|
-
const version = "1.13.
|
|
62531
|
+
const version = "1.13.6-alpha.0";
|
|
62529
62532
|
|
|
62530
62533
|
const addVChartProperty = (data, op) => {
|
|
62531
62534
|
const context = op.beforeCall();
|
|
@@ -68842,6 +68845,9 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
68842
68845
|
if (s.specified && scale.specified) {
|
|
68843
68846
|
scale.specified(s.specified);
|
|
68844
68847
|
}
|
|
68848
|
+
if (s.clamp && scale.clamp) {
|
|
68849
|
+
scale.clamp(s.clamp);
|
|
68850
|
+
}
|
|
68845
68851
|
return scale;
|
|
68846
68852
|
}
|
|
68847
68853
|
_setAttrFromSpec() {
|
|
@@ -69551,6 +69557,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
69551
69557
|
Object.prototype.hasOwnProperty.call(tempSpec, 'range') && (colorScaleSpec.range = tempSpec.range);
|
|
69552
69558
|
Object.prototype.hasOwnProperty.call(tempSpec, 'specified') &&
|
|
69553
69559
|
(colorScaleSpec.specified = tempSpec.specified);
|
|
69560
|
+
Object.prototype.hasOwnProperty.call(tempSpec, 'clamp') && (colorScaleSpec.clamp = tempSpec.clamp);
|
|
69554
69561
|
}
|
|
69555
69562
|
}
|
|
69556
69563
|
}
|