mirror of
https://github.com/d3/d3.git
synced 2025-12-08 19:46:24 +00:00
fixes for dark mode
This commit is contained in:
parent
6d290a757e
commit
ab56b7c534
@ -130,6 +130,7 @@ g.append("text")
|
||||
.attr("x", 4)
|
||||
.attr("y", (size + padding) / 2)
|
||||
.attr("dy", "0.35em")
|
||||
.attr("fill", "currentColor")
|
||||
.text(([name]) => name);
|
||||
|
||||
// Add the horizontal axis.
|
||||
|
||||
@ -82,7 +82,7 @@ svg
|
||||
)
|
||||
.call((g) => g.select(".domain").remove());
|
||||
|
||||
const rule = svg.append("g").append("line").attr("y1", height).attr("y2", 0).attr("stroke", "black");
|
||||
const rule = svg.append("g").append("line").attr("y1", height).attr("y2", 0).attr("stroke", "currentColor");
|
||||
|
||||
// Create a line and a label for each series.
|
||||
const serie = svg.append("g").style("font", "bold 10px sans-serif").selectAll("g").data(series).join("g");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user