Interface Series

    • Method Detail

      • setName

        void setName​(String name)
        Sets the name of the series as shown in the legend, tooltip etc. Defaults to "".
        Parameters:
        name -
      • setConfiguration

        void setConfiguration​(Configuration configuration)
        Sets the configuration to which this series is linked.
        Parameters:
        configuration -
      • getPlotOptions

        AbstractPlotOptions getPlotOptions()
        Gets the plot options related to this specific series. This is needed e.g. in combined charts.
        Returns:
      • setPlotOptions

        void setPlotOptions​(AbstractPlotOptions plotOptions)
        Sets the plot options for this specific series. The type of the plot options also explicitly sets the chart type used when rendering this particular series. If plot options is null, the component wide chart type is used.

        Options that are not defined at this level will be inherited from the chart and theme levels.

        Parameters:
        plotOptions -
      • getId

        String getId()
        Returns:
        the series ID
      • setId

        void setId​(String id)
        Sets an id for the series
        Parameters:
        id - new ID to set