I'm using lightweight-chart-android on my compose application and I'm hosting an area view and a volume at the bottom (exactly like this). But the problem is that I want to scale the volume, so I do these:
If I want to explain this code, I add an areaSeries and scale it from 0.9 to 0.09 and I add a volume and scale it from 0 to 0.9 so it loads at the bottom of the page. But what I get is an scaled area view at the bottom of page overlapped with volume view.
It seems that I've resolved the issue, I just added priceScaleId = PriceScaleId("2") and priceScaleId = PriceScaleId("1") to seriesOptions when adding series, though I'm not sure how it works.
I'm using
lightweight-chart-android
on my compose application and I'm hosting an area view and a volume at the bottom (exactly like this). But the problem is that I want to scale the volume, so I do these:If I want to explain this code, I add an areaSeries and scale it from 0.9 to 0.09 and I add a volume and scale it from 0 to 0.9 so it loads at the bottom of the page. But what I get is an scaled area view at the bottom of page overlapped with volume view.