Based on the documentation, the padding property of the title in Chart.js adjusts both the top and bottom paddings. However, I'd like to adjust only the bottom padding.
I've tried using a padding object:
title:{
display: true,
text:'Population of cities in California',
padding:{
left:0,
right:0,
bottom:30,
top:0
}
}
But this is probably not supported, because it just messed everything up and made the chart not even visible. I've searched the documentation and googled a bit to see if this has been asked somewhere already, but I couldn't find any solutions.
Is there a built-in way to do this within Chart.js? If not, what would be the simplest workaround?