public class HistogramDataConsumer extends AbstractChartDataConsumer
chart
pcs, properties
Constructor and Description |
---|
HistogramDataConsumer()
Create a new chart consumer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addValue(java.lang.Comparable seriesname,
java.lang.Object valx,
java.lang.Object valy,
DataTable data,
java.lang.Object[] row)
Add a value to a specific series of the chart.
|
protected JFreeChart |
createChart()
Create a chart with the underlying dataset.
|
consumeData, getChart, getChartPanel, getResourceInfo, getSpace, getTableDataProvider, getValues, refresh
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty, getPropertyNames, hasProperty, setProperty
public HistogramDataConsumer()
protected JFreeChart createChart()
createChart
in class AbstractChartDataConsumer
protected void addValue(java.lang.Comparable seriesname, java.lang.Object valx, java.lang.Object valy, DataTable data, java.lang.Object[] row)
addValue
in class AbstractChartDataConsumer
seriesname
- The series name.valx
- The x value.valy
- The y value.data
- The data table.row
- The current data row.