Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data value incorrectly shown for Lines with missing value set to Nothing #17205

Closed
flamber opened this issue Jul 26, 2021 · 1 comment · Fixed by #24324
Closed

Data value incorrectly shown for Lines with missing value set to Nothing #17205

flamber opened this issue Jul 26, 2021 · 1 comment · Fixed by #24324
Assignees
Labels
.Correctness .Frontend Priority:P3 Cosmetic bugs, minor bugs with a clear workaround Type:Bug Product defects Visualization/Chart Settings Visualization/Charts Line, area, bar, combo, and scatter charts.
Milestone

Comments

@flamber
Copy link
Contributor

flamber commented Jul 26, 2021

Describe the bug
Data point values incorrectly shown at the X-axis for Lines with missing value set to Nothing.
It essentially behaves similar to setting the line missing value to Zero.

To Reproduce

  1. Native query > Sample Dataset
select 1 as "lag", 0.1 as "Jan_2021", 0.2 as "Feb_2021"
union all
select 3, 0.1, null
  1. Change Visualization to Line chart, with "lag" as X-axis and the two other columns as Y-axis
  2. Under Display, enable "Show values on data points" and set "Replace missing values with" to Nothing
  3. Notice the two data point zeros showing up in the bottom
    image

Information about your Metabase Installation:
Tested 0.38.0 thru 0.40.1

⬇️ Please click the 👍 reaction instead of leaving a +1 or update? comment

@flamber flamber added Type:Bug Product defects Priority:P3 Cosmetic bugs, minor bugs with a clear workaround Visualization/Chart Settings Visualization/Charts Line, area, bar, combo, and scatter charts. labels Jul 26, 2021
@EvaSchreyer

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Correctness .Frontend Priority:P3 Cosmetic bugs, minor bugs with a clear workaround Type:Bug Product defects Visualization/Chart Settings Visualization/Charts Line, area, bar, combo, and scatter charts.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants