Usually to change a card’s height an “!important” modifier is required.
For this particular case: what do you want to achieve? Resizing a graph is causing stretching (for text too). What you can do is increasing spaces between a title, a legend and the graph.
See my answer above about stretching the graph. Make a screenshot of any graph and then stretch the picture in smth like MS Paint - you will see what may happen.