mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard schema: Review and mature graphTooltip property (#62082)
* Review and mature graphTooltip property of Dashboard kind * Review
This commit is contained in:
parent
a6f0b69d6f
commit
5f6616ff3e
@ -34,7 +34,8 @@ lineage: seqs: [
|
||||
timezone?: *"browser" | "utc" | "" @grafanamaturity(NeedsExpertReview)
|
||||
// Whether a dashboard is editable or not.
|
||||
editable: bool | *true
|
||||
graphTooltip: #DashboardCursorSync @grafanamaturity(NeedsExpertReview)
|
||||
// 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
|
||||
|
@ -651,6 +651,9 @@ export interface Dashboard {
|
||||
*/
|
||||
fiscalYearStartMonth?: number;
|
||||
gnetId?: string;
|
||||
/**
|
||||
* Configuration of dashboard cursor sync behavior.
|
||||
*/
|
||||
graphTooltip: DashboardCursorSync;
|
||||
/**
|
||||
* Unique numeric identifier for the dashboard.
|
||||
|
@ -283,7 +283,7 @@
|
||||
0,
|
||||
0
|
||||
],
|
||||
"grafanaMaturityCount": 144,
|
||||
"grafanaMaturityCount": 142,
|
||||
"lineageIsGroup": false,
|
||||
"links": {
|
||||
"docs": "https://grafana.com/docs/grafana/next/developers/kinds/core/dashboard/schema-reference",
|
||||
|
Loading…
Reference in New Issue
Block a user