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

Boxplot requires a datetime field #786

Closed
katemarielewis opened this issue Jul 19, 2016 · 2 comments · Fixed by #802
Closed

Boxplot requires a datetime field #786

katemarielewis opened this issue Jul 19, 2016 · 2 comments · Fixed by #802
Labels
!deprecated-label:bug Deprecated label - Use #bug instead

Comments

@katemarielewis
Copy link

I would like to use the boxplot type of visualization for some data that I have, but it seems like a datetime field is required. Is there a way to allow data that does not have any date or time data to be used?

This is the error that i got:

Datetime column not provided as part table configuration and is required by this type of chart

mistercrunch added a commit to mistercrunch/superset that referenced this issue Jul 22, 2016
@mistercrunch mistercrunch added the !deprecated-label:bug Deprecated label - Use #bug instead label Jul 22, 2016
mistercrunch added a commit that referenced this issue Jul 22, 2016
@erinshellman
Copy link

Hey, still seeing is_timeseries = True on master and encountering the same problem when trying to construct boxplots.

@zymergen-jchen
Copy link

Still seeing is_timeseries = True for BoxPlotViz class in viz.py on master. Here is the error when time column is not provided:

Traceback (most recent call last):
File "/home/ubuntu/superset_venv_20170420/venv/local/lib/python2.7/site-packages/superset/viz.py", line 234, in get_payload
df = self.get_df()
File "/home/ubuntu/superset_venv_20170420/venv/local/lib/python2.7/site-packages/superset/viz.py", line 78, in get_df
self.results = self.datasource.query(query_obj)
File "/home/ubuntu/superset_venv_20170420/venv/local/lib/python2.7/site-packages/superset/connectors/sqla/models.py", line 538, in query
qry = self.get_sqla_query(**query_obj)
File "/home/ubuntu/superset_venv_20170420/venv/local/lib/python2.7/site-packages/superset/connectors/sqla/models.py", line 370, in get_sqla_query
"Datetime column not provided as part table configuration "
Exception: Datetime column not provided as part table configuration and is required by this type of chart

zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
* chore: add id prop to chart-control DatasourceMeta

* add more fields
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
* chore: add id prop to chart-control DatasourceMeta

* add more fields
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
* chore: add id prop to chart-control DatasourceMeta

* add more fields
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
* chore: add id prop to chart-control DatasourceMeta

* add more fields
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
!deprecated-label:bug Deprecated label - Use #bug instead
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants