chartHeight = height - BORDER_BOTTOM - BORDER_TOP;
}
private int calculateHorizontalLabelSpace() {
TextBoundsEstimator estimator = new TextBoundsEstimator();
estimator.applyFontSettings(FONT_FAMILY, FONT_STYLE, FONT_WEIGHT,
FONT_SIZE);
// max over widths for labels
int maxWidth = 0;
for (int i = 0; i < visualItemsJsArray.length(); i++) {