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 Link icon

    • PamChart Link icon

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

    • addSeries Link icon

      public void addSeries(PamChartSeries newSeries)
    • removeSeries Link icon

      public boolean removeSeries(PamChartSeries oldSeries)
    • clearSeries Link icon

      public void clearSeries()
    • getChartTitle Link icon

      public String getChartTitle()
      Returns:
      the chartTitle
    • setChartTitle Link icon

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

      public PamAxis getWestAxis()
      Returns:
      the westAxis
    • setWestAxis Link icon

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

      public PamAxis getSouthAxis()
      Returns:
      the southAxis
    • setSouthAxis Link icon

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

      public PamAxis getNorthAxis()
      Returns:
      the northAxis
    • setNorthAxis Link icon

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

      public PamAxis getEastAxis()
      Returns:
      the eastAxis
    • setEastAxis Link icon

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

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