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

feat: add scales.grid.step option #11841

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

dolsem
Copy link

@dolsem dolsem commented Jul 21, 2024

This PR adds an option that allows drawing grid lines every step tick, instead of drawing them on every tick. You can also set it to Number.POSITIVE_INFINITY to only have grid lines around the origin, to make it look a little like a cartesian coordinate system.

I asked about this on DIscord but didn't get any response.

If there is interest, I will add tests for this and finalize the PR.

@dolsem dolsem changed the title feat: add scles.grid.step option feat: add scales.grid.step option Jul 28, 2024
@dolsem dolsem marked this pull request as ready for review July 28, 2024 18:07
@LeeLenaleee
Copy link
Collaborator

You could achieve the same behaviour with using the scriptable options for the grid color if i understand your use case correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants