chart labels: ensure yLabelWidth is available and use correct variable name