Support "top" and "bottom" position of bar graph title

[#44616153]