Package repast.simphony.chart2.engine
Class ChartDescriptor
java.lang.Object
repast.simphony.scenario.AbstractDescriptor
repast.simphony.chart2.engine.ChartDescriptor
- All Implemented Interfaces:
Descriptor
- Direct Known Subclasses:
HistogramChartDescriptor
,TimeSeriesChartDescriptor
- Author:
- Nick Collier
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected Color
protected String
protected String
protected Color
protected boolean
protected boolean
protected ChartDescriptor.ChartType
protected String
protected String
Fields inherited from class repast.simphony.scenario.AbstractDescriptor
scs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setBackground
(Color background) void
setChartTitle
(String chartTitle) void
setDataSet
(String dataSet) void
setGridLineColor
(Color gridLineColor) void
setShowGrid
(boolean showGrid) void
setShowLegend
(boolean val) void
setXAxisLabel
(String xAxisLabel) void
setYAxisLabel
(String yAxisLabel) Methods inherited from class repast.simphony.scenario.AbstractDescriptor
addScenarioChangedListener, getName, readResolve, setName
-
Field Details
-
dataSet
-
xAxisLabel
-
yAxisLabel
-
chartTitle
-
type
-
background
-
gridLineColor
-
showGrid
protected boolean showGrid -
showLegend
protected boolean showLegend
-
-
Constructor Details
-
ChartDescriptor
protected ChartDescriptor() -
ChartDescriptor
-
-
Method Details
-
getBackground
- Returns:
- the background
-
setBackground
- Parameters:
background
- the background to set
-
getGridLineColor
- Returns:
- the gridLineColor
-
setGridLineColor
- Parameters:
gridLineColor
- the gridLineColor to set
-
isShowGrid
public boolean isShowGrid()- Returns:
- the showGrid
-
setShowGrid
public void setShowGrid(boolean showGrid) - Parameters:
showGrid
- the showGrid to set
-
getDataSet
- Returns:
- the dataSet
-
setDataSet
- Parameters:
dataSet
- the dataSet to set
-
getXAxisLabel
- Returns:
- the xAxisLabel
-
setXAxisLabel
- Parameters:
xAxisLabel
- the xAxisLabel to set
-
getYAxisLabel
- Returns:
- the yAxisLabel
-
setYAxisLabel
- Parameters:
yAxisLabel
- the yAxisLabel to set
-
getChartTitle
- Returns:
- the chartTitle
-
setChartTitle
- Parameters:
chartTitle
- the chartTitle to set
-
doShowLegend
public boolean doShowLegend() -
setShowLegend
public void setShowLegend(boolean val)
-