Class LineChartPlotConfiguration.Builder

    • Method Detail

      • setAllowMaximize

        public LineChartPlotConfiguration.Builder setAllowMaximize​(java.lang.Boolean allowMaximize)
        Allow maximize capability for this widget
        Parameters:
        allowMaximize - New value for the property.
      • setCondition

        public LineChartPlotConfiguration.Builder setCondition​(java.lang.String condition)
        If the condition is met then the given chart config is applied to the widget configuration.
        Parameters:
        condition - New value for the property.
      • setFillGradientArea

        public LineChartPlotConfiguration.Builder setFillGradientArea​(java.lang.Boolean fillGradientArea)
        Fill the line chart area with a gradient series color.
        Parameters:
        fillGradientArea - New value for the property.
      • setNumOfSeriesToDisplay

        public LineChartPlotConfiguration.Builder setNumOfSeriesToDisplay​(java.lang.Long numOfSeriesToDisplay)
        Specifies the number of series to be displayed in a line chart. If no value is provided all the series will be displayed. format: int32
        Parameters:
        numOfSeriesToDisplay - New value for the property.
      • setShowCurvedLines

        public LineChartPlotConfiguration.Builder setShowCurvedLines​(java.lang.Boolean showCurvedLines)
        Used for displaying the curved lines for a series in a line chart. By default, straight line is used to for a series in a line chart.
        Parameters:
        showCurvedLines - New value for the property.
      • setShowDataInTooltip

        public LineChartPlotConfiguration.Builder setShowDataInTooltip​(java.lang.Boolean showDataInTooltip)
        Show the data in tooltip.
        Parameters:
        showDataInTooltip - New value for the property.
      • setShowDataPoints

        public LineChartPlotConfiguration.Builder setShowDataPoints​(java.lang.Boolean showDataPoints)
        Controls the visiblity of the data points on the line chart. If value is set to false data points wont be high- lighted on the lines.
        Parameters:
        showDataPoints - New value for the property.
      • setShowGridLines

        public LineChartPlotConfiguration.Builder setShowGridLines​(java.lang.Boolean showGridLines)
        Controls the visiblity of the grid lines in line chart.
        Parameters:
        showGridLines - New value for the property.
      • setShowGroupedTooltip

        public LineChartPlotConfiguration.Builder setShowGroupedTooltip​(java.lang.Boolean showGroupedTooltip)
        Controls the visiblity of the grouped tooltip in a line chart across all series.
        Parameters:
        showGroupedTooltip - New value for the property.
      • setShowMinMaxOnSeries

        public LineChartPlotConfiguration.Builder setShowMinMaxOnSeries​(java.lang.Boolean showMinMaxOnSeries)
        Controls the visiblity of the min and max value across line series in line chart.
        Parameters:
        showMinMaxOnSeries - New value for the property.
      • setShowUnitInTooltip

        public LineChartPlotConfiguration.Builder setShowUnitInTooltip​(java.lang.Boolean showUnitInTooltip)
        Show the data unit in tooltip.
        Parameters:
        showUnitInTooltip - New value for the property.
      • setSortDataInGroupedTooltip

        public LineChartPlotConfiguration.Builder setSortDataInGroupedTooltip​(java.lang.Boolean sortDataInGroupedTooltip)
        Sort the data in grouped tooltip.
        Parameters:
        sortDataInGroupedTooltip - New value for the property.
      • setSortSeries

        public LineChartPlotConfiguration.Builder setSortSeries​(java.lang.Boolean sortSeries)
        Specifies whether the series should be sorted by the latest data point.
        Parameters:
        sortSeries - New value for the property.