Can anyone please suggest me a way to assign two Y-axis to a nvd3 line chart ?
javascript charting - nvd3 line chart with two Y-axis
Asked Answered
I used multiChart
of nvd3
and customized it with minimal effort to achieve this.
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
Take a look at the linePlusBarChart
example from nvd3
examples.
I used multiChart
of nvd3
and customized it with minimal effort to achieve this.
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.