Package org.rhq.enterprise.gui.legacy.util

Examples of org.rhq.enterprise.gui.legacy.util.ChartData


        return null;
    }

    protected ChartData getChartData(Map all, PerformanceForm form) {
        ChartData data = new ChartData();
        data.setSegments(all);
        data.setShowLow(form.getLow());
        data.setShowAvg(form.getAvg());
        data.setShowPeak(form.getPeak());
        return data;
    }
View Full Code Here


        request.setAttribute(Constants.PERF_SUMMARIES_ATTR, callTimeDataComposites);

        if (selectedSchedule != null) {
            // Save chart data into session, so it can be displayed by the performance chart servlet.
            ChartData chartData = createChartData(callTimeDataComposites, perfForm, selectedSchedule);
            request.getSession().setAttribute(Constants.CHART_DATA_SES_ATTR, chartData);
        }

        return null;
    }
View Full Code Here

        super.prepareForm(request, form);
    }

    protected ChartData createChartData(PageList<CallTimeDataComposite> callTimeDataComposites, PerformanceForm form,
        MeasurementSchedule schedule) {
        ChartData chartData = new ChartData();
        chartData.setSummaries(callTimeDataComposites);
        chartData.setShowLow(form.getLow());
        chartData.setShowAvg(form.getAvg());
        chartData.setShowPeak(form.getPeak());
        chartData.setMeasurementDefinition(schedule.getDefinition());
        return chartData;
    }
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.gui.legacy.util.ChartData

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.