Class AreaStyle

java.lang.Object
com.inet.report.chart.plot.ChartStyle
com.inet.report.chart.plot.AreaStyle
All Implemented Interfaces:
Serializable

public class AreaStyle extends ChartStyle
This class defines the different styles for the area chart. This style belongs to the plot AreaPlot.
Since:
8.0
See Also:
  • Field Details

    • AREA2D_STACKED

      public static final AreaStyle AREA2D_STACKED
      This is a 2D area style with stacked values.
    • AREA2D_PERCENT

      public static final AreaStyle AREA2D_PERCENT
      This is a 2D area style with percent values.
    • AREA3D_STACKED

      public static final AreaStyle AREA3D_STACKED
      This is a 3D area style with stacked values.
    • AREA3D_PERCENT

      public static final AreaStyle AREA3D_PERCENT
      This is a 3D area style with percent values.
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ChartStyle
    • getDefaultPlot

      public AbstractPlot getDefaultPlot()
      Creates a new area plot and initializes the plot with default settings.
      Specified by:
      getDefaultPlot in class ChartStyle
      Returns:
      the plot of type AreaPlot.
      Since:
      8.0
      See Also:
    • getAllowedDatasets

      public List getAllowedDatasets(Chart2 chart)
      Returns the list of dataset supported by this chart style.
      Specified by:
      getAllowedDatasets in class ChartStyle
      Parameters:
      chart - the chart
      Returns:
      the list of datasets.
      See Also:
    • isPercentArea

      public boolean isPercentArea()
      Returns this is a 2D or 3D percent area style.
      Returns:
      is a percent style.
      Since:
      8.0
    • isStackedArea

      public boolean isStackedArea()
      Returns this is a 2D or 3D stacked area style.
      Returns:
      is a stacked style.
      Since:
      8.0