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

log scale for xychart-beta #5438

Open
migueltorrescosta opened this issue Apr 3, 2024 · 0 comments
Open

log scale for xychart-beta #5438

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

Comments

@migueltorrescosta
Copy link

Proposal

Have a string field scale that

  • defaults to linear
  • accepts log as an option
  • Can be extended to other scales in the future

This would allow us to version control a graph description with true ( non-logged ) values, while plotting the logged values.

Example

xychart-beta
    title "Sales Revenue"
    scale log
    x-axis [jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec]
    y-axis "Revenue (in $)" 4000 --> 11000
    bar [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]
    line [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000]

Screenshots

No response

@migueltorrescosta migueltorrescosta added Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request labels Apr 3, 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