Skip to content

Commit

Permalink
Added dashed lines to graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-M-Lucas committed Apr 29, 2024
1 parent 2bac81f commit 87c37fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/dashboard/graph tiles/NeedsGraphTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function needsGraphTile(transactions: Transaction[], userPrefs: U
<YAxis/>
<Tooltip/>
<Line type="monotone" dataKey="amount" stroke="#8884d8" dot={false}/>
<Line type="monotone" dataKey="goal" stroke="rgb(202, 15, 15)" dot={false}/>
<Line type="monotone" dataKey="goal" stroke="rgb(202, 15, 15)" dot={false} strokeDasharray="5 5"/>
</LineChart>
</ResponsiveContainer>
</>;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard/graph tiles/SavingsGraphTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default function savingsGraphTile(transactions: Transaction[], userPrefs:
<YAxis/>
<Tooltip/>
<Line type="monotone" dataKey="amount" stroke="#8884d8" dot={false}/>
<Line type="monotone" dataKey="goal" stroke="green" dot={false}/>
<Line type="monotone" dataKey="goal" stroke="green" dot={false} strokeDasharray="5 5"/>
</LineChart>
</ResponsiveContainer>
</>;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/dashboard/graph tiles/WantsGraphTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function wantsGraphTile(transactions: Transaction[], userPrefs: U
<YAxis/>
<Tooltip/>
<Line type="monotone" dataKey="amount" stroke="#8884d8" dot={false}/>
<Line type="monotone" dataKey="goal" stroke="rgb(202, 15, 15)" dot={false}/>
<Line type="monotone" dataKey="goal" stroke="rgb(202, 15, 15)" dot={false} strokeDasharray="5 5"/>
</LineChart>
</ResponsiveContainer>
</>;
Expand Down

0 comments on commit 87c37fa

Please sign in to comment.