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/06/30 07:01:07 UTC

[GitHub] [echarts] oseaweed opened a new issue, #17296: [Bug] 当tooltip type=scroll 翻页有重复项

oseaweed opened a new issue, #17296:
URL: https://github.com/apache/echarts/issues/17296

   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=pie-legend&edit=1&reset=1&version=5.3.3
   
   ### Steps to Reproduce
   
   https://echarts.apache.org/examples/zh/editor.html?c=pie-legend&edit=1&reset=1&version=5.3.3
   ![image](https://user-images.githubusercontent.com/33144660/176612223-ddb7da08-b14d-43dd-9f9a-0236e74dd5b2.png)
   ![image](https://user-images.githubusercontent.com/33144660/176612304-931e3ac0-9aab-4d32-bc79-14239df947bb.png)
   ![image](https://user-images.githubusercontent.com/33144660/176612831-b851b3e0-6a45-4289-9889-d7cd869709a0.png)
   
   
   
   ### Current Behavior
   
   第一页最后一个类目已经显示完全了 第二页又出现一遍 
   
   ### Expected Behavior
   
    第二页不显示
   
   ### 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.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] fuchunhui commented on issue #17296: [Bug] setting legend with type=scroll, there are duplicates when turning pages

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

   个人认为,不仅仅是截断角度考虑,从图表本身的使用来看,当图例个数较多出现分页场景,分页后告诉用户上页最后一个是哪个,也更佳便于继续阅读。


-- 
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] oseaweed commented on issue #17296: [Bug] setting legend with type=scroll, there are duplicates when turning pages

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

   > 
   
   “分页后告诉用户上页最后一个是哪个,也更佳便于继续阅读” 这个说法也说的通,但现在效果并不统一。
   当我把tootip高端调整到正好等于  “图例个数*(宽度+间隙)+某个数值(猜测是分页器高度)”  的时候,翻页的时候不显示前一页最后一条,当高度再减去一个间隙的时候(也就是文字正好都显示完),翻页会显示前一页最后一条


-- 
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 #17296: [Bug] 当tooltip type=scroll 翻页有重复项

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

   @oseaweed 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] There are duplicates when tooltip type=scroll page turning
   
   **BODY**
   
   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=pie-legend&edit=1&reset=1&version=5.3.3
   
   ### Steps to Reproduce
   
   https://echarts.apache.org/examples/en/editor.html?c=pie-legend&edit=1&reset=1&version=5.3.3
   ![image](https://user-images.githubusercontent.com/33144660/176612223-ddb7da08-b14d-43dd-9f9a-0236e74dd5b2.png)
   ![image](https://user-images.githubusercontent.com/33144660/176612304-931e3ac0-9aab-4d32-bc79-14239df947bb.png)
   ![image](https://user-images.githubusercontent.com/33144660/176612831-b851b3e0-6a45-4289-9889-d7cd869709a0.png)
   
   
   
   ### Current Behavior
   
   The last category on the first page has been displayed completely, and the second page appears again
   
   ### Expected Behavior
   
    Second page not showing
   
   ### 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


[GitHub] [echarts] fuchunhui commented on issue #17296: [Bug] 当tooltip type=scroll 翻页有重复项

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

   不是 bug,就是这样设计的。
   https://github.com/apache/echarts/blob/bafb0f9a8a0ef5d4b7916c1cf62fbd4080a5da52/src/component/legend/ScrollableLegendView.ts#L439-L442
   


-- 
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] fuchunhui closed issue #17296: [Bug] setting legend with type=scroll, there are duplicates when turning pages

Posted by GitBox <gi...@apache.org>.
fuchunhui closed issue #17296: [Bug] setting legend with type=scroll, there are duplicates when turning pages
URL: https://github.com/apache/echarts/issues/17296


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