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

Remove some incorrect else-if logic in time plugin #1023

Merged
merged 1 commit into from Apr 20, 2013

Conversation

danxshap
Copy link
Contributor

It looks like there was some incorrect else-if logic introduced in the time plugin @ f8064ca

Before that commit, our chart looks this: http://d.pr/i/2YXq

Note the crosshair is just before the Feb month tick and the legend says Jan 31 - good.

After that commit, our chart looks like this: http://d.pr/i/lewG

Besides the fact that a new tick was added, the crosshair is again just before the Feb month tick but the legend says Feb 15 - so that's not right.

I corrected the offending change here and now it works again.

This may be related to #1017

Looks like this was mistakenly introduced in a whitespace/bracket cleanup.
@dnschnur
Copy link
Member

I have no idea why I made those changes; looking at them now, they make absolutely no sense. Sorry about that, and thanks for finding this, and for the patch!

@ghost ghost assigned dnschnur Apr 20, 2013
dnschnur added a commit that referenced this pull request Apr 20, 2013
Remove some incorrect else-if logic in time plugin.
@dnschnur dnschnur merged commit 87f9c78 into flot:master Apr 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants