Corrected 4 triangle structure and position to round up rather than down 0.6, and also to allow for border thickness

This commit is contained in:
2025-05-14 07:47:50 +01:00
parent 7a07ffebe4
commit c37f9bc71b
3 changed files with 66 additions and 12 deletions

View File

@@ -132,7 +132,7 @@ const valuePoints = axes.map((d, i) => {
svg.append("polygon")
.attr("class", "area")
.attr("points", valuePoints.map(p => p.join(",")).join(" "))
.attr("fill", "#ffbf00") // #d76a23 with 30% opacity (translucent)
.attr("fill", "#ffbf00") // #ffbf00 with 30% opacity (translucent)
.attr("fill-opacity", 0.6)
.attr("stroke", "#ffbf00") // Outer line color
.attr("stroke-width", 2); // Thin outer line