Skip to content

IntervalVariable🔗

Constructor🔗

IntervalVariable(name: str)

Methods🔗

build🔗

Builds the object.

def build() -> dashboard.VariableModel

current🔗

Shows current selected variable text/value on the dashboard

def current(current: dashboard.VariableOption) -> typing.Self

description🔗

Description of variable. It can be defined but null.

def description(description: str) -> typing.Self

hide🔗

Visibility configuration for the variable

def hide(hide: dashboard.VariableHide) -> typing.Self

label🔗

Optional display name

def label(label: str) -> typing.Self

name🔗

Name of variable

def name(name: str) -> typing.Self

options🔗

Options that can be selected for a variable.

def options(options: list[dashboard.VariableOption]) -> typing.Self

values🔗

Query used to fetch values for a variable

def values(query: typing.Union[str, dict[str, object]]) -> typing.Self

See also🔗