javascript charting - nvd3 line chart with two Y-axis
Asked Answered
S

2

10

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

Shinn answered 24/1, 2013 at 8:39 Comment(0)
S
5

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

Shinn answered 30/1, 2013 at 18:38 Comment(1)
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?Suannesuarez
K
5

Take a look at the linePlusBarChart example from nvd3 examples.

Kameko answered 24/1, 2013 at 11:49 Comment(0)
S
5

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

Shinn answered 30/1, 2013 at 18:38 Comment(1)
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?Suannesuarez

© 2022 - 2024 — McMap. All rights reserved.