Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Change the piechart-panel's type to 'piechart' #369

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion grafonnet/pie_chart_panel.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
repeatDirection=null,
maxPerRow=null,
):: {
type: 'grafana-piechart-panel',
type: 'piechart',
[if description != null then 'description']: description,
pieType: pieType,
title: title,
Expand Down
6 changes: 3 additions & 3 deletions tests/pie_chart_panel/test_compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"span": 12,
"targets": [ ],
"title": "test",
"type": "grafana-piechart-panel",
"type": "piechart",
"valueName": "current"
},
"basic": {
Expand All @@ -37,7 +37,7 @@
"span": 12,
"targets": [ ],
"title": "test",
"type": "grafana-piechart-panel",
"type": "piechart",
"valueName": "current"
},
"targets": {
Expand All @@ -63,7 +63,7 @@
}
],
"title": "with targets",
"type": "grafana-piechart-panel",
"type": "piechart",
"valueName": "current"
}
}