From 4bab6276bd3359789431acc54bcff750339bfb42 Mon Sep 17 00:00:00 2001 From: goodgoodman Date: Wed, 1 Sep 2021 12:08:53 +0900 Subject: [PATCH 1/2] Modifying Radar's Axis to be drawn by Axis.domain.line of the Theme --- packages/radar/src/RadarGrid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/radar/src/RadarGrid.js b/packages/radar/src/RadarGrid.js index b180fd4b7..ca0214bdf 100644 --- a/packages/radar/src/RadarGrid.js +++ b/packages/radar/src/RadarGrid.js @@ -34,7 +34,7 @@ const RadarGrid = memo(({ indices, levels, shape, radius, angleStep, label, labe y1={0} x2={position.x} y2={position.y} - {...theme.grid} + {...theme.axis.domain.line} /> ) })} From a6aa89c302554cec9d504cc483714283fef8131f Mon Sep 17 00:00:00 2001 From: goodgoodman Date: Wed, 1 Sep 2021 13:00:24 +0900 Subject: [PATCH 2/2] Modify to use grid.line instead of axis.domain.line to draw axis of radar --- packages/radar/src/RadarGrid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/radar/src/RadarGrid.js b/packages/radar/src/RadarGrid.js index ca0214bdf..4719cf6c0 100644 --- a/packages/radar/src/RadarGrid.js +++ b/packages/radar/src/RadarGrid.js @@ -34,7 +34,7 @@ const RadarGrid = memo(({ indices, levels, shape, radius, angleStep, label, labe y1={0} x2={position.x} y2={position.y} - {...theme.axis.domain.line} + {...theme.grid.line} /> ) })}