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

Add header function, axis labels, and tooltip rounding & font sizing #41

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

isaac-florence
Copy link

Thank you for creating this excellent package, it's just what I've been looking for and more.

I have made some minor, non-breaking additions that I hope will be welcome.

Firstly, there is a new function to provide a title but using a different implementation to the current sg_title function. In order for this to be non-breaking I have called this sg_header. It returns a sg object rather than requiring shiny. It also has no additional imports so I hope is helpful.

Secondly, I have added a number of new parameters to the streamgraph function and JS. This includes rounding the figure shown by the tooltip (default is 10 d.p.), changing the tooltip font size, and adding axis labels.

Grateful for your thoughts

Named "header" so would not be a breaking change with the current sg_title function providing a different platform for implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant