diff --git a/grafonnet/pie_chart_panel.libsonnet b/grafonnet/pie_chart_panel.libsonnet index 11719e10..26805ca8 100644 --- a/grafonnet/pie_chart_panel.libsonnet +++ b/grafonnet/pie_chart_panel.libsonnet @@ -41,7 +41,7 @@ repeatDirection=null, maxPerRow=null, ):: { - type: 'grafana-piechart-panel', + type: 'piechart', [if description != null then 'description']: description, pieType: pieType, title: title, diff --git a/tests/pie_chart_panel/test_compiled.json b/tests/pie_chart_panel/test_compiled.json index ca0be8dc..4f28bad6 100644 --- a/tests/pie_chart_panel/test_compiled.json +++ b/tests/pie_chart_panel/test_compiled.json @@ -20,7 +20,7 @@ "span": 12, "targets": [ ], "title": "test", - "type": "grafana-piechart-panel", + "type": "piechart", "valueName": "current" }, "basic": { @@ -37,7 +37,7 @@ "span": 12, "targets": [ ], "title": "test", - "type": "grafana-piechart-panel", + "type": "piechart", "valueName": "current" }, "targets": { @@ -63,7 +63,7 @@ } ], "title": "with targets", - "type": "grafana-piechart-panel", + "type": "piechart", "valueName": "current" } }