David Schnur
3c0bcefc5a
Fixed jQuery 1.2.6 mouseleave issue from #920 .
...
Use bind, rather than .mouseleave, because we officially still support
jQuery 1.2.6, which doesn't define a shortcut for mouseenter or
mouseleave. This was a bug/oversight that was fixed somewhere around
1.3.x. We can return to using .mouseleave when we drop support for
1.2.6.
13 years ago
David Schnur
f2fa1b869e
Updated credits for #918 pie percentage errors.
13 years ago
David Schnur
1cd2cd9490
Merge pull request #918 from jtward/patch-1
...
Change evaluation order for calculating percentage.
13 years ago
James Ward
f6198f5db2
Change evaluation order for calculating percentage
...
Rounding errors are introduced when calculating the percentage when the total is 100 (for example if percentages have already been calculated). Calculating (total/100) first eliminates the error in this case.
13 years ago
David Schnur
d7c58b59f3
Enforce left-to-right canvas layout orientation.
...
When the placeholder has (or inherits) the HTML 'dir' attribute or CSS
'direction' we get unexpected results from text metrics, resulting in
visual glitches on the axes.
The suggested solution in #716 was to set ltr on the placeholder, but
this introduces its own problems, since the user probably *does* expect
rtl on items like the legend. So we'll instead set ltr only on the
canvases.
We should review this behavior at some point; rtl is something we need
to handle, not work around. It also needs to be kept in mind as we move
canvas-text into a plugin. But for now this solution at least ensures
consistent behavior.
13 years ago
David Schnur
a6414cac60
Prevent color generation with all fixed indexes.
...
As pointed out in a comment to #832 , initializing maxIndex to zero
results in the creation of a single color even when all indexes are
fixed.
13 years ago
David Schnur
88e0567b46
Tweak comparison order for clarity.
13 years ago
David Schnur
61c1cad92f
Clarify comments describing color generation.
13 years ago
David Schnur
c22f3f753c
Added credits for #910 pie redraw fixes.
13 years ago
David Schnur
f0652fd067
Merge pull request #910 from dnschnur/pie-resize-fix
...
Allow the pie chart to redraw on resize or update.
13 years ago
David Schnur
d09b278601
Allow the pie to redraw on resize or update.
...
When a pie's labels don't fit within its container, the pie is redrawn
with a smaller radius until the labels fit, or a fixed number of retry
attempts are exhausted. The redraw flag was not reset on success,
however, which prevented the pie from being redrawn again after a resize
or update.
13 years ago
David Schnur
02c701b057
Check dimensions on draw, not just on startup.
...
Previously the container dimensions were checked only once, which
prevented the pie from changing in size as its container was resized.
13 years ago
David Schnur
715a093316
Updated credits for #905 jQuery 1.9 compatibility.
13 years ago
David Schnur
761b5f1149
Merge pull request #905 from anthonyryan1/master
...
Eliminate uses of $.browser, since it is no longer present in jQuery 1.9, and some of the cases were no longer necessary anyway.
13 years ago
Anthony Ryan
a4ac13085c
Document the affected versions of opera, and replace $.browser.opera with a line to detect only affected versions
13 years ago
Anthony Ryan
50a45ba995
Remove Internet Explorer specific code, that appears to have no impact on actual rendering see bug #905
13 years ago
Anthony Ryan
97d862a4b2
Specify the precise version of IE referenced in this problem
13 years ago
David Schnur
f6b279ce34
Fixed a logic error in series color generation.
...
This addresses #906 , the case where a fixed color index on a series
results in the color generator producing one color less than is actually
needed.
13 years ago
David Schnur
8760ee77e9
Added undocumented labelFormatter null behavior.
14 years ago
Mark Côté
43e3a70da7
Merge pull request #900 from markrcote/master
...
Add nonstandard %q datetime specifier for quarters.
14 years ago
Mark Côté
0d47f513ca
Don't prepend 'Q' with %q specifier, but keep the 'Q' for default formatting.
14 years ago
David Schnur
3640b939e2
Updated the public plot.version property.
14 years ago
David Schnur
4880f45da0
Merge pull request #899 from arpancj/master
...
Issue: #890 : Fix broken behavior for interacting demo
14 years ago
David Schnur
5b966071e6
Merge pull request #901 from dnschnur/canvas-float-fix
...
Removed unnecessary canvas skipPositioning flag.
14 years ago
David Schnur
de86d017a0
Updated news for the canvas alignment fix.
14 years ago
David Schnur
e85a190ea9
Removed unnecessary canvas skipPositioning flag.
...
The primary canvas uses position: absolute while the overlay canvas does
not. This can cause the two to get out of alignment in rare cases when
floating elements are placed near the plot placeholder. There doesn't
appear to be any reason why the overlay can't also be
absolutely-positioned, so I've just removed the flag entirely.
14 years ago
Mark Côté
f4b82f624b
Updated NEWS.md for issue #49 .
14 years ago
Mark Côté
c0900a1dac
Updated API.md for %q time-series tick-label option.
14 years ago
Mark Côté
657a39b8f9
Unbitrotted risicle's patch from issue #49 .
...
Also fixed formatting and removed unused change to tickFormatter args.
14 years ago
Arpan Chinta
91f6b6ae40
Fix broken behavior for interacting demo
14 years ago
David Schnur
fa025fab91
Updated style guidelines for horizontal spacing.
14 years ago
David Schnur
c6ddfa5664
Merge pull request #896 from dnschnur/license-headers
...
Updated license headers for #805 .
14 years ago
David Schnur
9e21074d82
Updated license headers for #805 .
...
Added licensing information to each file's headers, along with some
minor cleanup.
14 years ago
David Schnur
8df11479ee
Merge pull request #893 from markrcote/master
...
Update timezone-js and Olson db; list sources in README.md.
14 years ago
Mark Côté
2b1f934336
Remove link since it's broken on github.
14 years ago
Mark Côté
298309ef49
Update README.md to link to examples/index.html.
14 years ago
Mark Côté
883dda2a20
Updated timezone-js and Olson database to fix time zones example. Updated README.
14 years ago
David Schnur
f267cc10ca
Updated credits for #888 global variables.
14 years ago
David Schnur
c98c310887
Merge pull request #889 from dnschnur/code-fixes
...
Fixed global variables and missing seimcolons.
14 years ago
David Schnur
8b99640553
Declare variables that should have been local.
14 years ago
David Schnur
afc97ba099
Added a missing semicolon.
14 years ago
David Schnur
3073264d16
Added a missing semicolon.
14 years ago
David Schnur
308ff28166
Declare a variable that should have been local.
14 years ago
David Schnur
b3a19afb05
Comment out bizzarre impossible code.
14 years ago
David Schnur
179bed9617
Declare variables that should have been local.
14 years ago
David Schnur
8110f0c1d9
Added missing semicolons.
14 years ago
David Schnur
6c960a8add
Added a missing semicolon.
14 years ago
David Schnur
a3df340afb
Added missing semicolons.
14 years ago
David Schnur
78ee3c7081
Updated code style to match Flot's guidelines.
14 years ago
David Schnur
a10206c13a
Added a missing semicolon.
14 years ago