leeoniya / leeoniya/uPlot

Rotating ticks on axes other than bottom(2)

Open
#926 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
10.5k
Forks
463
PR merge metrics
No merged PRs in 30d

Description

Hello! Im using your library very successfully for a bussiness project! It's a great library! Kudos for that from me. Now to the question.

I got a request to rotate the plot I made with all of its annotations for 90 degrees, and it almost works by rotating the u-wrap element, except the ticks of axes 0,1,3 remain in the wrong rotation. I used the functionality to rotate the ticks on axis 2 and it works perfectly. My question is, is this possible with the current functionalities of the library, and if not, does it sound useful to you for the library that I try to implement this feature to be possible for the remaining three axes? I know it would be the cleanest solution for my problem, and I would very much like to contribute to the library that helped me tremendously on the work!

P.S. I read your issue #180 about rotation of labels, but It didnt answer my question so I had to ask like this.
Kind regards!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #180 and the existing axis-2 tick-rotation functionality. Reproduce the reported 90-degree rotation using the u-wrap element, then determine the expected behavior for ticks on axes 0, 1, and 3; completion would require an agreed implementation and coverage for those axes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.