Bugfix/unregister chartjs plugin datalabels (#414)
* Unregister chartjs-plugin-datalabels * Update changelog
This commit is contained in:
parent
174c1d1a62
commit
b9f0a57522
@ -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/),
|
||||
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
|
||||
|
||||
### Added
|
||||
|
@ -75,6 +75,7 @@ export class PortfolioProportionChartComponent
|
||||
}
|
||||
|
||||
public ngOnDestroy() {
|
||||
Chart.unregister(ChartDataLabels);
|
||||
this.chart?.destroy();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user