You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.charts.model.style.

Class Style

    • Constructor Detail

      • Style

        public Style()
    • 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 -

      • setLineHeight

        public void setLineHeight​(String lineHeight)

        Sets the line-height CSS attribute

      • setTextShadow

        public void setTextShadow​(String textShadow)

        Sets the textShadow CSS attribute

        Parameters:

        textShadow -