Incubator-superset: [Dashboard Feature] Copy charts based on a dimension value

Created on 5 Apr 2018  路  3Comments  路  Source: apache/incubator-superset

A flavor of templating, it would be a killer feature to:
(1) Programmatically create charts. The use case here is if I'm monitoring a bunch of servers and need to see each one as a time series for CPU usage.
(2) Create charts in bulk via the UI. The use case here is if I manage a bunch of products, regions, territories, I'd like to see each one at one glance, but as a dashboard creator, don't want to create 20 charts for each metric I want to monitor.

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

Expected results

Actual results

Steps to reproduce

inactive

Most helpful comment

Another idea would be to "export your dashboard as code", then check it into source control. Engineers can then alter the code, squeeze a for loop in there or something. It would all be pretty intuitive coming out of the codegen, except maybe for positioning & layout. Given a simpler API around layout it would be very powerful.

All 3 comments

I had conversations about arrays or matrix of charts before. Idea being to write a for loop around a chart and varying one or many control values (filter value, what to groupby, metric, ...).

There's power in this idea of "meta-charts" that can take one or many charts as input.

Another idea would be to "export your dashboard as code", then check it into source control. Engineers can then alter the code, squeeze a for loop in there or something. It would all be pretty intuitive coming out of the codegen, except maybe for positioning & layout. Given a simpler API around layout it would be very powerful.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dinhhuydh picture dinhhuydh  路  3Comments

gbrian picture gbrian  路  3Comments

josephtyler picture josephtyler  路  3Comments

ghost picture ghost  路  3Comments

ylkjick532428 picture ylkjick532428  路  3Comments