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

[pie] improvements to pie charts #5236

Merged
merged 1 commit into from
Jul 12, 2018
Merged

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Jun 18, 2018

Pie chart was using limit instead of row_limit which didn't work. Also set a lower default limit to 25 to prevent the chart from getting super crowded.

Added show_labels to formatting options and a tooltip message making it clear that <5% won't show labels.

Unrelated drive-by fix of setting "percentage metric" to default to []

closes #5210

@betodealmeida 👀

Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`
@codecov-io
Copy link

codecov-io commented Jun 18, 2018

Codecov Report

Merging #5236 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5236      +/-   ##
==========================================
- Coverage   63.46%   63.45%   -0.01%     
==========================================
  Files         261      261              
  Lines       19845    19846       +1     
  Branches     1998     1998              
==========================================
  Hits        12594    12594              
- Misses       7242     7243       +1     
  Partials        9        9
Impacted Files Coverage Δ
superset/assets/src/explore/controls.jsx 44.44% <ø> (ø) ⬆️
superset/assets/src/explore/visTypes.js 62.5% <ø> (ø) ⬆️
superset/assets/src/visualizations/nvd3_vis.js 8.15% <0%> (-0.02%) ⬇️

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 c670621...b0529d6. Read the comment docs.

@mistercrunch
Copy link
Member Author

@hughhhh 👀

@mistercrunch
Copy link
Member Author

@betodealmeida @hughhhh 👀 🏓

@mistercrunch
Copy link
Member Author

🏓

@hughhhh
Copy link
Member

hughhhh commented Jul 10, 2018

🐑

@hughhhh hughhhh self-requested a review July 10, 2018 05:49
@mistercrunch mistercrunch merged commit f9352af into apache:master Jul 12, 2018
@mistercrunch mistercrunch deleted the pie_limit branch July 12, 2018 14:33
xumiao pushed a commit to xumiao/supernorm that referenced this pull request Jul 16, 2018
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`
timifasubaa pushed a commit to airbnb/superset-fork that referenced this pull request Jul 25, 2018
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`
mistercrunch added a commit to lyft/incubator-superset that referenced this pull request Jul 27, 2018
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`

(cherry picked from commit f9352af)
mistercrunch added a commit to lyft/incubator-superset that referenced this pull request Jul 31, 2018
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`

(cherry picked from commit f9352af)
mistercrunch added a commit to lyft/incubator-superset that referenced this pull request Aug 3, 2018
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`

(cherry picked from commit f9352af)
mistercrunch added a commit to lyft/incubator-superset that referenced this pull request Aug 3, 2018
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`

(cherry picked from commit f9352af)
mistercrunch added a commit to lyft/incubator-superset that referenced this pull request Aug 4, 2018
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`

(cherry picked from commit f9352af)
mistercrunch added a commit to lyft/incubator-superset that referenced this pull request Aug 4, 2018
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`

(cherry picked from commit f9352af)
mistercrunch added a commit that referenced this pull request Aug 12, 2018
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`
john-bodley pushed a commit to john-bodley/superset that referenced this pull request Aug 20, 2018
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`
(cherry picked from commit f9352af)
john-bodley added a commit to airbnb/superset-fork that referenced this pull request Aug 20, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`
@mistercrunch mistercrunch added 🍒 0.27.0 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.28.0 labels Feb 27, 2024
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
Pie chart was using `limit` instead of `row_limit` which didn't work.

Also set a lower default limit to 25 to prevent the chart from getting
super crowded.

Unrelated drive-by fix of setting "percentage metric" to default to `[]`
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 v0.26 🍒 0.27.0 🚢 0.28.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Limit not working with Pie Chart
3 participants