Closed
Description
Expected Behavior
When encountering NaN / empty / null values the ChartJS line should be broken similar as when a non logarithmic type is selected.
Current Behavior
When using the logarithmic type in chart, the ChartJS line doesn't get broken as expected when encountering NaN / empty / null values, instead it is defaulted to 0
Possible Solution
Version 3 may provide a fix but at the moment a suggestion to resolve for version 2.9.4 is required,
Steps to Reproduce
https://codepen.io/wolwemaan/pen/ZEOmJdz
Context
Switching the y axis to type logarithmic causes the empty values to be charted as 0
Environment
- Chart.js version: 2.9.4
- Browser name and version: Chromium Version 86.0.4240.183 (Official Build) snap (64-bit)
- Link to your project: