graphics.fillGradientRectangle(currentX, currentY, bWidth, bHeight, actualColor, nextColor, true);
int tx = round(currentX + 1.5f * bWidth);
graphics.setColor(legendStyle.fontColor);
graphics.drawString(String.format("%-8.2f", Float.parseFloat(firstValue)), //$NON-NLS-1$
tx,// +horizontalMargin,
currentY, // - graphics.getFontAscent(),// +textVerticalOffset,
ViewportGraphics.ALIGN_LEFT, ViewportGraphics.ALIGN_MIDDLE);
currentY = currentY + bHeight;