pissang opened a new issue #11240: [feature] Add clip option for scatter, line, 
bar, lines, custom chart
URL: https://github.com/apache/incubator-echarts/issues/11240
 
 
   Currently we have overflow issue on the axis with fixed min/max. As 
described in the following issues.
   
   + #11086 Bug with stack bar with min value
   + #9200 Incorrectly render lines overflow the chart
   + #10010 Scatters are rendered outside of grid when setting axis range
   + #10224 Toolbox zoom returns chart in odd state
   
   They are all related to the function of clipping the overflowed graphics.
   
   So I'm planning to add a `clip` option in these series. Which default to be 
true. 
   
   The clipping strategy varies between series. For example:
   
   + Scatter series will ignore the graphics which centroid is outside the grid.
   + Line series will use a rect clip path and let canvas do the clipping. But 
the symbol in line series will follow scatter series.
   + Bar series will do a union operation with the grid rect.
   + Custom series will also use a clip path to do the clipping. Since we can't 
sure what graphics will be used.
   
   <!-- This issue is generated by echarts-issue-helper. 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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to