Skip to content

VariableRefresh🔗

Options to config when to refresh a variable

0: Never refresh the variable

1: Queries the data source every time the dashboard loads.

2: Queries the data source when the dashboard time range changes.

Definition🔗

export enum VariableRefresh {
    Never = 0,
    OnDashboardLoad = 1,
    OnTimeRangeChanged = 2,
}