Change CategoryBarRenderer to take a width accessor instead of a value