Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

fix(scatter): fix legend and labels #43

Merged

Conversation

villebro
Copy link
Contributor

@villebro villebro commented Aug 19, 2021

🐛 Bug Fix
This PR fixes the following problems in the Scatter plugin:

  • Using a categorical dimension for color coding didn't work due to a number formatter being always applied to the categories
  • The metric name on the tooltip only worked with adhoc metrics - saved metrics displayed undefined. This now shows the verbose name if defined (e.g. COUNT(*) for the saved metric count in the example dataset)
  • Break Point size control into single column rows

Fixes apache/superset#15738

AFTER

The legend works properly, along with the tooltip for metric name:
image
Point size control is now on a row of it's own:
image
Arc is also fixed:
image

BEFORE

image
image
image

Copy link
Contributor

@kgabryje kgabryje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deck.gl Scatterplot NaN legend for TEXT/STRING column
2 participants