-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Support simple subtitle parameter (like title) #6856
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
Comments
Here is a link to figma for the lowest touch effort: |
API for subtitle
Structure:
@archmoj API-wise this seems pretty straightforward -- do you have any thoughts or suggestions? |
I think it should go inside That would also allow adding multiple titles and subtitles later on. |
Also it would be nice (and possibly easy) to have the subtitle option available on the cartesian axes and other places too. |
For a quick prototype, perhaps you could add the subtitle text to the end of title.text with a |
I think that’s right. Also makes it clear that it inherits positioning from the title (presumably with optional overrides to at least the spacing relative to the main title) and it can inherit the main title font (but smaller, and remove bold if you bolder the main font?) |
@archmoj @alexcjohnson Makes sense -- do you mean something like the below?
|
Yes. Let's start with just that. Perhaps we rename |
As suggested by @archmoj : A simple working prototype which uses HTML tags to simulate a subtitle: |
One may wants to add an attribute e.g. |
Image from Figma mock by @TonyBurbs :
The text was updated successfully, but these errors were encountered: