getredash/redash

Outliers hovertext data label is not accurate

Open

#5,639 opened on Nov 1, 2021

View on GitHub
 (4 comments) (2 reactions) (0 assignees)Python (24,845 stars) (4,236 forks)batch import
Visualizationshelp wanted

Description

Issue Summary

For Chart Type Box, the Data Labels {{ column_name }} entry does not work as expected.

Steps to Reproduce

  1. Load a dataset with outliers and a Name column. In my example the dataset are the outputs of a couple functions with inputs 0 through 9, and the names are randomly generated.
  2. Visualize using Visualization Type Chart, Chart Type Box, enter the numeric column under Y Columns, and under the Data Labels field put {{ Name }} as instructed in the question mark hovertext.

The name which shows up on the hovertext for any outlier appears to always come from the last row associated to the boxplot data. In this case, the last row is labeled with the name Erik, so although that is not an outlier for either boxplot, every outlier is labeled Erik.

Screen Shot 2021-11-01 at 15 31 20

Technical details:

  • Redash Version: Version: 8.0.0+b32245 (a16f551e)
  • Browser/OS: google chrome Version 95.0.4638.54 (Official Build) (x86_64)
  • How did you install Redash: V8 self hosted from Redash official cloud images

Contributor guide