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

Add support for tickRotor plugin #67

Merged
merged 1 commit into from
Mar 14, 2014
Merged

Conversation

pauljandrew
Copy link
Contributor

As of Flot 0.8.3, the tickRotor plugin has to move the tick labels from
opts.ticks to opts.rotatedTicks to avoid a bug. For tooltips, this means
that any content that uses the %y value won't work. Hence, in this
commit we check for use of tickRotor and lookup 'ticks' vs
'rotatedTicks' in the xaxis object as appropriate.

I see in other PRs there's an attempt to standardize how to lookup a plugin, but as they weren't merged I just looked it up via $.plot.plugins

As of Flot 0.8.3, the tickRotor plugin has to move the tick labels from
opts.ticks to opts.rotatedTicks to avoid a bug. For tooltips, this means
that any content that uses the %y value won't work. Hence, in this
commit we check for use of tickRotor and lookup 'ticks' vs
'rotatedTicks' in the xaxis object as appropriate.
@krzysu krzysu merged commit e78849b into krzysu:master Mar 14, 2014
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.

None yet

2 participants