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 2022/03/10 07:53:35 UTC

[GitHub] [echarts] Bangbabaz opened a new issue #16661: [Bug] 【散点图问题】当散点图设置了 grid.top = "14%" 之后,右上角的散点消失了

Bangbabaz opened a new issue #16661:
URL: https://github.com/apache/echarts/issues/16661


   ### Version
   
   5.3.1
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   option = {
     xAxis: {},
     yAxis: {},
     grid: {
       top: '14%',
     },
     series: [
       {
         symbolSize: 20,
         data: [
           [1, 1],
           [1, 0],
         ],
         type: 'scatter'
       }
     ]
   };
   
   
   ### Current Behavior
   
   我在开发散点图的时候遇到了这个问题,好像有不止这一个比例会使右上角的散点消失,例如:15, 16, 20 ,40,可能还有更多
   ![QQ图片20220310155211](https://user-images.githubusercontent.com/61530016/157614191-6d0fd086-be21-459a-a294-71a61f181505.png)
   
   
   ### Expected Behavior
   
   只要不超出 canvas 的范围,右上角的散点应该显示出来
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] plainheart commented on issue #16661: [Bug] 【散点图问题】当散点图设置了 grid.top = "14%" 之后,右上角的散点消失了

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


   默认系列开启了裁切超出坐标系的数据点,但因为坐标计算的时候会有微小的偏差导致被误裁切。可以先设置 [`series.clip`](https://echarts.apache.org/option.html#series-scatter.clip) 为 `false` 关闭裁切。


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] plainheart edited a comment on issue #16661: [Bug] 【散点图问题】当散点图设置了 grid.top = "14%" 之后,右上角的散点消失了

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


   和 #16329 类似。默认情况下系列会裁切超出坐标系的数据点,但因为坐标计算的时候会有微小的偏差导致被误裁切。可以先设置 [`series.clip`](https://echarts.apache.org/option.html#series-scatter.clip) 为 `false` 关闭裁切。


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] plainheart edited a comment on issue #16661: [Bug] 【散点图问题】当散点图设置了 grid.top = "14%" 之后,右上角的散点消失了

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


   默认情况下系列会裁切超出坐标系的数据点,但因为坐标计算的时候会有微小的偏差导致被误裁切。可以先设置 [`series.clip`](https://echarts.apache.org/option.html#series-scatter.clip) 为 `false` 关闭裁切。


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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 #16661: [Bug] 【散点图问题】当散点图设置了 grid.top = "14%" 之后,右上角的散点消失了

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


   @Bangbabaz It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] [Scatter plot problem] When the scatter plot is set with grid.top = "14%", the scatter in the upper right corner disappears
   
   **BODY**
   
   ### Version
   
   5.3.1
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   option = {
     xAxis: {},
     yAxis: {},
     grid: {
       top: '14%',
     },
     series: [
       {
         symbolSize: 20,
         data: [
           [1, 1],
           [1, 0],
         ],
         type: 'scatter'
       }
     ]
   };
   
   
   ### Current Behavior
   
   I had this problem when developing a scatter plot, it seems like there is more than one scale that will make the scatter in the upper right corner disappear, eg: 15, 16, 20, 40, maybe more
   ![QQ picture 20220310155211](https://user-images.githubusercontent.com/61530016/157614191-6d0fd086-be21-459a-a294-71a61f181505.png)
   
   
   ### Expected Behavior
   
   The scatter in the upper right corner should show up as long as it doesn't go beyond the canvas
   
   ### Environment
   
   ````markdown
   - OS:
   - Browser:
   - Framework:
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </details>


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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