jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

price and volume on same axis

I know i can do 2 y axis (with offset of80% and 20%). but is there a way i can do it both on same chart like below image from yahoo chart.

if you look closely they both intersect sometime..

sample1.png
sample1.png (139.67 KiB) Viewed 410 times
Thanks
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: price and volume on same axis

Hello jahnvi25,

Thanks for contacting us with your question.

You can achieve exactly something like that but it would require two axes. Please check the demo and let me know what do you think.
Demo: https://jsfiddle.net/BlackLabel/fLgtp9va/

Best regards!
Mateusz Bernacik
Highcharts Developer
jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

Re: price and volume on same axis

Thanks a lot. this is exactly what i wanted..
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: price and volume on same axis

That's great to hear! In case of any further questions, feel free to contact us again.
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Stock”