Bugfix/unregister chartjs plugin datalabels (#414)

* Unregister chartjs-plugin-datalabels

* Update changelog
pull/415/head
Thomas Kaul 3 years ago committed by GitHub
parent 174c1d1a62
commit b9f0a57522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
### Fixed
- Fixed the broken line charts showing value labels
## 1.59.0 - 11.10.2021 ## 1.59.0 - 11.10.2021
### Added ### Added

@ -75,6 +75,7 @@ export class PortfolioProportionChartComponent
} }
public ngOnDestroy() { public ngOnDestroy() {
Chart.unregister(ChartDataLabels);
this.chart?.destroy(); this.chart?.destroy();
} }

Loading…
Cancel
Save