Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Add functions to expose the x and y scales for external use.#5

Open
keithrbennett wants to merge 1 commit into
interactivethings:masterfrom
keithrbennett:master
Open

Add functions to expose the x and y scales for external use.#5
keithrbennett wants to merge 1 commit into
interactivethings:masterfrom
keithrbennett:master

Conversation

@keithrbennett
Copy link
Copy Markdown

I'm very new to this stuff, so please educate me if there's a better way.

That said, I found that I wanted to put labels beside the x and y axes, and needed to find out what the correct x and y positions were for a given row or column. It seemed like the best way was to use the same scale object that the grid object was itself using. So I added functions to expose those scales to the outside. Is this reasonable?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant