You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a line with a log scale on data that has null or undefined values, an exception is thrown ("a log scale domain must be strictly-positive or strictly-negative"). However, when the check is removed (packages/scales/src/logScale.js:19), the line displays fine with gaps, as expected. I have created PR #1099 with a possible fix.
To Reproduce
To reproduce the validation error, just use a null value in a data set with a log scale. See this codesandbox.
Expected behavior
Like with linear scales, data points without value (null or undefined) should just not be displayed and the line should be separated.
Screenshots
Here is a screenshot proving that it works with the validation disabled.
Desktop (please complete the following information):
OS: Windows
Browser: Chrome
Version 84
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
When using a line with a log scale on data that has null or undefined values, an exception is thrown ("a log scale domain must be strictly-positive or strictly-negative"). However, when the check is removed (packages/scales/src/logScale.js:19), the line displays fine with gaps, as expected. I have created PR #1099 with a possible fix.
To Reproduce
To reproduce the validation error, just use a null value in a data set with a log scale. See this codesandbox.
Expected behavior
Like with linear scales, data points without value (null or undefined) should just not be displayed and the line should be separated.
Screenshots
Here is a screenshot proving that it works with the validation disabled.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: