Class CategoryChartDataConsumer
- java.lang.Object
- 
- jadex.commons.SimplePropertyObject
- 
- jadex.extension.envsupport.evaluation.AbstractChartDataConsumer
- 
- jadex.extension.envsupport.evaluation.CategoryChartDataConsumer
 
 
 
- 
- All Implemented Interfaces:
- IPropertyObject,- ITableDataConsumer
 
 public class CategoryChartDataConsumer extends AbstractChartDataConsumer Create a category chart consumer, x must be a comparable and y must be double value.
- 
- 
Field Summary- 
Fields inherited from class jadex.extension.envsupport.evaluation.AbstractChartDataConsumerchart
 - 
Fields inherited from class jadex.commons.SimplePropertyObjectpcs, properties
 
- 
 - 
Constructor SummaryConstructors Constructor Description CategoryChartDataConsumer()Create a new chart consumer.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddValue(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 org.jfree.chart.JFreeChartcreateChart()Create a chart with the underlying dataset.- 
Methods inherited from class jadex.extension.envsupport.evaluation.AbstractChartDataConsumerconsumeData, getChart, getChartPanel, getResourceInfo, getSpace, getTableDataProvider, getValues, refresh
 - 
Methods inherited from class jadex.commons.SimplePropertyObjectaddPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface jadex.commons.IPropertyObjectgetProperty, getPropertyNames, hasProperty, setProperty
 
- 
 
- 
- 
- 
Method Detail- 
createChartprotected org.jfree.chart.JFreeChart createChart() Create a chart with the underlying dataset.- Specified by:
- createChartin class- AbstractChartDataConsumer
- Returns:
- The chart.
 
 - 
addValueprotected 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.- Specified by:
- addValuein class- AbstractChartDataConsumer
- Parameters:
- seriesname- The series name.
- valx- The x value.
- valy- The y value.
- data- The data table.
- row- The current data row.
 
 
- 
 
-