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.lang.String getDefaultXAxisTitle()
          returns the default value for the X axis
 java.lang.String getDefaultYAxisTitle()
          returns the default value for the Y axis
 java.util.List<ParameterDescriptor> getParameters()
          Return a list of parameters that 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 that can be given to the plot method.

Returns:

getDefaultXAxisTitle

java.lang.String getDefaultXAxisTitle()
returns the default value for the X axis

Returns:

getDefaultYAxisTitle

java.lang.String getDefaultYAxisTitle()
returns the default value for the Y axis

Returns:


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