Bar charts need some empty data added first, in order to create some padding between the bars and the Y axis.
This commit fixes using padded data or not, and prevents some of the shapes being drawn badly in one case or the other - they should all behave the same now, aligning right up against the axes, unless the data has been "padded" with an empty item.
Bar charts need some empty data added first, in order to create some padding between the bars and the Y axis.
This commit fixes using padded data or not, and prevents some of the shapes being drawn badly in one case or the other - they should all behave the same now, aligning right up against the axes, unless the data has been "padded" with an empty item.