Browse Source

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

* Add vertical hover line

* Update changelog
pull/1022/head
Thomas Kaul 3 years ago
committed by GitHub
parent
commit
a996dd7ed5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CHANGELOG.md
  2. 2
      apps/client/src/app/components/home-overview/home-overview.html
  3. 2
      apps/client/src/app/components/home-overview/home-overview.scss

4
CHANGELOG.md

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## Unreleased
### Added
- Added the vertical hover line to inspect data points in the performance chart on the home page
### Changed ### Changed
- Upgraded `angular` from version `13.3.6` to `14.0.2` - Upgraded `angular` from version `13.3.6` to `14.0.2`

2
apps/client/src/app/components/home-overview/home-overview.html

@ -4,7 +4,9 @@
<div class="row w-100"> <div class="row w-100">
<div class="chart-container col"> <div class="chart-container col">
<gf-line-chart <gf-line-chart
class="position-absolute"
symbol="Performance" symbol="Performance"
[currency]="user?.settings?.baseCurrency"
[historicalDataItems]="historicalDataItems" [historicalDataItems]="historicalDataItems"
[locale]="user?.settings?.locale" [locale]="user?.settings?.locale"
[ngClass]="{ 'pr-3': deviceType === 'mobile' }" [ngClass]="{ 'pr-3': deviceType === 'mobile' }"

2
apps/client/src/app/components/home-overview/home-overview.scss

@ -25,10 +25,8 @@
gf-line-chart { gf-line-chart {
bottom: 0; bottom: 0;
left: 0; left: 0;
position: absolute;
right: 0; right: 0;
top: 0; top: 0;
z-index: -1;
} }
} }
} }

Loading…
Cancel
Save