If there's room past the single bar (in the positive or negative direction, wherever the bar extends toward) then the label would be outside the bar. There's more text contrast there. Example
We can consider two ways to achieve the result:
- compute the required room for the labels and adds it to the chart padding
- if there is no room for the label, just put the label inside the chart rather then outside
If there's room past the single bar (in the positive or negative direction, wherever the bar extends toward) then the label would be outside the bar. There's more text contrast there. Example
We can consider two ways to achieve the result: