2014-11-07 85 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; 
}