Skip to content

Radar: optional tick labels #6473

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

Open
lrecknagel opened this issue Apr 10, 2025 · 0 comments · May be fixed by #6481
Open

Radar: optional tick labels #6473

lrecknagel opened this issue Apr 10, 2025 · 0 comments · May be fixed by #6481
Labels
Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request

Comments

@lrecknagel
Copy link

lrecknagel commented Apr 10, 2025

Proposal

I would be happy to have the possibility to add labels for ticks as option.
I already started to implement this.

Open for comments regarding the approach:)

Current approach:

  • Optional parameter: tickLabels
  • Dimension must be equal to ticks
  • Optional 2nd parameter: tickLabelsAxis
  • Can be set to all to show it on all axis or to a specific number.

Example

---
title: "Grades"
---
radar-beta
  axis m["Math"], s["Science"], e["English"]
  axis h["History"], g["Geography"], a["Art"]
  curve a["Alice"]{85, 90, 80, 70, 75, 90}
  curve b["Bob"]{70, 75, 85, 80, 90, 85}

  max 100
  min 0
  ticks 5
  tickLabels{'0','1','2','3','4'}
  tickLabelsAxis: all | number
Loading

Screenshots

No response

@lrecknagel lrecknagel added Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request labels Apr 10, 2025
@lrecknagel lrecknagel linked a pull request Apr 13, 2025 that will close this issue
4 tasks
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

Successfully merging a pull request may close this issue.

1 participant