add comment to Chart.calculateLabelMargin