Skip to content

Commit

Permalink
Change net worth graph to show more detail in compact card view (#2132)
Browse files Browse the repository at this point in the history
* Change net worth graph to show more detail in compact card view

* Added release notes

* Update release notes

* Update VRT images
  • Loading branch information
jasonmichalski authored Jan 6, 2024
1 parent 85c0352 commit d9aeb8d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -126,22 +126,20 @@ function NetWorthGraph({
{compact ? null : (
<CartesianGrid strokeDasharray="3 3" vertical={false} />
)}
{compact ? null : (
<XAxis
dataKey="x"
tick={{ fill: theme.pageText }}
tickLine={{ stroke: theme.pageText }}
/>
)}
{compact ? null : (
<YAxis
dataKey="y"
domain={['auto', 'auto']}
tickFormatter={tickFormatter}
tick={{ fill: theme.pageText }}
tickLine={{ stroke: theme.pageText }}
/>
)}
<XAxis
dataKey="x"
hide={compact}
tick={{ fill: theme.pageText }}
tickLine={{ stroke: theme.pageText }}
/>
<YAxis
dataKey="y"
domain={['auto', 'auto']}
hide={compact}
tickFormatter={tickFormatter}
tick={{ fill: theme.pageText }}
tickLine={{ stroke: theme.pageText }}
/>
<Tooltip
content={<CustomTooltip />}
formatter={numberFormatterTooltip}
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/2132.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [jasonmichalski]
---

Fix net worth graph to show more detail in compact card view

0 comments on commit d9aeb8d

Please sign in to comment.