Class LinePlot

  • All Implemented Interfaces:
    ChartPlot, java.io.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:
    Serialized Form
    • Field Detail

      • DEFAULT_STYLE

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

      • LinePlot

        public LinePlot()
        Creates a line plot with default line style.
        Since:
        8.0
        See Also:
        DEFAULT_STYLE
      • 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:
        LineStyle
    • Method Detail

      • 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:
        StandardPlot.getCategoryAxis(), GroupAxis
      • 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:
        getStyle(), LineStyle