categoryPlot.getDomainAxis().setLabelFont(WidgetUtils.FONT_SMALL);
categoryPlot.getDomainAxis().setTickLabelFont(WidgetUtils.FONT_SMALL);
categoryPlot.getRangeAxis().setLabelFont(WidgetUtils.FONT_SMALL);
categoryPlot.getRangeAxis().setTickLabelFont(WidgetUtils.FONT_SMALL);
categoryPlot.setDrawingSupplier(new DCDrawingSupplier());
final CategoryItemRenderer renderer = categoryPlot.getRenderer();
renderer.setBaseOutlinePaint(WidgetUtils.BG_COLOR_DARK);
renderer.setBaseOutlineStroke(wideStroke);
if (renderer instanceof BarRenderer) {
BarRenderer barRenderer = (BarRenderer) renderer;
barRenderer.setShadowPaint(WidgetUtils.BG_COLOR_BRIGHT);
barRenderer.setBarPainter(new StandardBarPainter());
}
} else if (plot instanceof XYPlot) {
// tweaks for line charts
final XYPlot xyPlot = (XYPlot) plot;
xyPlot.setDrawingSupplier(new DCDrawingSupplier());
xyPlot.getDomainAxis().setLabelFont(WidgetUtils.FONT_SMALL);
xyPlot.getDomainAxis().setTickLabelFont(WidgetUtils.FONT_SMALL);
xyPlot.getRangeAxis().setLabelFont(WidgetUtils.FONT_SMALL);
xyPlot.getRangeAxis().setTickLabelFont(WidgetUtils.FONT_SMALL);