haskell-chart
haskell-chart copied to clipboard
StackedLayouts with varying heights
I'd like to be able to plot some stacked layouts with the top layout being 80% of the image height and the others squeezed into the bottom. Is there some way of varying the heights of each layout in the stack?
I guess an option would be to render multiple charts and use something to post process them into a stack, but it would be good to do it in one go.
If you are happy with independent charts (ie without enforcement that the x axes align) then you could just create the Layouts you need, and render them as a vertical grid.
However , if you need axis alignment, then there's no way to do this now. It would be good to have the StackedLayout take a weight parameter to control relative sizes.
Is this still the case?