jadex.application.space.envsupport.evaluation
Class XYChartDataConsumer
java.lang.Object
jadex.commons.SimplePropertyObject
jadex.application.space.envsupport.evaluation.AbstractChartDataConsumer
jadex.application.space.envsupport.evaluation.XYChartDataConsumer
- All Implemented Interfaces:
- ITableDataConsumer, IPropertyObject
public class XYChartDataConsumer
- extends AbstractChartDataConsumer
Create a X/Y chart consumer, x an y must be double values.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
seriesmap
protected Map seriesmap
- The series map.
XYChartDataConsumer
public XYChartDataConsumer()
- Create a new chart consumer.
createChart
protected org.jfree.chart.JFreeChart createChart()
- Create a chart with the underlying dataset.
- Specified by:
createChart in class AbstractChartDataConsumer
- Returns:
- The chart.
addValue
protected void addValue(Comparable seriesname,
Object valx,
Object valy,
DataTable data,
Object[] row)
- Add a value to a specific series of the chart.
- Specified by:
addValue in class AbstractChartDataConsumer
- Parameters:
seriesname - The series name.valx - The x value.valy - The y value.data - The data table.row - The current data row.
Copyright © 2010. All Rights Reserved.