Package eu.scape_project.planning.criteria.bean.data

Examples of eu.scape_project.planning.criteria.bean.data.PotentialToRangeMaxData


     * @return The data object
     */
    public DiagramData getPotentialToRangeData() {

        // Create data object
        PotentialToRangeMaxData data = new PotentialToRangeMaxData();
        // Title
        data.setTitle("Potential to range");

        data.setMaxValue(potentialToRangeScale);
        data.setFormatString("%.3f");

        // Label of series
        ArrayList<String> seriesLabels = new ArrayList<String>();
        seriesLabels.add("IF9: Maximum Potential");
        seriesLabels.add("IF5: Potential");
        seriesLabels.add("IF10: Maximum Range");
        seriesLabels.add("IF6: Range");

        // Data lists for criteria hierarchies
        ArrayList<Double> seriesData = new ArrayList<Double>();

        // Add data
        seriesData.add(getCplIf9());
        seriesData.add(getCplIf5());
        seriesData.add(getCplIf10());
        seriesData.add(getCplIf6());

        // Set data
        data.setSeriesLabels(seriesLabels);
        data.setSeriesData(seriesData);
        return data;
    }
View Full Code Here

TOP

Related Classes of eu.scape_project.planning.criteria.bean.data.PotentialToRangeMaxData

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.