Searched refs:maxLabelWidth (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/demo/applets/BarChart/
H A DBarChart.java67 private int maxLabelWidth = 0; field in class:BarChart
141 maxLabelWidth = Math.max(metrics.stringWidth(labels[i]), maxLabelWidth);
218 int widthOfItems = maxLabelWidth + 3 + (maxValue * scale) + 5
230 cx += maxLabelWidth + 3;
256 int barWidth = maxLabelWidth;
263 cx += (maxLabelWidth + barSpacing) * i;

Completed in 63 milliseconds