Class SimpleLineChart

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SimpleLineChart extends JPanel
See Also:
  • Constructor Details

    • SimpleLineChart

      public SimpleLineChart()
  • Method Details

    • addLinkedChart

      public void addLinkedChart(SimpleLineChart chart)
    • setLabelFormatter

      public void setLabelFormatter(Function<double[],String[]> labelFormatter)
    • setMaxPoints

      public void setMaxPoints(int maxPoints)
    • setChartColor

      public void setChartColor(Color color)
    • addPoint

      public void addPoint(double x, double y)
    • clear

      public void clear()
    • setXLimits

      public void setXLimits(double min, double max)
    • setYLimits

      public void setYLimits(double min, double max)
    • paintComponent

      protected void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent