Package PamView.chart

Class PamChart

java.lang.Object
PamView.chart.PamChart
Direct Known Subclasses:
QAPamChart

public class PamChart extends Object
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 Details

    • PamChart

      public PamChart(PamAxis southAxis, PamAxis westAxis)
      Parameters:
      southAxis -
      westAxis -
  • Method Details

    • addSeries

      public void addSeries(PamChartSeries newSeries)
    • removeSeries

      public boolean removeSeries(PamChartSeries oldSeries)
    • clearSeries

      public void clearSeries()
    • getChartTitle

      public String getChartTitle()
      Returns:
      the chartTitle
    • setChartTitle

      public void setChartTitle(String chartTitle)
      Parameters:
      chartTitle - the chartTitle to set
    • getWestAxis

      public PamAxis getWestAxis()
      Returns:
      the westAxis
    • setWestAxis

      public void setWestAxis(PamAxis westAxis)
      Parameters:
      westAxis - the westAxis to set
    • getSouthAxis

      public PamAxis getSouthAxis()
      Returns:
      the southAxis
    • setSouthAxis

      public void setSouthAxis(PamAxis southAxis)
      Parameters:
      southAxis - the southAxis to set
    • getNorthAxis

      public PamAxis getNorthAxis()
      Returns:
      the northAxis
    • setNorthAxis

      public void setNorthAxis(PamAxis northAxis)
      Parameters:
      northAxis - the northAxis to set
    • getEastAxis

      public PamAxis getEastAxis()
      Returns:
      the eastAxis
    • setEastAxis

      public void setEastAxis(PamAxis eastAxis)
      Parameters:
      eastAxis - the eastAxis to set
    • getChartSeries

      public ArrayList<PamChartSeries> getChartSeries()
      Returns:
      the chartSeries