}
}
chartPlot.setTickLabelsVisible(true);
// Set all the colors we support
Paint backgroundPaint = jrPlot.getOwnBackcolor() == null ? ChartThemesConstants.TRANSPARENT_PAINT : jrPlot.getOwnBackcolor();
chartPlot.setBackgroundPaint(backgroundPaint);
GradientPaint gp =
new GradientPaint(
new Point(), Color.LIGHT_GRAY,
new Point(), Color.BLACK,
false
);
if(jrPlot.getMeterBackgroundColor() != null)
{
chartPlot.setDialBackgroundPaint(jrPlot.getMeterBackgroundColor());
}
else
{
chartPlot.setDialBackgroundPaint(gp);
}
//chartPlot.setForegroundAlpha(1f);
Paint needlePaint = jrPlot.getNeedleColor() == null ? new Color(191, 48, 0) : jrPlot.getNeedleColor();
chartPlot.setNeedlePaint(needlePaint);
JRValueDisplay display = jrPlot.getValueDisplay();
if(display != null)
{