Package com.dianping.cat.report.page.app.graph

Examples of com.dianping.cat.report.page.app.graph.Sorter$PieChartDetailInfoComparator


        AppDataGroupByField field) {
    try {
      Pair<PieChart, List<PieChartDetailInfo>> pair = m_appGraphCreator.buildPieChart(payload.getQueryEntity1(),
            field);
      List<PieChartDetailInfo> infos = pair.getValue();
      Collections.sort(infos, new Sorter().buildPieChartInfoComparator());

      return pair;
    } catch (Exception e) {
      Cat.logError(e);
    }
View Full Code Here


    try {
      filterCommands(model, payload.isShowActivity());

      LineChart lineChart = m_appGraphCreator.buildLineChart(linechartEntity1, linechartEntity2, type);
      List<AppDataSpreadInfo> appDataSpreadInfos = m_appDataService.buildAppDataSpreadInfo(linechartEntity1, field);
      Collections.sort(appDataSpreadInfos, new Sorter(sortBy).buildLineChartInfoComparator());

      model.setLineChart(lineChart);
      model.setAppDataSpreadInfos(appDataSpreadInfos);
      return new Pair<LineChart, List<AppDataSpreadInfo>>(lineChart, appDataSpreadInfos);
    } catch (Exception e) {
View Full Code Here

TOP

Related Classes of com.dianping.cat.report.page.app.graph.Sorter$PieChartDetailInfoComparator

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.