NVD3 (D3 JS) how to remove y2 axis

后端 未结 2 553
死守一世寂寞
死守一世寂寞 2020-12-21 06:54

I\'m trying to use the following example which is a line and bar chart combined.

NVD3 Line & Bar Chart combination

The problem I have is that I want the

2条回答
  •  没有蜡笔的小新
    2020-12-21 07:04

    Much like Lars' answer, this leaves a gap where the axis used to be, but I hid this with CSS.

    .y2-axis {display: none}
    

提交回复
热议问题