with legend: clientTop=2 clientHeight=40
no legend: clientTop=2 clientHeight=26
with legend: paddingTop=5px
no legend: paddingTop=5px
