@visactor/vchart 2.0.8-alpha.0 → 2.0.8-alpha.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/build/es5/index.js +1 -1
- package/build/index.es.js +5 -3
- package/build/index.js +5 -3
- package/build/index.min.js +2 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/chart/base/base-chart.js +1 -1
- package/cjs/chart/base/base-chart.js.map +1 -1
- package/cjs/component/marker/utils.js +1 -1
- package/cjs/component/marker/utils.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/cjs/core/interface.js +1 -1
- package/cjs/core/util.js +1 -1
- package/cjs/data/initialize.js +1 -1
- package/cjs/data/register.js +1 -1
- package/esm/chart/base/base-chart.js +1 -1
- package/esm/chart/base/base-chart.js.map +1 -1
- package/esm/component/marker/utils.js +1 -1
- package/esm/component/marker/utils.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/esm/core/interface.js +1 -1
- package/esm/core/util.js +1 -1
- package/esm/data/initialize.js +1 -1
- package/esm/data/register.js +1 -1
- package/package.json +2 -2
package/build/index.es.js
CHANGED
|
@@ -61290,7 +61290,7 @@ const lookup = (data, opt) => {
|
|
|
61290
61290
|
});
|
|
61291
61291
|
};
|
|
61292
61292
|
|
|
61293
|
-
const version = "2.0.8-alpha.
|
|
61293
|
+
const version = "2.0.8-alpha.3";
|
|
61294
61294
|
|
|
61295
61295
|
const addVChartProperty = (data, op) => {
|
|
61296
61296
|
const context = op.beforeCall();
|
|
@@ -70005,7 +70005,9 @@ class BaseChart extends CompilableBase {
|
|
|
70005
70005
|
}
|
|
70006
70006
|
}
|
|
70007
70007
|
});
|
|
70008
|
-
const isUnableValue = isNil$1(value) ||
|
|
70008
|
+
const isUnableValue = isNil$1(value) ||
|
|
70009
|
+
!dimensionInfo ||
|
|
70010
|
+
dimensionInfo.every(d => isDiscrete(d.axis.getScale().type) && (isNil$1(d.index) || d.data.every(_data => _data.datum.length === 0)));
|
|
70009
70011
|
if (opt.tooltip !== false) {
|
|
70010
70012
|
const tooltip = this.getComponentsByType(ComponentTypeEnum.tooltip)[0];
|
|
70011
70013
|
if (tooltip === null || tooltip === void 0 ? void 0 : tooltip.getVisible()) {
|
|
@@ -98844,7 +98846,7 @@ function xyLayout(data, startRelativeSeries, endRelativeSeries, relativeSeries,
|
|
|
98844
98846
|
const lines = [];
|
|
98845
98847
|
const dataPoints = data.latestData[0] && data.latestData[0].latestData ? data.latestData[0].latestData : data.latestData;
|
|
98846
98848
|
const xAxisHelper = relativeSeries.getXAxisHelper();
|
|
98847
|
-
const yAxisHelper = relativeSeries.
|
|
98849
|
+
const yAxisHelper = relativeSeries.getYAxisHelper();
|
|
98848
98850
|
const xDomain = xAxisHelper.getScale(0).domain();
|
|
98849
98851
|
const yDomain = yAxisHelper.getScale(0).domain();
|
|
98850
98852
|
const isXExpand = includeFullBand && !xAxisHelper.isContinuous && !!xAxisHelper.getBandwidth;
|
package/build/index.js
CHANGED
|
@@ -61296,7 +61296,7 @@
|
|
|
61296
61296
|
});
|
|
61297
61297
|
};
|
|
61298
61298
|
|
|
61299
|
-
const version = "2.0.8-alpha.
|
|
61299
|
+
const version = "2.0.8-alpha.3";
|
|
61300
61300
|
|
|
61301
61301
|
const addVChartProperty = (data, op) => {
|
|
61302
61302
|
const context = op.beforeCall();
|
|
@@ -70011,7 +70011,9 @@
|
|
|
70011
70011
|
}
|
|
70012
70012
|
}
|
|
70013
70013
|
});
|
|
70014
|
-
const isUnableValue = isNil$1(value) ||
|
|
70014
|
+
const isUnableValue = isNil$1(value) ||
|
|
70015
|
+
!dimensionInfo ||
|
|
70016
|
+
dimensionInfo.every(d => isDiscrete(d.axis.getScale().type) && (isNil$1(d.index) || d.data.every(_data => _data.datum.length === 0)));
|
|
70015
70017
|
if (opt.tooltip !== false) {
|
|
70016
70018
|
const tooltip = this.getComponentsByType(ComponentTypeEnum.tooltip)[0];
|
|
70017
70019
|
if (tooltip === null || tooltip === void 0 ? void 0 : tooltip.getVisible()) {
|
|
@@ -98850,7 +98852,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
98850
98852
|
const lines = [];
|
|
98851
98853
|
const dataPoints = data.latestData[0] && data.latestData[0].latestData ? data.latestData[0].latestData : data.latestData;
|
|
98852
98854
|
const xAxisHelper = relativeSeries.getXAxisHelper();
|
|
98853
|
-
const yAxisHelper = relativeSeries.
|
|
98855
|
+
const yAxisHelper = relativeSeries.getYAxisHelper();
|
|
98854
98856
|
const xDomain = xAxisHelper.getScale(0).domain();
|
|
98855
98857
|
const yDomain = yAxisHelper.getScale(0).domain();
|
|
98856
98858
|
const isXExpand = includeFullBand && !xAxisHelper.isContinuous && !!xAxisHelper.getBandwidth;
|