We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grafana version: 8.4.1 I create a dashboard and an empty timeseries pannel:
`board := sdk.NewBoard(d.DashName) board.Time.From = "now-15m" board.Time.To = "now"
panel := sdk.NewTimeseries("empty panel") panel.Editable = true
board.Panels = append(board.Panels, panel) dashRes, err := c.SetDashboard(ctx,*board, sdk.SetDashboardParams{ Overwrite: false, })`
after i create it , I can see it in grafana, but when i edit the pannel, failed:
The text was updated successfully, but these errors were encountered:
I had a similar issue. It was missing TimeseriesOptions. Fixed it by adding some values, for example:
panel.TimeseriesPanel.Options = sdk.TimeseriesOptions{ Legend: sdk.TimeseriesLegendOptions{Calcs: []string{}, DisplayMode: "list", Placement: "bottom"}, Tooltip: sdk.TimeseriesTooltipOptions{Mode: "single"}, }
Sorry, something went wrong.
No branches or pull requests
grafana version: 8.4.1
I create a dashboard and an empty timeseries pannel:
`board := sdk.NewBoard(d.DashName)
board.Time.From = "now-15m"
board.Time.To = "now"
panel := sdk.NewTimeseries("empty panel")
panel.Editable = true
board.Panels = append(board.Panels, panel)
dashRes, err := c.SetDashboard(ctx,*board, sdk.SetDashboardParams{
Overwrite: false,
})`
after i create it , I can see it in grafana, but when i edit the pannel, failed:
The text was updated successfully, but these errors were encountered: