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/11/21 23:46:59 UTC

[GitHub] [echarts] Keoooo opened a new issue, #17950: [Feature] Tree Map contain the roaming space

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

   ### What problem does this feature solve?
   
   in the treemap options my I can drag the chart completely out of view. Having looked through the docs I can not see a suitable option for this. I want roam mode to be available but I want to limit the range it can travel.
   
   ![Screenshot 2022-11-22 at 10 39 06 am](https://user-images.githubusercontent.com/33136365/203179906-5121ff57-2d64-4e1b-a83b-b90cfb1ab952.png)
   
   
   ### What does the proposed API look like?
   
   Add a limit option to the roam feature to prevent the treemap going out of range 
   
   something like 
   
   ```
   roamBoundary: {
   height: 
   width: 
   }
   ```


-- 
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] Ovilia commented on issue #17950: [Feature] Tree Map contain the roaming space

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

   A pull request is welcomed. BTW, the API design doesn't seem to be reasonable enough. If you want to confine the treemap in a certain area, setting `width` and `height` alone is not helpful.


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