From ebf6dcfa23839cd494271835dbca9da7311f10e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joa=CC=83o=20Sobral?= Date: Tue, 3 Dec 2024 14:42:02 +0000 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9A=A1=EF=B8=8F:=20add=20map=20and=20?= =?UTF-8?q?pie=20configs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/charts/index.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/app/charts/index.ts b/app/charts/index.ts index 882890074..19c37d9e8 100644 --- a/app/charts/index.ts +++ b/app/charts/index.ts @@ -1819,9 +1819,13 @@ const chartConfigsPathOverrides: { "fields.x.componentId": { path: "fields.y.componentId" }, "fields.y.componentId": { path: "fields.x.componentId" }, }, + pie: { + "fields.segment.componentId": { path: "fields.y.componentId" }, + "fields.y.componentId": { path: "fields.x.componentId" }, + }, map: { - "fields.areaLayer.componentId": { path: "fields.x.componentId" }, - "fields.areaLayer.color.componentId": { path: "fields.y.componentId" }, + "fields.areaLayer.componentId": { path: "fields.y.componentId" }, + "fields.areaLayer.color.componentId": { path: "fields.x.componentId" }, }, table: { fields: { path: "fields.segment" }, @@ -1940,6 +1944,10 @@ const chartConfigsPathOverrides: { }, }, pie: { + bar: { + "fields.segment.componentId": { path: "fields.y.componentId" }, + "fields.y.componentId": { path: "fields.x.componentId" }, + }, map: { "fields.areaLayer.componentId": { path: "fields.x.componentId" }, "fields.areaLayer.color.componentId": { path: "fields.y.componentId" }, @@ -1989,6 +1997,10 @@ const chartConfigsPathOverrides: { "fields.x.componentId": { path: "fields.areaLayer.componentId" }, "fields.y.componentId": { path: "fields.areaLayer.color.componentId" }, }, + bar: { + "fields.x.componentId": { path: "fields.areaLayer.color.componentId" }, + "fields.y.componentId": { path: "fields.areaLayer.componentId" }, + }, line: { "fields.y.componentId": { path: "fields.areaLayer.color.componentId" }, },