|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.jstats.charts.xy.XYChart
The xyChart specifies the xyChart in DSOL.
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Field Summary | |
protected short |
axisType
the axis type of the chart |
protected org.jfree.chart.JFreeChart |
chart
chart refers to the chart |
protected XYDataset |
dataset
dataset refers to the dataset |
static java.lang.String |
LABEL_X_AXIS
LABEL_X_AXIS is the label on the X-axis |
static java.lang.String |
LABEL_Y_AXIS
LABEL_Y_AXIS is the label on the Y-axis |
static short |
XLINEAR_YLINEAR
x-axis is linear y-axis is linear |
static short |
XLINEAR_YLOGARITHMIC
x-axis is linear y-axis is logarithmic |
static short |
XLOGARITHMIC_YLINEAR
x-axis is logarithmic y-axis is linear |
static short |
XLOGARITHMIC_YLOGARITHMIC
x-axis is logarithmic y-axis is logarithmic |
| Constructor Summary | |
XYChart(java.lang.String title)
constructs a new XYChart |
|
XYChart(java.lang.String title,
double[] domain)
constructs a new XYChart |
|
XYChart(java.lang.String title,
double[] domain,
double[] range)
constructs a new XYChart |
|
XYChart(java.lang.String title,
double[] domain,
double[] range,
short axisType)
constructs a new XYChart |
|
XYChart(java.lang.String title,
double[] domain,
short axisType)
constructs a new XYChart |
|
XYChart(java.lang.String title,
short axisType)
constructs a new XYChart |
|
| Method Summary | |
void |
add(Persistent persistent)
adds a tally to the xyChart |
void |
add(java.lang.String description,
nl.tudelft.simulation.event.EventProducerInterface source,
nl.tudelft.simulation.event.EventType eventType)
adds an eventProducer to the xyChart |
org.jfree.chart.JFreeChart |
getChart()
returns the chart |
XYDataset |
getDataset()
returns the dataset of a xyChart |
java.awt.Container |
getSwingPanel()
returns the chartPanel of this xyChart |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final short XLINEAR_YLINEAR
public static final short XLINEAR_YLOGARITHMIC
public static final short XLOGARITHMIC_YLINEAR
public static final short XLOGARITHMIC_YLOGARITHMIC
public static final java.lang.String LABEL_X_AXIS
public static final java.lang.String LABEL_Y_AXIS
protected org.jfree.chart.JFreeChart chart
protected XYDataset dataset
protected short axisType
| Constructor Detail |
public XYChart(java.lang.String title)
title - the title
public XYChart(java.lang.String title,
short axisType)
title - the titleaxisType - the axisType
public XYChart(java.lang.String title,
double[] domain)
title - tht titledomain - the domain
public XYChart(java.lang.String title,
double[] domain,
short axisType)
title - tht titledomain - the domainaxisType - the axisType to use.
public XYChart(java.lang.String title,
double[] domain,
double[] range)
title - the titledomain - the domainrange - the range
public XYChart(java.lang.String title,
double[] domain,
double[] range,
short axisType)
title - the titledomain - the domainrange - the rangeaxisType - the type of the axsis| Method Detail |
public void add(Persistent persistent)
persistent - the persistent
public void add(java.lang.String description,
nl.tudelft.simulation.event.EventProducerInterface source,
nl.tudelft.simulation.event.EventType eventType)
throws java.rmi.RemoteException
description - the description of the eventProducersource - the souceeventType - the event
java.rmi.RemoteException - on network failurepublic org.jfree.chart.JFreeChart getChart()
public java.awt.Container getSwingPanel()
getSwingPanel in interface Swingablepublic XYDataset getDataset()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||