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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user