org.objectweb.proactive.benchmarks.timit.util.charts
Class Utilities

java.lang.Object
  extended by org.objectweb.proactive.benchmarks.timit.util.charts.Utilities

public class Utilities
extends java.lang.Object

Give some utilities to manage charts

Author:
Brian Amedro, Vladimir Bodnartchouk

Constructor Summary
Utilities()
           
 
Method Summary
static void generatingCharts(org.jdom.Element eTimitResult, BenchmarkStatistics bstats, ConfigChart[] charts)
          For each tag in configuration file, try to generate a chart according to its parameters
static void saveChartAsSVG(org.jfree.chart.JFreeChart chart, java.awt.Rectangle bounds, java.io.File svgFile)
          Exports a JFreeChart to a SVG file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

generatingCharts

public static void generatingCharts(org.jdom.Element eTimitResult,
                                    BenchmarkStatistics bstats,
                                    ConfigChart[] charts)
For each tag in configuration file, try to generate a chart according to its parameters

Parameters:
serieResults - merged values
bstats - full statistics (used for non-mergable values like commevents)
charts - array from tags in configuration file

saveChartAsSVG

public static void saveChartAsSVG(org.jfree.chart.JFreeChart chart,
                                  java.awt.Rectangle bounds,
                                  java.io.File svgFile)
                           throws java.io.IOException
Exports a JFreeChart to a SVG file.

Parameters:
chart - JFreeChart to export
bounds - the dimensions of the viewport
svgFile - the output file.
Throws:
java.io.IOException - if writing the svgFile fails.


Copyright 2001-2007 INRIA All Rights Reserved.