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 2021/03/30 08:30:18 UTC

[GitHub] [echarts] mythFrist opened a new issue #14558: effectScatter数据溢出绘图区域当datazoom中的filterModle为none

mythFrist opened a new issue #14558:
URL: https://github.com/apache/echarts/issues/14558


   ### Version
   5.0.2
   
   ### Steps to reproduce
   使用以下option
   填入https://echarts.apache.org/examples/zh/editor.html?c=scatter-effect
   在右侧图表中进行datazoom操作(鼠标滚轮),会发现scatterEffect的点在绘图区域外也显示。
   ```js
   option = {
       xAxis: {
           scale: true
       },
       yAxis: {
           scale: true
       },
       grid: {
           show: true,
           height: "60%",
           top: 200,
           borderColor: 'red'
       },
        dataZoom: [{
               type: 'inside',
               filterMode: 'none',
           }, {
                filterMode: 'none',
               type: 'slider',
               showDataShadow: false,
               handleIcon: 'path://M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4v1.3h1.3v-1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z',
               handleSize: '80%'
           }, {
                filterMode: 'none',
               type: 'inside',
               orient: 'vertical'
           }, {
                filterMode: 'none',
               type: 'slider',
               orient: 'vertical',
               showDataShadow: false,
               handleIcon: 'path://M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4v1.3h1.3v-1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z',
               handleSize: '80%'
           }],
       series: [{
           type: 'effectScatter',
           symbolSize: 20,
           data: [
               [172.7, 105.2],
               [153.4, 42]
           ]
       }, {
           type: 'scatter',
           data: [[161.2, 51.6], [167.5, 59.0], [159.5, 49.2], [157.0, 63.0], [155.8, 53.6],
               [170.0, 59.0], [159.1, 47.6], [166.0, 69.8], [176.2, 66.8], [160.2, 75.2], [170.2, 59.1],
               [172.7, 70.5], [165.1, 60.9], [170.2, 63.6]
           ],
       }]
   };
   ```
   
   ### What is expected?
   scatterEffect的点在绘图区域外不显示
   
   ### What is actually happening?
   scatterEffect的点在绘图区域外也显示
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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] [echarts] pissang commented on issue #14558: effectScatter的点会溢出绘图区域,当datazoom中的filterModle为none时

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #14558:
URL: https://github.com/apache/echarts/issues/14558#issuecomment-810139117


   filterMode 设为 none 后就不会过滤掉选中区域外的数据,不清楚你设置 none 的目的是什么


-- 
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] [echarts] mythFrist edited a comment on issue #14558: effectScatter的点会溢出绘图区域,当datazoom中的filterModle为none时

Posted by GitBox <gi...@apache.org>.
mythFrist edited a comment on issue #14558:
URL: https://github.com/apache/echarts/issues/14558#issuecomment-811714475


   > > 目前有没有什么解决的办法呢
   > 
   > 目前没有,刚提了个 PR。
   
   好的,如果有什么解决的办法请第一时间通知我,谢谢


-- 
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] [echarts] mythFrist commented on issue #14558: effectScatter的点会溢出绘图区域,当datazoom中的filterModle为none时

Posted by GitBox <gi...@apache.org>.
mythFrist commented on issue #14558:
URL: https://github.com/apache/echarts/issues/14558#issuecomment-811709891


   > 应该是 `effectScatter` 少了 `clip` 这个配置
   > https://echarts.apache.org/zh/option.html#series-scatter.clip
   
   目前有没有什么解决的办法呢


-- 
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] [echarts] echarts-bot[bot] commented on issue #14558: effectScatter数据溢出绘图区域当datazoom中的filterModle为none

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14558:
URL: https://github.com/apache/echarts/issues/14558#issuecomment-810026995






-- 
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] [echarts] susiwen8 commented on issue #14558: effectScatter的点会溢出绘图区域,当datazoom中的filterModle为none时

Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #14558:
URL: https://github.com/apache/echarts/issues/14558#issuecomment-811713506


   > 目前有没有什么解决的办法呢
   
   目前没有,刚提了个 PR。


-- 
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] [echarts] mythFrist edited a comment on issue #14558: effectScatter的点会溢出绘图区域,当datazoom中的filterModle为none时

Posted by GitBox <gi...@apache.org>.
mythFrist edited a comment on issue #14558:
URL: https://github.com/apache/echarts/issues/14558#issuecomment-811583262






-- 
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] [echarts] susiwen8 commented on issue #14558: effectScatter的点会溢出绘图区域,当datazoom中的filterModle为none时

Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #14558:
URL: https://github.com/apache/echarts/issues/14558#issuecomment-810160666


   他的问题应该是为啥`scatter` 被过滤了,`effectScatter` 没被过滤


-- 
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] [echarts] susiwen8 commented on issue #14558: effectScatter的点会溢出绘图区域,当datazoom中的filterModle为none时

Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #14558:
URL: https://github.com/apache/echarts/issues/14558#issuecomment-811708615


   应该是 `effectScatter` 少了 `clip` 这个配置
   https://echarts.apache.org/zh/option.html#series-scatter.clip


-- 
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] [echarts] mythFrist commented on issue #14558: effectScatter的点会溢出绘图区域,当datazoom中的filterModle为none时

Posted by GitBox <gi...@apache.org>.
mythFrist commented on issue #14558:
URL: https://github.com/apache/echarts/issues/14558#issuecomment-811714475


   > > 目前有没有什么解决的办法呢
   > 
   > 目前没有,刚提了个 PR。
   
   好的,如果有什么解决的办法请第一时间通知我,歇息


-- 
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] [echarts] mythFrist commented on issue #14558: effectScatter的点会溢出绘图区域,当datazoom中的filterModle为none时

Posted by GitBox <gi...@apache.org>.
mythFrist commented on issue #14558:
URL: https://github.com/apache/echarts/issues/14558#issuecomment-810665371


   之所以filterMode设为none,是因为datazoom的时候要保持其它系列形状不变,其实也是effectScatter没被过滤的问题


-- 
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] [echarts] pissang closed issue #14558: effectScatter的点会溢出绘图区域,当datazoom中的filterModle为none时

Posted by GitBox <gi...@apache.org>.
pissang closed issue #14558:
URL: https://github.com/apache/echarts/issues/14558


   


-- 
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] [echarts] mythFrist commented on issue #14558: effectScatter的点会溢出绘图区域,当datazoom中的filterModle为none时

Posted by GitBox <gi...@apache.org>.
mythFrist commented on issue #14558:
URL: https://github.com/apache/echarts/issues/14558#issuecomment-811583262


   > filterMode 设为 none 后就不会过滤掉选中区域外的数据,不清楚你设置 none 的目的是什么
   
   请仔细观察观察我给的reproduction。scatterEffect在超出图的边界以外还显示(类似overflow:visible),而scatter超出边界后是被隐藏了(类似overflow: hidden)。


-- 
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