public class EnergyCostChartOverview
extends java.lang.Object
Constructor and Description |
---|
EnergyCostChartOverview()
Deprecated.
Just for the use of the WindowBuilder
|
EnergyCostChartOverview(java.lang.String title,
OptionModelController optionModelController)
Instantiates a new energy cost chart.
|
Modifier and Type | Method and Description |
---|---|
void |
drawCostFunction()
Draws the current cost function.
|
org.jfree.chart.JFreeChart |
getChart()
Gets the chart.
|
void |
setChartXDateFormat(java.lang.String newTimeFormat)
Sets the chart x-axis date format.
|
void |
setChartXLabel(java.lang.String newLabel) |
void |
setChartYLabel(java.lang.String newLabel) |
@Deprecated public EnergyCostChartOverview()
public EnergyCostChartOverview(java.lang.String title, OptionModelController optionModelController)
title
- the titleoptionModelController
- the option model controllerpublic org.jfree.chart.JFreeChart getChart()
public void drawCostFunction()
public void setChartXLabel(java.lang.String newLabel)
public void setChartYLabel(java.lang.String newLabel)
public void setChartXDateFormat(java.lang.String newTimeFormat)
newTimeFormat
- the new time format used with a SimpleDateFormat