Skip to content

Stepmode2 - #1

Merged
phisi merged 2 commits into
masterfrom
stepmode2
Feb 23, 2017
Merged

Stepmode2#1
phisi merged 2 commits into
masterfrom
stepmode2

Conversation

@phisi

@phisi phisi commented Feb 23, 2017

Copy link
Copy Markdown
Owner

changed new step mode to subclass

psi added 2 commits February 23, 2017 12:16
Why:
Increment by value -> no good when zooming
Increment by pixel -> no good when zooming
subdivide -> depending on data chooses ticks at wired locations e.g (1.3 , 2.3, 3,3 instead of 1, 2, 3)

Workaround:
When you know your data: supply an array of predefined increments (by value) for StepModel to choose from
to best fit the desired number of lines. For example:
Start zoomed out with ticks every 100 and as you zoom in switch to 50,10,1
@phisi
phisi merged commit 03c2055 into master Feb 23, 2017
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.

1 participant