diff --git a/apps/dashboard/pkg/migration/testdata/dev-dashboards-output/panel-piechart/panel_test_piechart.v42.json b/apps/dashboard/pkg/migration/testdata/dev-dashboards-output/panel-piechart/panel_test_piechart.v42.json
index 5b07f246ae3..f705124be5b 100644
--- a/apps/dashboard/pkg/migration/testdata/dev-dashboards-output/panel-piechart/panel_test_piechart.v42.json
+++ b/apps/dashboard/pkg/migration/testdata/dev-dashboards-output/panel-piechart/panel_test_piechart.v42.json
@@ -290,7 +290,7 @@
],
"legend": {
"displayMode": "table",
- "placement": "right",
+ "placement": "bottom",
"showLegend": true,
"values": [
"percent"
@@ -304,7 +304,7 @@
"fields": "",
"values": false
},
- "showLegend": true,
+ "showLegend": false,
"strokeWidth": 1,
"text": {}
},
@@ -323,15 +323,6 @@
}
],
"title": "Percent",
- "transformations": [
- {
- "id": "renameByRegex",
- "options": {
- "regex": "^Backend-(.*)$",
- "renamePattern": "b-$1"
- }
- }
- ],
"type": "piechart"
},
{
@@ -375,7 +366,7 @@
],
"legend": {
"displayMode": "table",
- "placement": "right",
+ "placement": "bottom",
"showLegend": true,
"values": [
"value"
@@ -389,7 +380,7 @@
"fields": "",
"values": false
},
- "showLegend": true,
+ "showLegend": false,
"strokeWidth": 1,
"text": {}
},
@@ -408,15 +399,6 @@
}
],
"title": "Value",
- "transformations": [
- {
- "id": "renameByRegex",
- "options": {
- "regex": "(.*)",
- "renamePattern": "$1-how-much-wood-could-a-woodchuck-chuck-if-a-woodchuck-could-chuck-wood"
- }
- }
- ],
"type": "piechart"
},
{
diff --git a/devenv/dev-dashboards/panel-piechart/panel_test_piechart.json b/devenv/dev-dashboards/panel-piechart/panel_test_piechart.json
index ac11fd803b9..4333993ea8e 100644
--- a/devenv/dev-dashboards/panel-piechart/panel_test_piechart.json
+++ b/devenv/dev-dashboards/panel-piechart/panel_test_piechart.json
@@ -248,7 +248,7 @@
"legend": {
"values": ["percent"],
"displayMode": "table",
- "placement": "right"
+ "placement": "bottom"
},
"pieType": "pie",
"reduceOptions": {
@@ -256,7 +256,7 @@
"fields": "",
"values": false
},
- "showLegend": true,
+ "showLegend": false,
"strokeWidth": 1,
"text": {}
},
@@ -272,15 +272,6 @@
"timeFrom": null,
"timeShift": null,
"title": "Percent",
- "transformations": [
- {
- "id": "renameByRegex",
- "options": {
- "regex": "^Backend-(.*)$",
- "renamePattern": "b-$1"
- }
- }
- ],
"type": "piechart"
},
{
@@ -320,7 +311,7 @@
"legend": {
"values": ["value"],
"displayMode": "table",
- "placement": "right"
+ "placement": "bottom"
},
"pieType": "pie",
"reduceOptions": {
@@ -328,7 +319,7 @@
"fields": "",
"values": false
},
- "showLegend": true,
+ "showLegend": false,
"strokeWidth": 1,
"text": {}
},
@@ -344,15 +335,6 @@
"timeFrom": null,
"timeShift": null,
"title": "Value",
- "transformations": [
- {
- "id": "renameByRegex",
- "options": {
- "regex": "(.*)",
- "renamePattern": "$1-how-much-wood-could-a-woodchuck-chuck-if-a-woodchuck-could-chuck-wood"
- }
- }
- ],
"type": "piechart"
},
{
diff --git a/packages/grafana-ui/src/components/VizLegend/VizLegendTable.test.tsx b/packages/grafana-ui/src/components/VizLegend/VizLegendTable.test.tsx
deleted file mode 100644
index 131133bcdfb..00000000000
--- a/packages/grafana-ui/src/components/VizLegend/VizLegendTable.test.tsx
+++ /dev/null
@@ -1,78 +0,0 @@
-import { render, screen } from '@testing-library/react';
-
-import { VizLegendTable } from './VizLegendTable';
-import { VizLegendItem } from './types';
-
-describe('VizLegendTable', () => {
- const mockItems: VizLegendItem[] = [
- { label: 'Series 1', color: 'red', yAxis: 1 },
- { label: 'Series 2', color: 'blue', yAxis: 1 },
- { label: 'Series 3', color: 'green', yAxis: 1 },
- ];
-
- it('renders without crashing', () => {
- const { container } = render(