Class TimeSeries

  • All Implemented Interfaces:
    IChart

    public class TimeSeries
    extends Object
    implements IChart
    A simple timeseries chart plotter.
    Author:
    Andrea Antonello (www.hydrologis.com)
    • Constructor Detail

      • TimeSeries

        public TimeSeries​(List<String> seriesNames,
                          List<long[]> times,
                          List<double[]> values)
      • TimeSeries

        public TimeSeries​(String title,
                          List<String> seriesNames,
                          List<long[]> times,
                          List<double[]> values)
    • Method Detail

      • setXLabel

        public void setXLabel​(String xLabel)
      • setYLabel

        public void setYLabel​(String yLabel)
      • setColors

        public void setColors​(Color[] colors)
      • setShowLines

        public void setShowLines​(List<Boolean> showLines)
      • setShowShapes

        public void setShowShapes​(List<Boolean> showShapes)
      • getChart

        public org.jfree.chart.JFreeChart getChart()
        Specified by:
        getChart in interface IChart