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

Class TargetOptions

    • Constructor Detail

      • TargetOptions

        public TargetOptions()
    • Method Detail

      • setBorderColor

        public void setBorderColor(Color borderColor)

        Can set a borderColor of the rectangle representing the target. When not set, the point's border color is used.

      • setBorderWidth

        public void setBorderWidth(Number borderWidth)

        Can set the borderWidth of the rectangle representing the target.

        Defaults to: 0

      • setColor

        public void setColor(Color color)

        Can set a color of the rectangle representing the target. When not set, point's color (if set in point's options - color) or zone of the target value (if zones or negativeColor are set) or the same color as the point has is used.

      • setHeight

        public void setHeight(String height)

        The height of the rectangle representing the target.

        Defaults to: 3

      • setWidth

        public void setWidth(String width)

        The width of the rectangle representing the target. Could be set as a pixel value or as a percentage of a column width.

        Defaults to: 140%