You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/11/09 12:02:08 UTC
[incubator-echarts] branch fix/dataZoom-brush created (now 570ee92)
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a change to branch fix/dataZoom-brush
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git.
at 570ee92 fix: [dataZoom] fix that after dataZoom updated by others (like inside dataZoom), the brush rect does not display.
This branch includes the following new commits:
new 570ee92 fix: [dataZoom] fix that after dataZoom updated by others (like inside dataZoom), the brush rect does not display.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[incubator-echarts] 01/01: fix: [dataZoom] fix that after dataZoom
updated by others (like inside dataZoom), the brush rect does not display.
Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch fix/dataZoom-brush
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit 570ee92b0cb2a1b98d16aaf7277e36b750ed022e
Author: 100pah <su...@gmail.com>
AuthorDate: Mon Nov 9 20:01:01 2020 +0800
fix: [dataZoom] fix that after dataZoom updated by others (like inside dataZoom), the brush rect does not display.
---
src/component/dataZoom/SliderZoomView.ts | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/component/dataZoom/SliderZoomView.ts b/src/component/dataZoom/SliderZoomView.ts
index 1d139a9..7ef1b87 100644
--- a/src/component/dataZoom/SliderZoomView.ts
+++ b/src/component/dataZoom/SliderZoomView.ts
@@ -191,6 +191,7 @@ class SliderZoomView extends DataZoomView {
thisGroup.removeAll();
this._brushing = false;
+ this._displayables.brushRect = null;
this._resetLocation();
this._resetInterval();
@@ -988,7 +989,8 @@ class SliderZoomView extends DataZoomView {
});
displayables.sliderGroup.add(brushRect);
}
- brushRect.ignore = false;
+
+ brushRect.attr('ignore', false);
const brushStart = this._brushStart;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org