Package org.archive.wayback.util.graph

Examples of org.archive.wayback.util.graph.Graph


   * @param width pixel width of resulting graph
   * @param height pixel height of resulting graph
   * @return String argument which will generate a graph for the results
   */
  public String computeGraphString(String formatKey, int width, int height) {
    Graph graph = PartitionsToGraph.partsOfPartsToGraph(yearPartitions,
        fmt,formatKey,width,height);
    return GraphEncoder.encode(graph);

  }
View Full Code Here


    dataEndMSSE = years.get(years.size()-1).getEnd().getTime();
    numResults = cResults.getMatchingCount();
  }
  public String getYearsGraphString(int imgWidth, int imgHeight) {
    String yearFormatKey = "PartitionSize.dateHeader.yearGraphLabel";
    Graph yearGraph = PartitionsToGraph.partsOfPartsToGraph(
        years,results.getWbRequest().getFormatter(),yearFormatKey,
        imgWidth,imgHeight);
    for(RegionGraphElement rge : yearGraph.getRegions()) {
      if(rge.getData().hasHighlightedValue()) {
//        rge.getData().setHighlightedValue(-1);
      }
    }
View Full Code Here

        }
      }
      data[y] = new RegionData(label, activeP, values);
    }
    GraphConfiguration config = new GraphConfiguration();
    return new Graph(width, height, data, config);
  }
View Full Code Here

        }
      }
      yearRD[y] = new RegionData(label, activeMonth, values);
    }
    GraphConfiguration config = new GraphConfiguration();
    return new Graph(width, height, yearRD, config);
  }
View Full Code Here

TOP

Related Classes of org.archive.wayback.util.graph.Graph

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.