100pah commented on PR #19807: URL: https://github.com/apache/echarts/pull/19807#issuecomment-2974437299
Added until 202506116 ## Support `preserveAspect` Support `preserveAspect` `preserveAspectAlign` `preserveAspectVerticalAlign` for series.map/geo/series.graph in box layout (lay out by left/right/top/bottom/width/height).  ## Support `clip` on geo/series.map  ## Support cursor style change on roaming. Before:  After:  Support cursor style change when hovering the roaming enabled area to hint users. ## Support `roamTigger: 'global' | 'selfRect'` Support `roamTigger: 'global' | 'selfRect'` to switch roam area to global on only self bounding rect.  ## Fix center and zoom option does not work in series.sankey. And no relevant test case. (the roam is introduced in impl in #20321, due v6). ## Fix the percent base of `center` for all View coord sys based components/series Percent base of `center` is like `center: ['40%', '50%']`. "View coord sys based components/series" is geo/series.map/series.graph/series.tree/series.sankey. #16904 introcuded percentage string here, such as '33%'. But it was based on canvas width/height, which is not reasonable - the unit may incorrect, and it is unpredictable if the `View['_rect']` is not calculated based on the current canvas rect. Therefore the percentage value is changed to based on `View['_rect'].width/height` since v6. Under this definition, users can use '0%' to map the top-left of `View['_rect']` to the center of `View['_viewRect']`. ## Enhance the behavior for roaming area overlapping The upper one has higher precedence. ## Fix some `scaleLimit` missing ## Some refactor and clarification of `RoamController` and `roamHelper` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
