Skip to content Skip to sidebar Skip to footer

How To Hide First Y Axis Line On An Nvd3 Chart?

Plnkr example: http://plnkr.co/edit/19D5cnrVYdUrMlblQARy?p=preview Screenshot from my app: I've tried modifying the CSS, however I was only able to remove the 2nd (right Y axis li

Solution 1:

if you want to hide the 1st y axis do:

.nv-y1{
  display:none;
}

if you want to hide the 2nd y axis do:

.nv-y2{
  display:none;
}

http://plnkr.co/edit/IgFh1rV4a6ubAMe0VqT2?p=preview

Solution 2:

Use this :

.domain {
  display: none;
}

Post a Comment for "How To Hide First Y Axis Line On An Nvd3 Chart?"