Extending the labels to support chamber specific labels. Using a chamber specific label results in one label per chamber.
withLabel now has "leftchamber", "rightchamber", "centerchamber" options.
Changed labelWidth from 0.1 to 0.01 precision, to better support smaller labels.
I considered how this might impact, custom chamber sizes. One option was to change withLabel to be a percentage of the container. But doing this you would likely need min size, or you might get silly sized label.
In the end I left it as is. I did limit the labels max size to the containers size, just in case a label is too large to fit.
Extending the labels to support chamber specific labels. Using a chamber specific label results in one label per chamber. withLabel now has "leftchamber", "rightchamber", "centerchamber" options. Changed labelWidth from 0.1 to 0.01 precision, to better support smaller labels.
I considered how this might impact, custom chamber sizes. One option was to change withLabel to be a percentage of the container. But doing this you would likely need min size, or you might get silly sized label. In the end I left it as is. I did limit the labels max size to the containers size, just in case a label is too large to fit.