mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Use data color for guideline circles
This commit is contained in:
parent
92b9b96885
commit
f239a1e00f
1 changed files with 2 additions and 2 deletions
|
@ -308,7 +308,7 @@ export default class extends Controller {
|
|||
.attr("cx", this.#d3XScale(d.date))
|
||||
.attr("cy", this.#d3YScale(d.value))
|
||||
.attr("r", 8)
|
||||
.attr("fill", this.#trendColor)
|
||||
.attr("fill", this.#tooltipTrendColor(d))
|
||||
.attr("fill-opacity", "0.1")
|
||||
.attr("pointer-events", "none")
|
||||
|
||||
|
@ -319,7 +319,7 @@ export default class extends Controller {
|
|||
.attr("cx", this.#d3XScale(d.date))
|
||||
.attr("cy", this.#d3YScale(d.value))
|
||||
.attr("r", 3)
|
||||
.attr("fill", this.#trendColor)
|
||||
.attr("fill", this.#tooltipTrendColor(d))
|
||||
.attr("pointer-events", "none")
|
||||
|
||||
// Render tooltip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue