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

XY Chart: Add config for data lables #5806

Open
alshdavid opened this issue Sep 1, 2024 · 0 comments
Open

XY Chart: Add config for data lables #5806

alshdavid opened this issue Sep 1, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request

Comments

@alshdavid
Copy link

Proposal

Hi all, could you add a configuration option to display the data as labels within the chart?

Example

---
config:
  xyChart:
    showDataLabel: true # <- This
---
xychart-beta
    title "Requests Per Second"
    x-axis ["hyper", "uhttp", "Go HTTP", "Node.js (uws library)", "Node.js (std)"]
    y-axis "Requests Per Second" 0 --> 500000
    bar [497432, 493671, 412250, 140929, 79966]

Screenshots

Currently:

image

Would like to have:

image

@alshdavid alshdavid added Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request labels Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant