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

How to paging data in Distribution Bar Chart? #2149

Closed
3 tasks
wuwanjie opened this issue Feb 10, 2017 · 4 comments
Closed
3 tasks

How to paging data in Distribution Bar Chart? #2149

wuwanjie opened this issue Feb 10, 2017 · 4 comments

Comments

@wuwanjie
Copy link

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if any
  • I have reproduced the issue with at least the latest released version of superset
  • I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.15.4

Expected results

when i use Distribution Bar Chart,I just can row limit 50000.
can i paging data,every page just have 100 items,

Actual results

Steps to reproduce

@xrmx xrmx added the question label Feb 10, 2017
@mistercrunch
Copy link
Member

the reason why we limit to 50k is we don't want to crush people's browser, 50k is already pretty massive.

Who can look at 50k bars and make sense of them anyways? You may want to use ranges.

But to answer your question I believe you can bump ROW_LIMIT in your superset_config.py.

@wuwanjie
Copy link
Author

I kown that browser will crush when loaded lots of datas. ROW_LIMIT just control top N items. It may be different from paging all items.

how to use ranges ? can you give me url.

@mistercrunch
Copy link
Member

Use a calculated column with a CASE WHEN statement, as in CASE WHEN age <= 10 THEN '<10' WHEN age <= 20 THEN '10-20' ELSE '>20' END

@mistercrunch
Copy link
Member

Notice: this issue has been closed because it has been inactive for 433 days. Feel free to comment and request for this issue to be reopened.

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

No branches or pull requests

3 participants