@visactor/vchart 1.8.10 → 1.8.11
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 +8 -2
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/compile/grammar-item.js +1 -2
- package/cjs/component/util.js +2 -1
- package/cjs/constant/hierarchy.js +1 -2
- package/cjs/constant/scroll-bar.js +2 -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/event/event-dispatcher.js +1 -2
- package/cjs/event/index.js +2 -1
- package/cjs/plugin/components/axis-sync-plugin/axis-sync.js +1 -1
- package/cjs/plugin/components/axis-sync-plugin/axis-sync.js.map +1 -1
- package/cjs/series/cartesian/cartesian.d.ts +1 -0
- package/cjs/series/cartesian/cartesian.js +4 -0
- package/cjs/series/cartesian/cartesian.js.map +1 -1
- package/esm/compile/grammar-item.js +1 -2
- package/esm/component/util.js +2 -1
- package/esm/constant/hierarchy.js +1 -2
- package/esm/constant/scroll-bar.js +2 -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/event/event-dispatcher.js +1 -2
- package/esm/event/index.js +2 -1
- package/esm/plugin/components/axis-sync-plugin/axis-sync.js +1 -1
- package/esm/plugin/components/axis-sync-plugin/axis-sync.js.map +1 -1
- package/esm/series/cartesian/cartesian.d.ts +1 -0
- package/esm/series/cartesian/cartesian.js +5 -1
- package/esm/series/cartesian/cartesian.js.map +1 -1
- package/package.json +4 -4
package/build/index.js
CHANGED
|
@@ -58332,7 +58332,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
58332
58332
|
registerChartPlugin(MediaQuery);
|
|
58333
58333
|
};
|
|
58334
58334
|
|
|
58335
|
-
const version = "1.8.
|
|
58335
|
+
const version = "1.8.11";
|
|
58336
58336
|
|
|
58337
58337
|
const addVChartProperty = (data, op) => {
|
|
58338
58338
|
const context = op.beforeCall();
|
|
@@ -60286,6 +60286,12 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
60286
60286
|
getStackGroupFields() {
|
|
60287
60287
|
return this.getGroupFields();
|
|
60288
60288
|
}
|
|
60289
|
+
getStackValue() {
|
|
60290
|
+
var _a;
|
|
60291
|
+
return ((_a = this._spec.stackValue) !== null && _a !== void 0 ? _a : `${PREFIX}_series_${this.type}_${(this.direction === "horizontal"
|
|
60292
|
+
? this.getXAxisHelper()
|
|
60293
|
+
: this.getYAxisHelper()).getAxisId()}`);
|
|
60294
|
+
}
|
|
60289
60295
|
getStackValueField() {
|
|
60290
60296
|
if (this.direction === "vertical") {
|
|
60291
60297
|
return array(this._spec.yField)[0];
|
|
@@ -80401,7 +80407,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
80401
80407
|
if (!targetAxis) {
|
|
80402
80408
|
return;
|
|
80403
80409
|
}
|
|
80404
|
-
axis.event.on(exports.ChartEvent.scaleDomainUpdate, { filter: ({ model }) => model.id === axis.id }, () => {
|
|
80410
|
+
axis.event.on(exports.ChartEvent.scaleDomainUpdate, { filter: ({ model }) => model.id === axis.id || model.id === targetAxis.id }, () => {
|
|
80405
80411
|
zeroAlign(targetAxis, axis);
|
|
80406
80412
|
});
|
|
80407
80413
|
}
|