@visactor/vchart 1.11.6-alpha.3 → 1.11.6-alpha.4
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.js +7 -5
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/component/crosshair/cartesian.js +2 -2
- package/cjs/component/crosshair/cartesian.js.map +1 -1
- package/cjs/component/crosshair/polar.js +2 -2
- package/cjs/component/crosshair/polar.js.map +1 -1
- package/cjs/core/index.d.ts +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/index.js.map +1 -1
- package/esm/component/crosshair/cartesian.js +2 -2
- package/esm/component/crosshair/cartesian.js.map +1 -1
- package/esm/component/crosshair/polar.js +2 -2
- package/esm/component/crosshair/polar.js.map +1 -1
- package/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/package.json +10 -10
package/build/index.js
CHANGED
|
@@ -66426,7 +66426,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
66426
66426
|
registerComponentPlugin(CanvasTooltipHandler);
|
|
66427
66427
|
};
|
|
66428
66428
|
|
|
66429
|
-
const version = "1.11.6-alpha.
|
|
66429
|
+
const version = "1.11.6-alpha.4";
|
|
66430
66430
|
|
|
66431
66431
|
const addVChartProperty = (data, op) => {
|
|
66432
66432
|
const context = op.beforeCall();
|
|
@@ -94354,7 +94354,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
94354
94354
|
return undefined;
|
|
94355
94355
|
}
|
|
94356
94356
|
if (!isArray$1(crosshairSpec)) {
|
|
94357
|
-
if (crosshairSpec.xField
|
|
94357
|
+
if ((crosshairSpec.xField && crosshairSpec.xField.visible !== false) ||
|
|
94358
|
+
(crosshairSpec.yField && crosshairSpec.yField.visible !== false)) {
|
|
94358
94359
|
return [
|
|
94359
94360
|
{
|
|
94360
94361
|
spec: crosshairSpec,
|
|
@@ -94368,7 +94369,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
94368
94369
|
}
|
|
94369
94370
|
const specInfos = [];
|
|
94370
94371
|
crosshairSpec.forEach((s, i) => {
|
|
94371
|
-
if (s.xField || s.yField) {
|
|
94372
|
+
if ((s.xField && s.xField.visible !== false) || (s.yField && s.yField.visible !== false)) {
|
|
94372
94373
|
specInfos.push({
|
|
94373
94374
|
spec: s,
|
|
94374
94375
|
specPath: [this.specKey, i],
|
|
@@ -94832,7 +94833,8 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
94832
94833
|
return undefined;
|
|
94833
94834
|
}
|
|
94834
94835
|
if (!isArray$1(crosshairSpec)) {
|
|
94835
|
-
if (crosshairSpec.categoryField
|
|
94836
|
+
if ((crosshairSpec.categoryField && crosshairSpec.categoryField.visible !== false) ||
|
|
94837
|
+
(crosshairSpec.valueField && crosshairSpec.valueField.visible !== false)) {
|
|
94836
94838
|
return [
|
|
94837
94839
|
{
|
|
94838
94840
|
spec: crosshairSpec,
|
|
@@ -94846,7 +94848,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
94846
94848
|
}
|
|
94847
94849
|
const specInfos = [];
|
|
94848
94850
|
crosshairSpec.forEach((s, i) => {
|
|
94849
|
-
if (s.categoryField || s.valueField) {
|
|
94851
|
+
if ((s.categoryField && s.categoryField.visible !== false) || (s.valueField && s.valueField.visible !== false)) {
|
|
94850
94852
|
specInfos.push({
|
|
94851
94853
|
spec: s,
|
|
94852
94854
|
specPath: [this.specKey, i],
|