swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular
https://swimlane.github.io/ngx-charts/
MIT License
4.3k stars 1.15k forks source link

Gauge Chart leads to console errors with invalid transform of scale #1908

Open MaximilianMain opened 1 year ago

MaximilianMain commented 1 year ago

Describe the bug After change events of input values the component fires a lot of console errors because of an invalid transformation

To Reproduce Steps to reproduce the behavior:

  1. Add a gauge chart with some values including a unit
  2. Change the value frequently

Expected behavior No console errors and always a valid transformation of the scaling

Screenshots If applicable, add screenshots to help explain your problem.

ngx-charts version 20.1.0

Corebee commented 1 year ago

Here you can see the resulting log-entries

ngx-charts version "@swimlane/ngx-charts": "^20.1.0"

System Information: Angular CLI: 16.1.3 NPM: 8.5.0 Node: 16.14.2

2023-10-25_16h52_16