Class ChartStyle

java.lang.Object
com.inet.report.chart.plot.ChartStyle
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AreaStyle, BarStyle, Chart3DStyle, com.inet.report.chart.plot.ContinuousStyle, GanttStyle, LineStyle, MultiplePieStyle, PieStyle, PolarStyle, StockStyle, XYStyle

public abstract class ChartStyle extends Object implements Serializable
A general class for all chart styles.
Since:
8.0
See Also:
  • Constructor Details

    • ChartStyle

      protected ChartStyle(String name)
      Set the name with this method.
      Parameters:
      name - of the chart style.
      Since:
      8.0
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getDefaultPlot

      public abstract AbstractPlot getDefaultPlot()
      Creates a default plot properly for this chart style.
      Returns:
      the plot.
      Since:
      8.0
      See Also:
    • getAllowedDatasets

      public abstract List getAllowedDatasets(Chart2 chart)
      Returns the list of dataset supported by this chart style.
      Parameters:
      chart - the chart
      Returns:
      the list of datasets.
      Since:
      8.0
      See Also: