Skip to content

Conversation

@etimberg
Copy link
Member

@etimberg etimberg commented Mar 6, 2016

Fixes the issue seen in #2034

New Time Step Option

Adds a unitStepSize option to allow configurable increments of the base units. Setting this will override the automatic system. For example, to have tick marks every 3 seconds, the config would look like

scaleConfig = {
    time: {
        unit: 'second',
        unitStepSize: 3
    }
}

etimberg added a commit that referenced this pull request Mar 6, 2016
Fix some time rounding problems
@etimberg etimberg merged commit a16093e into v2.0-dev Mar 6, 2016
@etimberg etimberg deleted the fix/2034 branch March 6, 2016 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants