Package eu.lsem.bakalarka.model

Examples of eu.lsem.bakalarka.model.ColumnChart


        for (int i = 0; i < years.size(); i++) {
            labels[i] = String.valueOf(years.get(i));
            data[i] = thesesDao.countThesesAtYear(years.get(i));
        }
        File chart = File.createTempFile("chart", ".png");
        new ColumnChart("Graf prac� podle data obhajoby", COLUMN_CHART_WIDTH, COLUMN_CHART_HEIGHT + data.length * 20,
                "Roky", "Po�et prac�", new double[][]{data}, labels, new String[]{"Pr�ce v dan�m roce"}).saveChart(chart);
        return chart;
    }
View Full Code Here


            for (int j = 0; j < years.size(); j++) {
                data[i][j] = thesesDao.countThesesAtYearAndCategory(years.get(j), categories.get(i).getId());
            }
        }
        File f = File.createTempFile("chart", ".png");
        new ColumnChart("Graf prac� podle data obhajoby a kategorie pr�ce",
                COLUMN_CHART_WIDTH, COLUMN_CHART_HEIGHT + data.length * 20,
                "Roky", "Po�et prac�", data, labels, legendLabels
        ).saveChart(f);
        return f;
    }
View Full Code Here

                data[i][j] = thesesDao.countThesesAtYearAndFieldOfStudy(years.get(j), fieldsOfStudy.get(i).getId());
            }
        }

        File f = File.createTempFile("chart", ".png");
        new ColumnChart("Graf prac� podle data obhajoby a oboru studia",
                COLUMN_CHART_WIDTH, COLUMN_CHART_HEIGHT + data.length * 20,
                "Roky", "Po�et prac�", data, labels, legendLabels).saveChart(f);
        return f;
    }
View Full Code Here

TOP

Related Classes of eu.lsem.bakalarka.model.ColumnChart

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.