Interface ChartSettingsBuilder<T extends ChartSettingsBuilder>

    • Method Detail

      • width

        T width​(int width)
        Sets the width of the chart.
        Parameters:
        width - The width of the chart.
        Returns:
        The DisplayerSettingsBuilder instance that is being used to configure a Chart data displayer.
      • height

        T height​(int height)
        Sets the height of the chart.
        Parameters:
        height - The height of the chart.
        Returns:
        The DisplayerSettingsBuilder instance that is being used to configure a Chart data displayer.
      • margins

        T margins​(int top,
                  int bottom,
                  int left,
                  int right)
        Set the margins for this chart.
        Parameters:
        top - The top margin.
        bottom - The bottom margin.
        left - The left margin.
        right - The right margin.
        Returns:
        The DisplayerSettingsBuilder instance that is being used to configure a Chart data displayer.
      • legendOff

        T legendOff()
        Hides off the char legend.
        Returns:
        The DisplayerSettingsBuilder instance that is being used to configure a Chart data displayer.
      • legendOn

        T legendOn​(String position)
        Turns on the char legend display.
        Parameters:
        position - The display position.
        Returns:
        The DisplayerSettingsBuilder instance that is being used to configure a Chart data displayer.
      • legendOn

        T legendOn​(Position position)
      • resizableOn

        T resizableOn​(int maxWidth,
                      int maxHeight)
        Set the chart as resizable, it can change its size from the original one, defined by width and height attributes.
        Parameters:
        maxWidth - The maximum width value.
        maxHeight - The maximum height value.
        Returns:
        The DisplayerSettingsBuilder instance that is being used to configure a Chart data displayer.
      • resizableOff

        T resizableOff()
        Set the chart as no resizable, it cannot change its size from the original one, defined by width and height attributes.
        Returns:
        The DisplayerSettingsBuilder instance that is being used to configure a Chart data displayer.