Package PamView.chart
Class PamChart
java.lang.Object
PamView.chart.PamChart
- Direct Known Subclasses:
QAPamChart
Base class for PAMGurad chart, which can be projected into a graphics object -
either a bitmap or a screen component. Will ultimately be able to support fx as
well as swing since the renderer class are separate to the section holding
the actual data
This class is the one holding the data, make this, add all the data series and then render it using a ChartRenderer.
- Author:
- dg50
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSeries
(PamChartSeries newSeries) void
boolean
removeSeries
(PamChartSeries oldSeries) void
setChartTitle
(String chartTitle) void
setEastAxis
(PamAxis eastAxis) void
setNorthAxis
(PamAxis northAxis) void
setSouthAxis
(PamAxis southAxis) void
setWestAxis
(PamAxis westAxis)
-
Constructor Details
-
PamChart
- Parameters:
southAxis
-westAxis
-
-
-
Method Details
-
addSeries
-
removeSeries
-
clearSeries
public void clearSeries() -
getChartTitle
- Returns:
- the chartTitle
-
setChartTitle
- Parameters:
chartTitle
- the chartTitle to set
-
getWestAxis
- Returns:
- the westAxis
-
setWestAxis
- Parameters:
westAxis
- the westAxis to set
-
getSouthAxis
- Returns:
- the southAxis
-
setSouthAxis
- Parameters:
southAxis
- the southAxis to set
-
getNorthAxis
- Returns:
- the northAxis
-
setNorthAxis
- Parameters:
northAxis
- the northAxis to set
-
getEastAxis
- Returns:
- the eastAxis
-
setEastAxis
- Parameters:
eastAxis
- the eastAxis to set
-
getChartSeries
- Returns:
- the chartSeries
-