Class ChartStyle

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ChartStyle​(java.lang.String name)
      Set the name with this method.
    • Constructor Detail

      • ChartStyle

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

      • toString

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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

        public abstract java.util.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:
        Chart2