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

Minor improvements to Histogram viz #6391

Merged
merged 2 commits into from Nov 19, 2018

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Nov 14, 2018

  • prevent legend overflow (spill) by simply hiding it
  • legend title only includes metric name when necessary
  • control validator asking forcing at least one numeric column to be
    selected

In production at Lyft since 11/11/18

@hughhhh

* prevent legend overflow (spill) by simply hiding it
* legend title only includes metric name when necessary
* control validator asking forcing at least one numeric column to be
selected
@codecov-io
Copy link

codecov-io commented Nov 14, 2018

Codecov Report

Merging #6391 into master will decrease coverage by 0.02%.
The diff coverage is 14.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6391      +/-   ##
==========================================
- Coverage   77.31%   77.29%   -0.03%     
==========================================
  Files          67       67              
  Lines        9581     9585       +4     
==========================================
+ Hits         7408     7409       +1     
- Misses       2173     2176       +3
Impacted Files Coverage Δ
superset/viz.py 80.33% <14.28%> (-0.14%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cb55668...ff9e5e0. Read the comment docs.

@hughhhh
Copy link
Member

hughhhh commented Nov 18, 2018

👍

@hughhhh hughhhh self-requested a review November 18, 2018 20:16
@mistercrunch mistercrunch merged commit 4c4b6c4 into apache:master Nov 19, 2018
@mistercrunch mistercrunch deleted the hist_improvements branch November 19, 2018 22:01
bipinsoniguavus pushed a commit to ThalesGroup/incubator-superset that referenced this pull request Dec 26, 2018
* Minor improvements to Histogram viz

* prevent legend overflow (spill) by simply hiding it
* legend title only includes metric name when necessary
* control validator asking forcing at least one numeric column to be
selected

* Removing print()
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.34.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.34.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants