@visactor/react-vchart 2.0.20-alpha.4 → 2.0.20-alpha.6
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/index.js +2 -2
- package/build/index.min.js +1 -1
- package/package.json +5 -5
package/build/index.js
CHANGED
|
@@ -49890,11 +49890,11 @@
|
|
|
49890
49890
|
this._lastMark = mark;
|
|
49891
49891
|
}
|
|
49892
49892
|
reuse(mark) {
|
|
49893
|
-
this.type === mark.type && (this._product = mark.getProduct(), this._product.clearStates(), this._graphics = mark.getGraphics(), this._graphics.forEach(g => {
|
|
49893
|
+
this.type === mark.type && (this._product = mark.getProduct(), this._product && (this._product.clearStates(), this._graphics = mark.getGraphics(), this._graphics.forEach(g => {
|
|
49894
49894
|
g.clearStates();
|
|
49895
49895
|
}), this._graphicMap = mark._graphicMap, this._graphicMap.forEach(g => {
|
|
49896
49896
|
g.context = Object.assign(Object.assign({}, g.context), this._getCommonContext());
|
|
49897
|
-
}), this._dataByKey = mark._dataByKey, this._prevDataByKey = mark._prevDataByKey, this.needClear = mark.needClear);
|
|
49897
|
+
}), this._dataByKey = mark._dataByKey, this._prevDataByKey = mark._prevDataByKey, this.needClear = mark.needClear));
|
|
49898
49898
|
}
|
|
49899
49899
|
_parseProgressiveContext(data) {
|
|
49900
49900
|
const enableProgressive = this._markConfig.progressiveStep > 0 && this._markConfig.progressiveThreshold > 0 && this._markConfig.progressiveStep < this._markConfig.progressiveThreshold,
|