nl.tudelft.simulation.jstats.charts.boxAndWhisker
Class BoxAndWhiskerChart

java.lang.Object
  extended by nl.tudelft.simulation.jstats.charts.boxAndWhisker.BoxAndWhiskerChart
All Implemented Interfaces:
Swingable

public class BoxAndWhiskerChart
extends Object
implements Swingable

The summaryuChart specifies a summaryChart.
(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:25:43 $
Author:
Peter Jacobs , Alexander Verbraeck

Field Summary
static Font TITLE_FONT
          TITLE_FONT refers to the font to be used for the title of the plot
 
Constructor Summary
BoxAndWhiskerChart(String title)
          constructs a new BoxAndWhiskerChart
 
Method Summary
 void add(Tally tally)
          adds a tally to the chart
 JFreeChart getChart()
          returns the chart
 double getConfidenceInterval()
          Returns the confidence interval of the BoxAndWhiskerPlot
 Container getSwingPanel()
          returns the swing panel of this chart
 void setConfidenceInterval(double confidenceInterval)
          sets the confidence interval of the plot.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TITLE_FONT

public static final Font TITLE_FONT
TITLE_FONT refers to the font to be used for the title of the plot

Constructor Detail

BoxAndWhiskerChart

public BoxAndWhiskerChart(String title)
constructs a new BoxAndWhiskerChart

Parameters:
title - the title of the chart
Method Detail

add

public void add(Tally tally)
adds a tally to the chart

Parameters:
tally - the tally to be added

getChart

public JFreeChart getChart()
returns the chart

Returns:
JFreeChart

getSwingPanel

public Container getSwingPanel()
returns the swing panel of this chart

Specified by:
getSwingPanel in interface Swingable
Returns:
Container the swing panel

getConfidenceInterval

public double getConfidenceInterval()
Returns the confidence interval of the BoxAndWhiskerPlot

Returns:
the confidence interval of the BoxAndWhiskerPlot

setConfidenceInterval

public void setConfidenceInterval(double confidenceInterval)
sets the confidence interval of the plot. The default value = 0.05 (=5%)

Parameters:
confidenceInterval - the confidence interval


Copyright © 2002-2011 Delft University of Technology, the Netherlands. All Rights Reserved.