Dashboard schema: Review and mature graphTooltip property (#62082)

* Review and mature graphTooltip property of Dashboard kind

* Review
This commit is contained in:
Dominik Prokop
2023-01-25 03:40:53 -08:00
committed by GitHub
parent a6f0b69d6f
commit 5f6616ff3e
3 changed files with 8 additions and 4 deletions

View File

@@ -33,8 +33,9 @@ lineage: seqs: [
// Timezone of dashboard,
timezone?: *"browser" | "utc" | "" @grafanamaturity(NeedsExpertReview)
// Whether a dashboard is editable or not.
editable: bool | *true
graphTooltip: #DashboardCursorSync @grafanamaturity(NeedsExpertReview)
editable: bool | *true
// Configuration of dashboard cursor sync behavior.
graphTooltip: #DashboardCursorSync
// Time range for dashboard, e.g. last 6 hours, last 7 days, etc
time?: {
from: string | *"now-6h"
@@ -291,7 +292,7 @@ lineage: seqs: [
// 0 for no shared crosshair or tooltip (default).
// 1 for shared crosshair.
// 2 for shared crosshair AND shared tooltip.
#DashboardCursorSync: *0 | 1 | 2 @cuetsy(kind="enum",memberNames="Off|Crosshair|Tooltip") @grafanamaturity(NeedsExpertReview)
#DashboardCursorSync: *0 | 1 | 2 @cuetsy(kind="enum",memberNames="Off|Crosshair|Tooltip")
// Schema for panel targets is specified by datasource
// plugins. We use a placeholder definition, which the Go