diff --git a/CHANGELOG.md b/CHANGELOG.md index a86f16477..c0c3fef08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts index cf65e44f2..9f8a4e4d6 100644 --- a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts +++ b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts @@ -75,6 +75,7 @@ export class PortfolioProportionChartComponent } public ngOnDestroy() { + Chart.unregister(ChartDataLabels); this.chart?.destroy(); }