Skip to content

Commit 070fa62

Browse files
committed
some minor Changes to the CountryTrendChart.jsx file to adjust the positioning of the y-axis labels and grid lines for better alignment.
1 parent db64427 commit 070fa62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CountryTrendChart.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function SimpleLineChart({ data, width = 600, height = 250 }) {
5959
{yLabels.map((v, i) => (
6060
<text
6161
key={i}
62-
x={padding + 2}
62+
x={padding + 8}
6363
y={y(v) + 4}
6464
textAnchor="end"
6565
fontSize="10"

0 commit comments

Comments
 (0)