haskell-chart icon indicating copy to clipboard operation
haskell-chart copied to clipboard

StackedLayouts with varying heights

Open joehealy opened this issue 7 years ago • 2 comments

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.

joehealy avatar Apr 04 '17 23:04 joehealy

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.

timbod7 avatar Apr 15 '17 01:04 timbod7

Is this still the case?

Magalame avatar Jan 03 '19 14:01 Magalame