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

Showing rich text in chart legend #413

Open
3 tasks done
govind-srinidhi opened this issue Mar 13, 2024 · 4 comments
Open
3 tasks done

Showing rich text in chart legend #413

govind-srinidhi opened this issue Mar 13, 2024 · 4 comments
Assignees
Labels
accepted is viable; issue should be fixed/implemented feature request a request for a new feature/functionality help wanted extra attention is needed

Comments

@govind-srinidhi
Copy link
Contributor

Feature description

There are scenarios where the user wants to show rich text in chart legend.

In the below chart legend we can see that the number 234.36K is in bold.
Screenshot 2024-03-13 at 11 40 29

Lume chart legends do not support rich text at the moment.

Problem/motivation

In some scenarios user may want to show rich text in chart legend.
Giving an option to allow the consumer to override the label slot of chart legend would be beneficial.

Describe alternatives you've considered

No response

Additional context

No response

Validations

@govind-srinidhi govind-srinidhi added feature request a request for a new feature/functionality triage viability needs to be discussed labels Mar 13, 2024
@govind-srinidhi govind-srinidhi self-assigned this Mar 13, 2024
@joao-m-santos
Copy link
Contributor

@govind-srinidhi did you check this one with design? I think this should come from the design guidelines, and it seems to me it's coming from a custom design instead

@govind-srinidhi
Copy link
Contributor Author

@joao-m-santos had a chat with the designer and we eventually were able to show this information with the tooltips instead of overriding chart legend.

We can close this issue once we decide that this feature is not necessary.

@joao-m-santos
Copy link
Contributor

@govind-srinidhi let's maybe wait for some more input before closing the issue

@joao-m-santos joao-m-santos added the help wanted extra attention is needed label Mar 15, 2024
@sarobrien
Copy link

IMO adding the option to override the chart legend label and customize with rich text or however the consumer needs is a good feature. In my experience a lot of the issues with standard chart libraries is the inflexibility and that if you need to do anything custom you have to do a lot of messy overriding of styles etc. If Lume provides a way to do this out of the box then I think it's a win!

@joao-m-santos joao-m-santos added accepted is viable; issue should be fixed/implemented and removed triage viability needs to be discussed labels Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted is viable; issue should be fixed/implemented feature request a request for a new feature/functionality help wanted extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants