I want to label horizontal bar charts like the following example (ignore the numbers, they should be the value of the bar datapoint)
i.e. if the labels will fit within the bar, I want them to be white and positioned at the end of the bar.
If the label won't fit, I want it to be black and positioned after the end of the bar.
What do you suggest as the simplest way to achieve this?
Thanks
Kevin