be.ac.ulg.montefiore.run.totem.chart.model.plotters
Interface ChartPlotter

All Known Implementing Classes:
DecreasingLineChartPlotter, LoadChartPlotter, LoadIntervalChartPlotter

public interface ChartPlotter

Interface for chart cretaion.

Creation date: 22 déc. 2005

Author:
Gaël Monfort (monfort@run.montefiore.ulg.ac.be)

Method Summary
 java.util.List<ParameterDescriptor> getParameters()
          Return a list of parameters taht can be given to the plot method.
 org.jfree.chart.JFreeChart plot(ChartData data, java.lang.String title, java.lang.String xAxisTitle, java.lang.String yAxisTitle, java.util.HashMap<java.lang.String,java.lang.String> params)
          Build a chart based on the given data and parameters
 

Method Detail

plot

org.jfree.chart.JFreeChart plot(ChartData data,
                                java.lang.String title,
                                java.lang.String xAxisTitle,
                                java.lang.String yAxisTitle,
                                java.util.HashMap<java.lang.String,java.lang.String> params)
Build a chart based on the given data and parameters

Parameters:
data - Data to use to compute the chart
title - Title to display on the chart
xAxisTitle -
yAxisTitle -
params - Parameters of the chart to build (implementation dependant).
Returns:
the JFreeChart representation of the chart.

getParameters

java.util.List<ParameterDescriptor> getParameters()
Return a list of parameters taht can be given to the plot method.

Returns:


Copyright © 2004-2006 Research Unit in Networking, All Rights Reserved.