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

Allow tabbable types for multiple charts in one "widget" #119

Open
christabor opened this issue May 24, 2017 · 0 comments
Open

Allow tabbable types for multiple charts in one "widget" #119

christabor opened this issue May 24, 2017 · 0 comments

Comments

@christabor
Copy link
Owner

christabor commented May 24, 2017

It would really useful to show the same set of data in multiple formats in one single "area" of the dashboard. This could be accomplished using bootstrap tabs, and then putting each chart inside of it.

One way to allow both charts with the current schema (being decoupled), is to have a "links" parameter that will link two or more charts into one "tab".

e.g.

{
  "name": "chart1",
  "width": 200,
  "height": 200,
  "dataSource": "foo/bar.json",
  "guid": "guid1",
  "links": "guid2"
},
{
  "name": "chart2",
  "width": 200,
  "height": 200,
  "dataSource": "foo/bar.json",
  "guid": "guid2"
}

Also, it shouldn't be necessary to have both (or all) charts linking to each other, uni-directional links should work fine.

Potential pitfalls:

  1. Determining which chart data should be used for all of them (e.g. do they share width, height, inputs?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant