Class KPIOptions

    • Method Detail

      • progressBar

        public final ProgressBarOptions progressBar()

        The options that determine the presentation of the progress bar of a KPI visual.

        Returns:
        The options that determine the presentation of the progress bar of a KPI visual.
      • trendArrows

        public final TrendArrowOptions trendArrows()

        The options that determine the presentation of trend arrows in a KPI visual.

        Returns:
        The options that determine the presentation of trend arrows in a KPI visual.
      • secondaryValue

        public final SecondaryValueOptions secondaryValue()

        The options that determine the presentation of the secondary value of a KPI visual.

        Returns:
        The options that determine the presentation of the secondary value of a KPI visual.
      • comparison

        public final ComparisonConfiguration comparison()

        The comparison configuration of a KPI visual.

        Returns:
        The comparison configuration of a KPI visual.
      • primaryValueFontConfiguration

        public final FontConfiguration primaryValueFontConfiguration()

        The options that determine the primary value font configuration.

        Returns:
        The options that determine the primary value font configuration.
      • secondaryValueFontConfiguration

        public final FontConfiguration secondaryValueFontConfiguration()

        The options that determine the secondary value font configuration.

        Returns:
        The options that determine the secondary value font configuration.
      • sparkline

        public final KPISparklineOptions sparkline()

        The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.

        Returns:
        The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.
      • visualLayoutOptions

        public final KPIVisualLayoutOptions visualLayoutOptions()

        The options that determine the layout a KPI visual.

        Returns:
        The options that determine the layout a KPI visual.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)