public class MeasurementChart
extends java.lang.Object
InputMeasurement.| Constructor and Description |
|---|
MeasurementChart()
Deprecated.
Just for the use of the WindowBuilder
|
MeasurementChart(java.lang.String title,
OptionModelController optionModelController,
SystemVariableDefinition sysVarDef)
Instantiates a new energy flow chart.
|
| Modifier and Type | Method and Description |
|---|---|
void |
drawInputMeasurement()
Draws the current cost function.
|
org.jfree.chart.JFreeChart |
getChart()
Gets the chart.
|
void |
setChartTitle(java.lang.String title)
Sets the chart title.
|
void |
setChartXDateFormat(java.lang.String newTimeFormat)
Sets the chart x-axis date format.
|
void |
setChartYLabel(java.lang.String newLabel)
Sets the chart y label.
|
void |
setRenderer(GlobalInfo.ChartRenderer rendererType)
Sets the renderer type for the plot.
|
@Deprecated public MeasurementChart()
public MeasurementChart(java.lang.String title,
OptionModelController optionModelController,
SystemVariableDefinition sysVarDef)
title - the titleoptionModelController - the option model controllersysVarDef - the SystemVariableDefinitionpublic org.jfree.chart.JFreeChart getChart()
public void setRenderer(GlobalInfo.ChartRenderer rendererType)
rendererType - the new rendererGlobalInfo.ChartRendererpublic void setChartTitle(java.lang.String title)
title - the new chart titlepublic void setChartYLabel(java.lang.String newLabel)
newLabel - the new chart y labelpublic void setChartXDateFormat(java.lang.String newTimeFormat)
newTimeFormat - the new time format used with a SimpleDateFormatpublic void drawInputMeasurement()