-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
This is another frequent pattern:
svg.append("g")
.attr("transform", `translate(${marginLeft},0)`)
.call(yAxis)
.call(g => g.selectAll(".tick line").clone()
.attr("x2", width - marginLeft - marginRight)
.attr("stroke-opacity", 0.1))It’d be nice if this were an option you could pass to the axis, especially for transitions. Note that you’ll need to tell the axis how long the grid lines need to be (width - marginLeft - marginRight).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels