ScottPlot 4+5: Implemented a class derived from axis line that snaps to specified positions on its axis.#2006
Closed
Agorath wants to merge 4 commits intoScottPlot:mainfrom
Agorath:main
Closed
ScottPlot 4+5: Implemented a class derived from axis line that snaps to specified positions on its axis.#2006Agorath wants to merge 4 commits intoScottPlot:mainfrom Agorath:main
Agorath wants to merge 4 commits intoScottPlot:mainfrom
Agorath:main
Conversation
…st of positions on either the horizontal or vertical axis. The implementation tries to reuse as much code as possible while guaranteeing the proper function of the new snap mechanic for axis lines.
This was referenced Aug 6, 2022
Member
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose:
This pull request aims to provide an implementation of an axis line that snaps to a defined list of positions on either the horizontal or vertical axis.
The implementation tries to reuse as much code as possible while guaranteeing the proper function of the new snap mechanic for axis lines.
The general idea was to provide a feature for draggable axis lines similar to what the DraggableMarkerPlotInVector offers for draggable markers.
As this is my first pull request, I hope I correctly followed what is mentioned in CONTRIBUTING.md.
Minus the creation of an issue before starting the implementation... I started the implementation as a test balloon to get familiar with the code base and more or less because I just wanted to try it out. As it was very easy to implement, I was done faster than I first anticipated and then I got around to reading CONTRIBUTING.md but was already done...
I hope you like the new plottable. I'm looking forward to your feedback! :-)
2022-08-06.22-37-27.mp4