mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
Add trends to sidebar account list (#697)
This commit is contained in:
parent
93953499a6
commit
7f491f5064
12 changed files with 87 additions and 28 deletions
|
@ -5,6 +5,7 @@ import * as d3 from "d3"
|
|||
export default class extends Controller {
|
||||
static values = {
|
||||
data: Object,
|
||||
strokeWidth: { type: Number, default: 2 },
|
||||
useLabels: { type: Boolean, default: true },
|
||||
useTooltip: { type: Boolean, default: true },
|
||||
usePercentSign: Boolean
|
||||
|
@ -128,7 +129,7 @@ export default class extends Controller {
|
|||
.attr("d", this.#d3Line)
|
||||
.attr("stroke-linejoin", "round")
|
||||
.attr("stroke-linecap", "round")
|
||||
.attr("stroke-width", 2)
|
||||
.attr("stroke-width", this.strokeWidthValue)
|
||||
}
|
||||
|
||||
#installTrendlineSplit() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue