static {
    charts = new Vector();

    ChartDefinition cd = new ChartDefinition();
    cd.setNeededSeries(new String[] {"Labels", "Serie1"});
    cd.setChartName("Pie");
    cd.setIcon(
        new javax.swing.ImageIcon(
            AvailableCharts.class
                .getClass()
                .getResource("/it/businesslogic/ireport/icons/charts/pie.png")));
    cd.setType("Pie charts");
    cd.setFactory("JFreeChart-0.21");
    addChartSheetProperties(cd);

    charts.add(cd);

    ChartDefinition cd2 = new ChartDefinition();

    cd2.setNeededSeries(new String[] {"Labels", "Serie1"});
    cd2.setChartName("Pie3D");
    cd2.setIcon(
        new javax.swing.ImageIcon(
            AvailableCharts.class
                .getClass()
                .getResource("/it/businesslogic/ireport/icons/charts/pie3d.png")));
    cd2.setType("Pie charts");
    cd2.setFactory("JFreeChart-0.21");
    addChartSheetProperties(cd2);
    cd2.getSheetProperties()
        .add(new SheetProperty("depthFactor", "Depth factor", SheetProperty.NUMBER, "0.2"));
    cd2.getSheetProperties()
        .add(
            new SheetProperty("foregroundAlpha", "Foreground Alpha", SheetProperty.NUMBER, "0.33"));

    charts.add(cd2);

    ChartDefinition cd3 = new ChartDefinition();
    cd3.setNeededSeries(new String[] {"Values", "Categories", "Series"});
    cd3.setChartName("Bar");
    cd3.setIcon(
        new javax.swing.ImageIcon(
            AvailableCharts.class
                .getClass()
                .getResource("/it/businesslogic/ireport/icons/charts/bar.png")));
    cd3.setType("Bar charts");
    cd3.setFactory("JFreeChart-0.21");
    addChartSheetProperties(cd3);
    SheetProperty nsp =
        new SheetProperty("plotOrientation", "Plot orientation", SheetProperty.COMBOBOX_NK, "2");
    nsp.getTags().add(new it.businesslogic.ireport.gui.sheet.Tag(1, "Horizontal"));
    nsp.getTags().add(new it.businesslogic.ireport.gui.sheet.Tag(2, "Vertical"));
    cd3.getSheetProperties().add(nsp);
    cd3.getSheetProperties()
        .add(
            new SheetProperty("foregroundAlpha", "Foreground Alpha", SheetProperty.NUMBER, "0.33"));
    cd3.getSheetProperties()
        .add(new SheetProperty("valueLabel", "Value label", SheetProperty.STRING, ""));
    cd3.getSheetProperties()
        .add(new SheetProperty("categoryLabel", "Category label", SheetProperty.STRING, ""));
    charts.add(cd3);

    ChartDefinition cd4 = new ChartDefinition();
    cd4.setNeededSeries(new String[] {"Values", "Categories", "Series"});
    cd4.setChartName("Bar3D");
    cd4.setIcon(
        new javax.swing.ImageIcon(
            AvailableCharts.class
                .getClass()
                .getResource("/it/businesslogic/ireport/icons/charts/bar3d.png")));
    cd4.setType("Bar charts");
    cd4.setFactory("JFreeChart-0.21");
    addChartSheetProperties(cd4);
    nsp = new SheetProperty("plotOrientation", "Plot orientation", SheetProperty.COMBOBOX_NK, "2");
    nsp.getTags().add(new it.businesslogic.ireport.gui.sheet.Tag(1, "Horizontal"));
    nsp.getTags().add(new it.businesslogic.ireport.gui.sheet.Tag(2, "Vertical"));
    cd4.getSheetProperties().add(nsp);
    cd4.getSheetProperties()
        .add(
            new SheetProperty("foregroundAlpha", "Foreground Alpha", SheetProperty.NUMBER, "0.33"));
    cd4.getSheetProperties()
        .add(new SheetProperty("valueLabel", "Value label", SheetProperty.STRING, ""));
    cd4.getSheetProperties()
        .add(new SheetProperty("categoryLabel", "Category label", SheetProperty.STRING, ""));
    charts.add(cd4);

    ChartDefinition cd5 = new ChartDefinition();
    cd5.setNeededSeries(new String[] {"Values", "Categories", "Series"});
    cd5.setChartName("Line");
    cd5.setIcon(
        new javax.swing.ImageIcon(
            AvailableCharts.class
                .getClass()
                .getResource("/it/businesslogic/ireport/icons/charts/line.png")));
    cd5.setType("Bar charts");
    cd5.setFactory("JFreeChart-0.21");
    addChartSheetProperties(cd5);
    nsp = new SheetProperty("plotOrientation", "Plot orientation", SheetProperty.COMBOBOX_NK, "2");
    nsp.getTags().add(new it.businesslogic.ireport.gui.sheet.Tag(1, "Horizontal"));
    nsp.getTags().add(new it.businesslogic.ireport.gui.sheet.Tag(2, "Vertical"));
    cd5.getSheetProperties().add(nsp);
    cd5.getSheetProperties()
        .add(
            new SheetProperty("foregroundAlpha", "Foreground Alpha", SheetProperty.NUMBER, "0.33"));
    cd5.getSheetProperties()
        .add(new SheetProperty("valueLabel", "Y Label label", SheetProperty.STRING, ""));
    cd5.getSheetProperties()
        .add(new SheetProperty("categoryLabel", "X Label", SheetProperty.STRING, ""));
    charts.add(cd5);

    ChartDefinition cd6 = new ChartDefinition();
    cd6.setNeededSeries(new String[] {"Values", "Categories", "Series"});
    cd6.setChartName("Area");
    cd6.setIcon(
        new javax.swing.ImageIcon(
            AvailableCharts.class
                .getClass()
                .getResource("/it/businesslogic/ireport/icons/charts/area.png")));
    cd6.setType("Bar charts");
    cd6.setFactory("JFreeChart-0.21");
    addChartSheetProperties(cd6);
    nsp = new SheetProperty("plotOrientation", "Plot orientation", SheetProperty.COMBOBOX_NK, "2");
    nsp.getTags().add(new it.businesslogic.ireport.gui.sheet.Tag(1, "Horizontal"));
    nsp.getTags().add(new it.businesslogic.ireport.gui.sheet.Tag(2, "Vertical"));
    cd6.getSheetProperties().add(nsp);
    cd6.getSheetProperties()
        .add(
            new SheetProperty("foregroundAlpha", "Foreground Alpha", SheetProperty.NUMBER, "0.33"));
    cd6.getSheetProperties()
        .add(new SheetProperty("valueLabel", "Y Label label", SheetProperty.STRING, ""));
    cd6.getSheetProperties()
        .add(new SheetProperty("categoryLabel", "X Label", SheetProperty.STRING, ""));
    charts.add(cd6);

    genericChart =
        new javax.swing.ImageIcon(
            AvailableCharts.class
                .getClass()
                .getResource("/it/businesslogic/ireport/icons/charts/genericChart.png"));
  }