10

Can anyone please suggest me a way to assign two Y-axis to a nvd3 line chart ?

Christopher Chiche
  • 15,075
  • 9
  • 59
  • 98
AllTooSir
  • 48,828
  • 16
  • 130
  • 164

2 Answers2

5

Take a look at the linePlusBarChart example from nvd3 examples.

NorthCat
  • 9,643
  • 16
  • 47
  • 50
paxRoman
  • 2,064
  • 3
  • 19
  • 32
5

I used multiChart of nvd3 and customized it with minimal effort to achieve this.

AllTooSir
  • 48,828
  • 16
  • 130
  • 164
  • I simply want the same y-axis on both sides of my chart for easy reading when the chart is quite wide. Is there a way to actually use lineChart and add a second axis while only using one data series? – jtromans Aug 20 '13 at 15:32