Class DataLabelsOptionsBuilder

    • Method Detail

      • create

        public static DataLabelsOptionsBuilder create​(IsChart chart)
        Returns new builder instance using the chart global options.
        Parameters:
        chart - chart instance related to the plugin options
        Returns:
        new builder instance
      • build

        public DataLabelsOptions build()
        Returns a configured labels options.
        Returns:
        a configured labels options.
      • createLabel

        public LabelItemBuilder createLabel​(String id)
        Returns new options builder for new label identified by id.
        Parameters:
        id - id of the new label item
        Returns:
        new options builder for new label identified by id
      • createLabel

        public LabelItemBuilder createLabel​(DataLabelId id)
        Returns new options builder for new label identified by id.
        Parameters:
        id - id of the new label item
        Returns:
        new options builder for new label identified by id
      • getLabel

        public LabelItemBuilder getLabel​(String id)
        Returns the options builder for label identified by id.
        Parameters:
        id - id of the options
        Returns:
        the options builder for label identified by id
      • getLabel

        public LabelItemBuilder getLabel​(DataLabelId id)
        Returns the options builder for label identified by id
        Parameters:
        id - id of the options
        Returns:
        the options builder for label identified by id