You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/06/01 17:33:38 UTC

[GitHub] [incubator-echarts] suremicro edited a comment on issue #8841: min/max on yAxis for bar charts, makes the bars go outside limits

suremicro edited a comment on issue #8841: min/max on yAxis for bar charts, makes the bars go outside limits
URL: https://github.com/apache/incubator-echarts/issues/8841#issuecomment-497963268
 
 
   I have a workaround to this that uses the custom chart type. Using this custom type, a bar chart style can be re-created and the in-built view clipping function used to ensure the chart doesn't exceed the chart area.
   
   A test is currently available at http://suremicro.co.uk/tests/chart-clipping/
   
   It is just a test currently and doesn't support horizontal bar styles or stacking but does partially resolve this annoying issue.
   
   ![chart-clipping](https://user-images.githubusercontent.com/37954798/58751787-6e7d1800-849b-11e9-9453-bd269ddf928a.png)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org