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

Customize legend title text with UpdateLegendTitle(newTitle) #364

Closed
kirchsth opened this issue Oct 12, 2024 · 1 comment
Closed

Customize legend title text with UpdateLegendTitle(newTitle) #364

kirchsth opened this issue Oct 12, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@kirchsth
Copy link
Member

Based on discussion #363 Customize legend title text a new function is required to allow the legend title to be changed.

Currently, with the Update....(..., ?legendText, ...) function, all other legend labels can be customized. Therefore, a new UpdateLegendTitle(newTitle) function is added to allow the legend title to be changed as well.

For example, the following code:

...
UpdateLegendTitle("Updated legend title") 
...
SHOW_LEGEND()
@enduml

produces the following image:

image

kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Oct 12, 2024
kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Oct 12, 2024
kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Oct 12, 2024
kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Oct 13, 2024
…tallations like

sudo apt-get update
sudo apt-get install -y fonts-noto fonts-noto-cjk fonts-noto-color-emoji
kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Oct 13, 2024
@kirchsth kirchsth added this to the v2.11.0 milestone Oct 13, 2024
@kirchsth kirchsth added the enhancement New feature or request label Oct 13, 2024
kirchsth added a commit to kirchsth/C4-PlantUML that referenced this issue Oct 14, 2024
kirchsth added a commit that referenced this issue Oct 19, 2024
#364,#365 Add `UpdateLegendTitle(newTitle)` call and multilingual themes
@Potherca
Copy link
Member

@kirchsth This looks resolved by #366, should this issue be closed?

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