Skip to content

AnnotationQueryBuilder🔗

Constructor🔗

new AnnotationQueryBuilder()

Methods🔗

build🔗

Builds the object.

build()

builtIn🔗

builtIn(builtIn: boolean)

enable🔗

enable(enable: boolean)

filter🔗

filter(filter: cog.Builder<dashboardv2beta1.AnnotationPanelFilter>)

hide🔗

hide(hide: boolean)

iconColor🔗

iconColor(iconColor: string)

legacyOptions🔗

Catch-all field for datasource-specific properties. Should not be available in as code tooling.

legacyOptions(legacyOptions: Record<string, any>)

name🔗

name(name: string)

placement🔗

Placement can be used to display the annotation query somewhere else on the dashboard other than the default location.

placement(placement: "inControlsMenu")

query🔗

query(query: cog.Builder<dashboardv2beta1.DataQueryKind>)

spec🔗

spec(spec: cog.Builder<dashboardv2beta1.AnnotationQuerySpec>)

See also🔗