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

Fix chart rendering error in time series table #4156

Merged

Conversation

graceguo-supercat
Copy link

@graceguo-supercat graceguo-supercat commented Jan 4, 2018

In time series table chart, when total number of available lags less than timeLag param, we see JS rendering error.
screen shot 2018-01-04 at 2 09 35 pm

@michellethomas
Copy link
Contributor

I don't know that we want to automatically reset the lag time (even if the number of days they set the lag to is not available) because it would make the data shown not what the user expected. What about showing a better error message (The time lag set at 361 days exceeds the length of data at 360 days. Please reduce the time lag)?

@graceguo-supercat
Copy link
Author

fixed according to @michellethomas's comment. thank you!

@michellethomas
Copy link
Contributor

lgtm

@graceguo-supercat graceguo-supercat merged commit b9af019 into apache:master Jan 7, 2018
@graceguo-supercat graceguo-supercat deleted the gg-FixTimeLagError branch January 10, 2018 01:44
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.23.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.23.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants