Class LinePlot

java.lang.Object
com.inet.report.chart.plot.AbstractPlot
com.inet.report.chart.plot.StandardPlot
com.inet.report.chart.plot.AbstractLinePlot
com.inet.report.chart.plot.LinePlot
All Implemented Interfaces:
ChartPlot, Serializable

public class LinePlot extends com.inet.report.chart.plot.AbstractLinePlot
A general class for plotting data of groups of values. This plot can use data from any class that implements the BaseDataset interface.
Since:
8.0
See Also:
  • Field Details

    • DEFAULT_STYLE

      public static final LineStyle DEFAULT_STYLE
      Default chart style of this plot.
  • Constructor Details

    • LinePlot

      public LinePlot()
      Creates a line plot with default line style.
      Since:
      8.0
      See Also:
    • LinePlot

      public LinePlot(LineStyle style)
      Creates a line plot with defined chart style. Initializes all properties with default values.
      Parameters:
      style - the chart style (null not permitted)
      Since:
      8.0
      See Also:
  • Method Details

    • setCategoryAxis

      public void setCategoryAxis(GroupAxis categoryAxis)
      Sets the category axis of this plot. The category axis shows the values of the first group field.
      Parameters:
      categoryAxis - the category axis (null not permitted)
      Since:
      8.0
      See Also:
    • setDataAxis

      public void setDataAxis(ContinuousNumberAxis dataAxis)
      Sets the data axis of this plot. The data axis shows the summarized values of the data fields.
      Parameters:
      dataAxis - the data axis (null not permitted)
      Since:
      8.0
      See Also:
    • getStyle

      public ChartStyle getStyle()
      Returns the style of this chart, ie. the general category this plot belongs to.
      Specified by:
      getStyle in class com.inet.report.chart.plot.AbstractLinePlot
      Returns:
      the style
      See Also:
    • setStyle

      public void setStyle(LineStyle style)
      Sets the chart style of this plot.
      Parameters:
      style - the style (null not permitted)
      Since:
      8.0
      See Also: