|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.chart.model.plotters.LoadIntervalChartPlotter
public class LoadIntervalChartPlotter
This class is used to build an interval graph.
The interval 0-maxValue is divided in a number of disjoint sets (correponding to the nbInterval
parameter.
For each of these sets, a bar is represented. The height of the bar corresponds to the frequency of the data for the
considerated set. If some values are superior to maxValue, an extra category is added.
A typical use of this chart is to represent the relative load of the links of a domain. X Axis represent the load categories (ex: 0%-33%, 33%-66%, 66%-100%). Y axis is the relative number of links that match the load category.
Creation date: 19 déc. 2005
Constructor Summary | |
---|---|
LoadIntervalChartPlotter()
|
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 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 |
Constructor Detail |
---|
public LoadIntervalChartPlotter()
Method Detail |
---|
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)
plot
in interface ChartPlotter
data
- Data to use to compute the charttitle
- Title to display on the chartxAxisTitle
- yAxisTitle
- params
- (nbInterval, maxValue)
public java.util.List<ParameterDescriptor> getParameters()
ChartPlotter
getParameters
in interface ChartPlotter
public java.lang.String getDefaultXAxisTitle()
ChartPlotter
getDefaultXAxisTitle
in interface ChartPlotter
public java.lang.String getDefaultYAxisTitle()
ChartPlotter
getDefaultYAxisTitle
in interface ChartPlotter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |