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

Include option to display title on charts #17

Open
tomkinsc opened this issue Aug 10, 2016 · 7 comments
Open

Include option to display title on charts #17

tomkinsc opened this issue Aug 10, 2016 · 7 comments

Comments

@tomkinsc
Copy link
Contributor

Along with the other chart display options, it would be helpful to be able to pass in a chart title to be displayed above the plot.

@ondovb
Copy link
Member

ondovb commented Aug 12, 2016

Is this something that could be inherent to each chart (done at import), or would you want control over each view of it via GET variables (or both)? Currently, you can name the topmost level, which appears in the center when zoomed out, with -n or sample names, but I agree that an additional chart title would be useful.

@tomkinsc
Copy link
Contributor Author

tomkinsc commented Aug 12, 2016

Thanks for the quick attention! Having the title inherent to the chart would be fine for us, though others may want the flexibility to change it with GET params. For taxonomic hierarchies, it's still helpful to have 'root' in the center of the the plot, and it would be nice to have the ability to (for example) include a sample name above the chart. When we're flipping through multiple Krona reports, including a title would make it easy to see which chart is which.

I actually didn't know about the -n option. Is it mentioned in the docs somewhere?

@ondovb
Copy link
Member

ondovb commented Aug 15, 2016

It's in the usage information for the commands (i.e. when run with no input; most import commands have the -n option). There is also a way to name datasets in a chart (after the filename with a comma), although the names only appear when there is more one, and then only in a dropdown and briefly in the center when switching. It may make sense to simply expand this feature so the name always appears at the top when provided.

@sfehrmann
Copy link

Just for the record, I'd second @tomkinsc's wish to define chart titles (in case a second opinion would make a difference) Thanks

@ondovb
Copy link
Member

ondovb commented Aug 30, 2016

Yep, knowing about interest in features is always helpful, thanks!

@stevekm
Copy link

stevekm commented Nov 15, 2016

I was looking for this feature as well. Having a formal chart title available for each chart would definitely be helpful; right now I am generating a chart for each dataset individually, then generating snapshots of the rendered page automatically. In this case, the default names do not appear. I am trying out the -n option instead. Thanks.

@kubu4
Copy link

kubu4 commented Jun 12, 2019

I'd also like to add a request for this feature. I'd love it if the name of the currently selected chart would be displayed - similar to when the name is very briefly displayed when switching charts (see example below). I'd love it if it could be permanently added.

Alternatively, specifying a root name for each input file would be another option.

Thanks for an already great set of tools!


Krona Tools screencap with dataset name briefly displayed when switching between charts

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

5 participants