private void placeLegends() { if (!gdef.noLegend && !gdef.onlyGraph) { int border = (int)(getSmallFontCharWidth() * PADDING_LEGEND); LegendComposer lc = new LegendComposer(this, border, im.ygif, im.xgif - 2 * border); im.ygif = lc.placeComments() + PADDING_BOTTOM; } }