Package | Description |
---|---|
org.jfree.chart.plot |
Plot classes and related interfaces.
|
org.jfree.chart.plot.dial |
Classes for creating dial plots.
|
org.jfree.data.general |
Data interfaces and classes.
|
Modifier and Type | Method and Description |
---|---|
ValueDataset |
ThermometerPlot.getDataset()
Returns the dataset for the plot.
|
ValueDataset |
MeterPlot.getDataset()
Returns the dataset for the plot.
|
ValueDataset[] |
CompassPlot.getDatasets()
Returns an array of dataset references for the plot.
|
Modifier and Type | Method and Description |
---|---|
void |
CompassPlot.addDataset(ValueDataset dataset)
Adds a dataset to the compass.
|
void |
CompassPlot.addDataset(ValueDataset dataset,
MeterNeedle needle)
Adds a dataset to the compass.
|
void |
ThermometerPlot.setDataset(ValueDataset dataset)
Sets the dataset for the plot, replacing the existing dataset if there
is one, and sends a
PlotChangeEvent to all registered listeners. |
void |
MeterPlot.setDataset(ValueDataset dataset)
Sets the dataset for the plot, replacing the existing dataset if there
is one, and triggers a
PlotChangeEvent . |
Constructor and Description |
---|
CompassPlot(ValueDataset dataset)
Constructs a new compass plot.
|
MeterPlot(ValueDataset dataset)
Creates a new plot that displays the value from the supplied dataset.
|
ThermometerPlot(ValueDataset dataset)
Creates a new thermometer plot, using default attributes where necessary.
|
Modifier and Type | Method and Description |
---|---|
ValueDataset |
DialPlot.getDataset()
Returns the primary dataset for the plot.
|
ValueDataset |
DialPlot.getDataset(int index)
Returns the dataset at the given index.
|
Modifier and Type | Method and Description |
---|---|
void |
DialPlot.setDataset(int index,
ValueDataset dataset)
Sets a dataset for the plot.
|
void |
DialPlot.setDataset(ValueDataset dataset)
Sets the dataset for the plot, replacing the existing dataset, if there
is one, and sends a
PlotChangeEvent to all registered
listeners. |
Constructor and Description |
---|
DialPlot(ValueDataset dataset)
Creates a new instance of
DialPlot . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultValueDataset
A dataset that stores a single value (that is possibly
null ). |