You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/06/02 02:45:10 UTC

[GitHub] [incubator-echarts] 0x018 opened a new issue #12726: 折线图多余竖线无法消失

0x018 opened a new issue #12726:
URL: https://github.com/apache/incubator-echarts/issues/12726


   ### Version
   4.4.0
   
   ### Steps to reproduce
   如下代码:
   ```
   option = {
       "grid": { "top": 20, "left": 55, "right": 100, "bottom": 40 },
       "dataZoom": [
           { "show": true, "startValue": 12, "endValue": 16, "zoomOnMouseWheel": false, "zoomLock": true, "cursor": "pointer" },
           { "type": "inside", "startValue": 0, "endValue": 10 }
       ],
       "xAxis": {
           "data": ["2019-01", "2019-02", "2019-03", "2019-04", "2019-05", "2019-06", "2019-07", "2019-08", "2019-09", "2019-10", "2019-11", "2019-12", "2020-01", "2020-02", "2020-03", "2020-04", "2020-05", "2020-06"]
       },
       "yAxis": { },
       "series": [
           {
               "name": "折线图", "type": "line", "data": [
                   { "value": 0, "name": "2019-01" },
                   { "value": 0, "name": "2019-02" },
                   { "value": 0, "name": "2019-03" },
                   { "value": 0, "name": "2019-04" },
                   { "value": 0, "name": "2019-05" },
                   { "value": 0, "name": "2019-06" },
                   { "value": 0, "name": "2019-07" },
                   { "value": 0, "name": "2019-08" },
                   { "value": 0, "name": "2019-09" },
                   { "value": 0, "name": "2019-10" },
                   { "value": 0, "name": "2019-11" },
                   { "value": 0, "name": "2019-12" },
                   { "value": 0, "name": "2020-01" },
                   { "value": 0, "name": "2020-02" },
                   { "value": 0, "name": "2020-03" },
                   { "value": 0, "name": "2020-04" },
                   { "value": 103000, "name": "2020-05" },
                   { "value": 0, "name": "2020-06" }
               ],
           }]
   }
   ```
   操作步骤: 
   
   1.向左拖动滚动条1格,最右侧会产生一条竖线.
   
   2.此时继续向左拖动滚动条,竖线一直会存在(此时的显示数据对应产生了错误)
   
   ### What is expected?
   继续向左拖动滚动条时,竖线应该消失,而不是继续显示在其他的位置上
   
   ### What is actually happening?
   数据显示对应错误
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] 0x018 commented on issue #12726: 折线图多余竖线无法消失

Posted by GitBox <gi...@apache.org>.
0x018 commented on issue #12726:
URL: https://github.com/apache/incubator-echarts/issues/12726#issuecomment-637238471


   **临时解决方案:**
   每一项加上了一个超小的随机数


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] plainheart commented on issue #12726: 折线图多余竖线无法消失

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #12726:
URL: https://github.com/apache/incubator-echarts/issues/12726#issuecomment-637299416


   It seems to be related to [dataZoom.filterMode](https://echarts.apache.org/zh/option.html#dataZoom.filterMode), you can set `dataZoom.filterMode` to `none` as a temporary workaround. Maybe it is a bug of `filterMode`?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org