com.vaadin.flow.component.charts.model.style.

Class LabelStyle

    • Constructor Detail

      • LabelStyle

        public LabelStyle()
    • Method Detail

      • setColor

        public void setColor(Color color)

        Sets the color CSS attribute.

        Parameters:

        color -

      • setFontWeight

        public void setFontWeight(FontWeight fontWeight)

        Sets the font-weight CSS attribute.

        Parameters:

        fontWeight -

      • setFontFamily

        public void setFontFamily(String fontFamily)

        Sets the font-family CSS attribute.

        Parameters:

        fontFamily -

      • setFontSize

        public void setFontSize(String fontSize)

        Sets the font-size CSS attribute.

        Parameters:

        fontSize -

      • setLeft

        public void setLeft(String left)

        Sets the left CSS attribute

        Parameters:

        left -

      • setTop

        public void setTop(String top)

        Sets the top CSS attribute

        Parameters:

        top -

      • setPosition

        public void setPosition(StylePosition position)

        Sets the position CSS attribute

        Parameters:

        position -

      • setTextShadow

        public void setTextShadow(String textShadow)

        Sets the textShadow CSS attribute

        Parameters:

        textShadow -