Class StandardPieSectionLabelGenerator

    • Field Detail

      • DEFAULT_SECTION_LABEL_FORMAT

        public static final String DEFAULT_SECTION_LABEL_FORMAT
        The default section label format.
        See Also:
        Constant Field Values
    • Constructor Detail

      • StandardPieSectionLabelGenerator

        public StandardPieSectionLabelGenerator()
        Creates a new section label generator using DEFAULT_SECTION_LABEL_FORMAT as the label format string, and platform default number and percentage formatters.
      • StandardPieSectionLabelGenerator

        public StandardPieSectionLabelGenerator​(Locale locale)
        Creates a new instance for the specified locale.
        Parameters:
        locale - the local (null not permitted).
        Since:
        1.0.7
      • StandardPieSectionLabelGenerator

        public StandardPieSectionLabelGenerator​(String labelFormat)
        Creates a new section label generator using the specified label format string, and platform default number and percentage formatters.
        Parameters:
        labelFormat - the label format (null not permitted).
      • StandardPieSectionLabelGenerator

        public StandardPieSectionLabelGenerator​(String labelFormat,
                                                Locale locale)
        Creates a new instance for the specified locale.
        Parameters:
        labelFormat - the label format (null not permitted).
        locale - the local (null not permitted).
        Since:
        1.0.7
      • StandardPieSectionLabelGenerator

        public StandardPieSectionLabelGenerator​(String labelFormat,
                                                NumberFormat numberFormat,
                                                NumberFormat percentFormat)
        Creates an item label generator using the specified number formatters.
        Parameters:
        labelFormat - the label format string (null not permitted).
        numberFormat - the format object for the values (null not permitted).
        percentFormat - the format object for the percentages (null not permitted).