be.ac.ulg.montefiore.run.totem.chart.model.plotters
Class DecreasingLineChartPlotter
java.lang.Object
be.ac.ulg.montefiore.run.totem.chart.model.plotters.DecreasingLineChartPlotter
- All Implemented Interfaces:
- ChartPlotter
public class DecreasingLineChartPlotter
- extends java.lang.Object
- implements ChartPlotter
This class is used to plot a line graph where all values in a series are sorted.
The plotted point with the highest Y coordinate has the smallest X coordinate, so that the chart represent a decreasing line.
A typical use is to represent the links of a domain on the X axis and the load for each link on the Y axis.
Creation date: 20 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 the chart and return the JFreeChart representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecreasingLineChartPlotter
public DecreasingLineChartPlotter()
plot
public 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 the chart and return the JFreeChart representation.
- Specified by:
plot
in interface ChartPlotter
- Parameters:
data
- Data to use to compute the charttitle
- Title to display on the chartxAxisTitle
- yAxisTitle
- params
- no parameters used
- Returns:
getParameters
public java.util.List<ParameterDescriptor> getParameters()
- Description copied from interface:
ChartPlotter
- Return a list of parameters taht can be given to the plot method.
- Specified by:
getParameters
in interface ChartPlotter
- Returns:
Copyright © 2004-2006 Research Unit in Networking, All Rights Reserved.