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

Figure out a way to display a title for individual queries/charts #153

Open
jimmybutton opened this issue Aug 12, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@jimmybutton
Copy link

jimmybutton commented Aug 12, 2022

Many thanks for this great package!

When creating a dashboard with multiple queries and charts, I'd like to be able to give all or some of them (especially the charts) a title so others can understand what the graph is showing without having to look at the SQL query. So what I ended up doing is having additional queries in between charts such as select '## Users per day' as markdown. It kinda does the job, but it ends up looking a bit weird as the title is then quite far away from the chart itself.

A possible solution could be having an optional title field on the DashboardQuery object. What do you think about that?

@jimmybutton jimmybutton changed the title Figure out a way to display a title for individual charts Figure out a way to display a title for individual queries/charts Aug 13, 2022
@simonw
Copy link
Owner

simonw commented Aug 15, 2022

Yeah I've been using that same trick - having queries which do select '## Users per day' as markdown - and it's not exactly elegant.

I like your suggestion of having an optional title.

@simonw simonw added the enhancement New feature or request label Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants