{"action":"opened","issue":{"url":"https://api.github.com/repos/alibaba/BizCharts/issues/586","repository_url":"https://api.github.com/repos/alibaba/BizCharts","labels_url":"https://api.github.com/repos/alibaba/BizCharts/issues/586/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/BizCharts/issues/586/comments","events_url":"https://api.github.com/repos/alibaba/BizCharts/issues/586/events","html_url":"https://github.com/alibaba/BizCharts/issues/586","id":373755531,"node_id":"MDU6SXNzdWUzNzM3NTU1MzE=","number":586,"title":"设置padding引发的怪异现象","user":{"login":"yuanjie007","id":18167335,"node_id":"MDQ6VXNlcjE4MTY3MzM1","avatar_url":"https://avatars0.githubusercontent.com/u/18167335?v=4","gravatar_id":"","url":"https://api.github.com/users/yuanjie007","html_url":"https://github.com/yuanjie007","followers_url":"https://api.github.com/users/yuanjie007/followers","following_url":"https://api.github.com/users/yuanjie007/following{/other_user}","gists_url":"https://api.github.com/users/yuanjie007/gists{/gist_id}","starred_url":"https://api.github.com/users/yuanjie007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuanjie007/subscriptions","organizations_url":"https://api.github.com/users/yuanjie007/orgs","repos_url":"https://api.github.com/users/yuanjie007/repos","events_url":"https://api.github.com/users/yuanjie007/events{/privacy}","received_events_url":"https://api.github.com/users/yuanjie007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-25T03:10:50Z","updated_at":"2018-10-25T03:10:50Z","closed_at":null,"author_association":"NONE","body":"- bizcharts Version:  3.2.7\r\n- react version:  16.5.2\r\n- Mini Showcase(like screenshots):\r\n\r\n正常: \r\n![default](https://user-images.githubusercontent.com/18167335/47472821-9be94f80-d842-11e8-9ccf-8d8079fbbf4b.png)\r\n\r\n**因为最后一个标签显示不全，所以我就想用padding来搞**\r\n\r\n设置padding='auto' && forceFit=true 之后，正常显示了，但是我改变窗口大小: \r\n![treedemo](https://user-images.githubusercontent.com/18167335/47473425-27fc7680-d845-11e8-8628-ead4c8f6cde5.gif)\r\n\r\n设置padding={right: 20} && forceFit=true 就好像被放大了:\r\n![11111](https://user-images.githubusercontent.com/18167335/47473621-ecae7780-d845-11e8-885e-0214957dfa1d.png)\r\n\r\n\r\n- CodePen Link: [柱状图](https://codepen.io/anon/pen/ReqqoX)\r\n\r\n我用CodePen来设置padding，也会有放大的问题。\r\n"}}
{"actor":{"display_login":"yuanjie007"}}