Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Feature/add vertical hover line to performance chart (#1020)

Thomas Kaula996dd7ed5de
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 59fb75fd84..fb5e6a49d9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
+### Added
+
+- Added the vertical hover line to inspect data points in the performance chart on the home page
+
### Changed
- Upgraded `angular` from version `13.3.6` to `14.0.2`
diff --git a/apps/client/src/app/components/home-overview/home-overview.html b/apps/client/src/app/components/home-overview/home-overview.html
index e82ef7f5f6..aad1150fcc 100644
--- a/apps/client/src/app/components/home-overview/home-overview.html
+++ b/apps/client/src/app/components/home-overview/home-overview.html
@@ -4,7 +4,9 @@
<div class="row w-100">
<div class="chart-container col">
<gf-line-chart
+ class="position-absolute"
symbol="Performance"
+ [currency]="user?.settings?.baseCurrency"
[historicalDataItems]="historicalDataItems"
[locale]="user?.settings?.locale"
[ngClass]="{ 'pr-3': deviceType === 'mobile' }"
diff --git a/apps/client/src/app/components/home-overview/home-overview.scss b/apps/client/src/app/components/home-overview/home-overview.scss
index 317773f761..de05e7ccc4 100644
--- a/apps/client/src/app/components/home-overview/home-overview.scss
+++ b/apps/client/src/app/components/home-overview/home-overview.scss
@@ -25,10 +25,8 @@
gf-line-chart {
bottom: 0;
left: 0;
- position: absolute;
right: 0;
top: 0;
- z-index: -1;
}
}
}