XYChart Padding

I am currently working with an XYChart. I have an issue: when I shrink the XYChart, there appears to be a built-in space where the title would go. Is there any way to shut this off? This appears both in the designer and also when using the template repeater.

When designed


When shrunk

Both my title and subtitle paddings are set to 0 in the designer.

Try using a -20 on the bottom padding...that covers up the title.

image
image

Thank you so much for trying to help! I tried that; however, it did not change anything. I added text to the title to try to match yours more closely.

There are other factors in play that affect the way it displays. For example, my XYChart is in a Flex container set to column and the XYChart is set to grow/shrink as needed. Also, as a test, I set all the padding to 0 and as soon as I cleared the title, the chart took up all the space...so you don't need to do -20. This means that it is most likely the container settings that need adjusting.

image
image

Okay, I found the issue. It is the x-axis. I had to change it to be inside. Thanks so much for all your help!

2 Likes