如何在nvd3图表中添加边距

Pet*_*ran 3 svg margins rect nvd3.js

我正在使用nvd3.js库及其水平图http://nvd3.org/ghpages/multiBarHorizo​​ntal.html 我试图通过以下css在栏之间添加一些边距但是不起作用. http://jsfiddle.net/petran/x7Cdz/1/

rect {
display: inline-block;
margin-top: 25px;
margin-bottom: 5px;}
Run Code Online (Sandbox Code Playgroud)

还有另一种方法可以实现吗?

sil*_*r27 8

.margin({top:30,right:20,bottom:50,left:175})

http://nvd3.org/livecode/index.html#codemirrorNav