Hi There
 
I have had problems with the MeterPlot drawing of legends as they are displayed to far down when you reduce the radius of the meter.
 
Is it possible for someone to add code that adjusts the legend position of meterplots depending on the radius specifed, like something below.
 
(in the drawTitle method of JFreeChart)
 
else if (position == RectangleEdge.BOTTOM) {
            Size2D size = t.arrange(g2, constraint);
           
            // modified to raise the height of the Thermometers legend
            Rectangle2D titleAreaTemp = createAlignedRectangle2D(size, area,
                    t.getHorizontalAlignment(), VerticalAlignment.BOTTOM);
           
            if (plot instanceof MeterPlot) {
             int percent = 100;
             MeterPlot mPlot = (MeterPlot)plot;
             if(mPlot.getMeterAngle() <= 200) {
              percent = 25;
             } else if(mPlot.getMeterAngle() <= 260) {
              percent = 20;
             }
    // move up n%
    double yAdjusted = (hh * percent) / 100;
    titleArea = new Rectangle2D.Double(titleAreaTemp.getX(),
      titleAreaTemp.getY() - yAdjusted, titleAreaTemp
        .getWidth(), titleAreaTemp.getHeight());
   } else {
    titleArea = titleAreaTemp;
   }

           
   retValue = t.draw(g2, titleArea, p);
            area.setRect(area.getX(), area.getY(), area.getWidth(),
                    area.getHeight() - size.height);
        }
 
This feature would be much appreciated.
 
Thanks
 
Andrew Powell