Class JRDesignItemLabel

    • Constructor Detail

      • JRDesignItemLabel

        public JRDesignItemLabel​(JRItemLabel itemLabel,
                                 JRChart chart)
        Constructs a new item label that is a copy of an existing one.
        Parameters:
        itemLabel - the item label to copy
    • Method Detail

      • setColor

        public void setColor​(Color color)
        Sets the color to use when displaying the value.
        Parameters:
        color - the color to use when displaying the value
      • setBackgroundColor

        public void setBackgroundColor​(Color backgroundColor)
        Sets the background color to use when displaying the value.
        Parameters:
        backgroundColor - the background color to use when displaying the value
      • setFont

        public void setFont​(JRFont font)
        Sets the font to use when displaying the value.
        Parameters:
        font - the font to use when displaying the value