Define a conditional format for the widget.

Hierarchy

  • WidgetConditionalFormat

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
comparator: WidgetComparator

Comparator to apply.

customBgColor?: string

Color palette to apply to the background, same values available as palette.

customFgColor?: string

Color palette to apply to the foreground, same values available as palette.

hideValue?: boolean

True hides values.

imageUrl?: string

Displays an image as the background.

metric?: string

Metric from the request to correlate this conditional format with.

palette: WidgetPalette

Color palette to apply.

timeframe?: string

Defines the displayed timeframe.

value: number

Value for the comparator.

Generated using TypeDoc