chartSettings.setBorderVisible(Boolean.TRUE);
chartSettings.setBorderPaint(new ColorProvider(Color.GREEN));
chartSettings.setBorderStroke(new BasicStroke(1f));
chartSettings.setAntiAlias(Boolean.TRUE);
chartSettings.setTextAntiAlias(Boolean.TRUE);
chartSettings.setPadding(new RectangleInsets(UnitType.ABSOLUTE, 1.1, 2.2, 3.3, 4.4));
TitleSettings titleSettings = settings.getTitleSettings();
titleSettings.setShowTitle(Boolean.TRUE);
titleSettings.setPosition(EdgeEnum.TOP);
titleSettings.setForegroundPaint(new ColorProvider(Color.black));
titleSettings.setBackgroundPaint(new GradientPaintProvider(Color.green, Color.blue));
titleSettings.getFont().setBold(Boolean.TRUE);
titleSettings.getFont().setFontSize(22);
titleSettings.setHorizontalAlignment(HorizontalAlignment.CENTER);
titleSettings.setVerticalAlignment(VerticalAlignment.TOP);
titleSettings.setPadding(new RectangleInsets(UnitType.ABSOLUTE, 1.1, 2.2, 3.3, 4.4));
TitleSettings subtitleSettings = settings.getSubtitleSettings();
subtitleSettings.setShowTitle(Boolean.TRUE);
subtitleSettings.setPosition(EdgeEnum.TOP);
subtitleSettings.setForegroundPaint(new ColorProvider(Color.red));
subtitleSettings.setBackgroundPaint(new GradientPaintProvider(Color.green, Color.blue));
subtitleSettings.getFont().setBold(Boolean.TRUE);
subtitleSettings.setHorizontalAlignment(HorizontalAlignment.LEFT);
subtitleSettings.setVerticalAlignment(VerticalAlignment.CENTER);
subtitleSettings.setPadding(new RectangleInsets(UnitType.ABSOLUTE, 1.1, 2.2, 3.3, 4.4));
LegendSettings legendSettings = settings.getLegendSettings();
legendSettings.setShowLegend(Boolean.TRUE);
legendSettings.setPosition(EdgeEnum.BOTTOM);
legendSettings.setForegroundPaint(new ColorProvider(Color.black));
legendSettings.setBackgroundPaint(new GradientPaintProvider(Color.green, Color.blue));
legendSettings.getFont().setBold(Boolean.TRUE);
legendSettings.setHorizontalAlignment(HorizontalAlignment.CENTER);
legendSettings.setVerticalAlignment(VerticalAlignment.BOTTOM);
//FIXMETHEME legendSettings.setBlockFrame();
legendSettings.setPadding(new RectangleInsets(UnitType.ABSOLUTE, 1.1, 2.2, 3.3, 4.4));
PlotSettings plotSettings = settings.getPlotSettings();
plotSettings.setOrientation(PlotOrientation.VERTICAL);
// plotSettings.setForegroundAlpha(new Float(0.5f));
plotSettings.setBackgroundPaint(new GradientPaintProvider(Color.green, Color.blue));
// plotSettings.setBackgroundAlpha(new Float(0.5f));
plotSettings.setBackgroundImage(new FileImageProvider("net/sf/jasperreports/chartthemes/simple/jasperreports.png"));
plotSettings.setBackgroundImageAlpha(new Float(0.5f));
plotSettings.setBackgroundImageAlignment(new Integer(Align.NORTH_WEST));
plotSettings.setLabelRotation(new Double(0));
plotSettings.setPadding(new RectangleInsets(UnitType.ABSOLUTE, 1.1, 2.2, 3.3, 4.4));
plotSettings.setOutlineVisible(Boolean.TRUE);
plotSettings.setOutlinePaint(new ColorProvider(Color.red));
plotSettings.setOutlineStroke(new BasicStroke(1f));
plotSettings.setSeriesColorSequence(COLORS);
// plotSettings.setSeriesGradientPaintSequence(GRADIENT_PAINTS);
plotSettings.setSeriesOutlinePaintSequence(COLORS_DARKER);
plotSettings.setSeriesStrokeSequence(STROKES);
plotSettings.setSeriesOutlineStrokeSequence(OUTLINE_STROKES);
plotSettings.setDomainGridlineVisible(Boolean.TRUE);
plotSettings.setDomainGridlinePaint(new ColorProvider(Color.DARK_GRAY));
plotSettings.setDomainGridlineStroke(new BasicStroke(0.5f));
plotSettings.setRangeGridlineVisible(Boolean.TRUE);
plotSettings.setRangeGridlinePaint(new ColorProvider(Color.BLACK));
plotSettings.setRangeGridlineStroke(new BasicStroke(0.5f));
plotSettings.getTickLabelFont().setFontName("Courier");
plotSettings.getTickLabelFont().setBold(Boolean.TRUE);
plotSettings.getTickLabelFont().setFontSize(10);
plotSettings.getDisplayFont().setFontName("Arial");
plotSettings.getDisplayFont().setBold(Boolean.TRUE);
plotSettings.getDisplayFont().setFontSize(12);
AxisSettings domainAxisSettings = settings.getDomainAxisSettings();
domainAxisSettings.setVisible(Boolean.TRUE);
domainAxisSettings.setLocation(AxisLocation.BOTTOM_OR_RIGHT);
domainAxisSettings.setLinePaint(new ColorProvider(Color.green));
domainAxisSettings.setLineStroke(new BasicStroke(1f));
domainAxisSettings.setLineVisible(Boolean.TRUE);
// domainAxisSettings.setLabel("Domain Axis");
domainAxisSettings.setLabelAngle(new Double(0.0));
domainAxisSettings.setLabelPaint(new ColorProvider(Color.magenta));
domainAxisSettings.getLabelFont().setBold(Boolean.TRUE);
domainAxisSettings.getLabelFont().setItalic(Boolean.TRUE);
domainAxisSettings.getLabelFont().setFontName("Comic Sans MS");
domainAxisSettings.getLabelFont().setFontSize(12);
domainAxisSettings.setLabelInsets(new RectangleInsets(UnitType.ABSOLUTE, 0.5, 0.5, 1, 1));
domainAxisSettings.setLabelVisible(Boolean.TRUE);
domainAxisSettings.setTickLabelPaint(new ColorProvider(Color.cyan));
domainAxisSettings.getTickLabelFont().setBold(Boolean.TRUE);
domainAxisSettings.getTickLabelFont().setItalic(Boolean.FALSE);
domainAxisSettings.getTickLabelFont().setFontName("Arial");
domainAxisSettings.getTickLabelFont().setFontSize(10);
domainAxisSettings.setTickLabelInsets(new RectangleInsets(UnitType.ABSOLUTE, 0.5, 0.5, 0.5, 0.5));
domainAxisSettings.setTickLabelsVisible(Boolean.TRUE);
domainAxisSettings.setTickMarksInsideLength(new Float(0.1f));
domainAxisSettings.setTickMarksOutsideLength(new Float(0.2f));
domainAxisSettings.setTickMarksPaint(new ColorProvider(Color.ORANGE));
domainAxisSettings.setTickMarksStroke(new BasicStroke(1f));
domainAxisSettings.setTickMarksVisible(Boolean.TRUE);
domainAxisSettings.setTickCount(new Integer(5));
AxisSettings rangeAxisSettings = settings.getRangeAxisSettings();
rangeAxisSettings.setVisible(Boolean.TRUE);
rangeAxisSettings.setLocation(AxisLocation.TOP_OR_RIGHT);
rangeAxisSettings.setLinePaint(new ColorProvider(Color.yellow));
rangeAxisSettings.setLineStroke(new BasicStroke(1f));
rangeAxisSettings.setLineVisible(Boolean.TRUE);
// rangeAxisSettings.setLabel("Range Axis");
rangeAxisSettings.setLabelAngle(new Double(Math.PI/2.0));
rangeAxisSettings.setLabelPaint(new ColorProvider(Color.green));
rangeAxisSettings.getLabelFont().setBold(Boolean.TRUE);
rangeAxisSettings.getLabelFont().setItalic(Boolean.TRUE);
rangeAxisSettings.getLabelFont().setFontName("Comic Sans MS");
rangeAxisSettings.getLabelFont().setFontSize(12);
rangeAxisSettings.setLabelInsets(new RectangleInsets(UnitType.ABSOLUTE, 0.5, 0.5, 1, 1));
rangeAxisSettings.setLabelVisible(Boolean.TRUE);
rangeAxisSettings.setTickLabelPaint(new ColorProvider(Color.pink));
rangeAxisSettings.getTickLabelFont().setBold(Boolean.FALSE);
rangeAxisSettings.getTickLabelFont().setItalic(Boolean.TRUE);
rangeAxisSettings.getTickLabelFont().setFontName("Arial");
rangeAxisSettings.getTickLabelFont().setFontSize(10);
rangeAxisSettings.setTickLabelInsets(new RectangleInsets(UnitType.ABSOLUTE, 0.5, 0.5, 0.5, 0.5));
rangeAxisSettings.setTickLabelsVisible(Boolean.TRUE);
rangeAxisSettings.setTickMarksInsideLength(new Float(0.2f));
rangeAxisSettings.setTickMarksOutsideLength(new Float(0.1f));
rangeAxisSettings.setTickMarksPaint(new ColorProvider(Color.black));
rangeAxisSettings.setTickMarksStroke(new BasicStroke(1f));