XCharts-Team/XCharts

Help with CandlestickChart GridLayout component required

HajiyevEl opened this issue · 2 comments

Hi again! Stumbled upon a problem when using GridLayout component on my CandlestickCharts. My charts are being squeezed/shrinked too much when adding rows. There are much of space for charts to stretch, but they are squeezed to top/bottom instead. How can i make them fit proportionally?

Screenshots

Screenshot 2024-04-14 104531
Screenshot 2024-04-14 104549

I think i know what caused this squeezing. When i change LayoutIndex in GridCoord from -1 to 0, padding of that GridCoord becomes hidden, BUT it still influences GridLayout padding. Actually, it's good thing, because user can set prefered sizes of charts from indexed GridCoord. It's just that i don't understand, why hide charts GridCoord padding, if it's still influences GridLayout? So confusing.

Screenshots

Screenshot 2024-04-14 164932
Screenshot 2024-04-14 164937

OK, the master branch has been optimized so that the Left Right Top Bottom parameters are always displayed and no longer hidden when setting GridLayout.