2014-11-07 72 views
0

我是新的去D3.js.我从下面的链接看到了一个堆栈栏的代码。D3轴不显示

https://gist.github.com/mstanaland/6100713

的轴系未示出。

谢谢!

+0

轴所示。 [Plunker](http://plnkr.co/edit/x14O7ZVGIx2LwQJwEjKQ?p=preview) – Gilsha 2014-11-07 03:46:25

+0

此代码中未显示轴线。我需要那条实线轴。文本显示在其中,我已经知道了。 – Hunter1010 2014-11-07 04:40:17

回答

0

删除这种风格

path.domain { 
    stroke: none; 
} 

并添加此

path.domain { 
    stroke: red; 
}