Interface LegendOptions.Builder

    • Method Detail

      • visibility

        LegendOptions.Builder visibility​(String visibility)

        Determines whether or not the legend is visible.

        Parameters:
        visibility - Determines whether or not the legend is visible.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Visibility, Visibility
      • visibility

        LegendOptions.Builder visibility​(Visibility visibility)

        Determines whether or not the legend is visible.

        Parameters:
        visibility - Determines whether or not the legend is visible.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Visibility, Visibility
      • title

        LegendOptions.Builder title​(LabelOptions title)

        The custom title for the legend.

        Parameters:
        title - The custom title for the legend.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • position

        LegendOptions.Builder position​(String position)

        The positions for the legend. Choose one of the following options:

        • AUTO

        • RIGHT

        • BOTTOM

        • LEFT

        Parameters:
        position - The positions for the legend. Choose one of the following options:

        • AUTO

        • RIGHT

        • BOTTOM

        • LEFT

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LegendPosition, LegendPosition
      • position

        LegendOptions.Builder position​(LegendPosition position)

        The positions for the legend. Choose one of the following options:

        • AUTO

        • RIGHT

        • BOTTOM

        • LEFT

        Parameters:
        position - The positions for the legend. Choose one of the following options:

        • AUTO

        • RIGHT

        • BOTTOM

        • LEFT

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LegendPosition, LegendPosition
      • width

        LegendOptions.Builder width​(String width)

        The width of the legend. If this value is omitted, a default width is used when rendering.

        Parameters:
        width - The width of the legend. If this value is omitted, a default width is used when rendering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • height

        LegendOptions.Builder height​(String height)

        The height of the legend. If this value is omitted, a default height is used when rendering.

        Parameters:
        height - The height of the legend. If this value is omitted, a default height is used when rendering.
        Returns:
        Returns a reference to this object so that method calls can be chained together.