Commit Graph

835 Commits (1d3a062833593c1917462fb846f94215dfde52b1)
 

Author SHA1 Message Date
David Schnur 1d3a062833 Update copyright year to 2014. 12 years ago
David Schnur 51aea3463b Merge pull request #1284 from dnschnur/multi-axis-min-fix
Allow x2axis/y2axis with no min/max to auto-scale.
12 years ago
David Schnur 7f906431f7 Merge pull request #1285 from dnschnur/jquery-attr-fix
Fix zoom to selection box when using jQuery 1.9+.
12 years ago
David Schnur 095799cd13 Merge pull request #1286 from dnschnur/jquery-detach-fix
Provide a detach shim for jQuery prior to 1.4.
12 years ago
David Schnur 86f7ab1e48 Allow x2axis/y2axis with no min/max to auto-scale.
Using x2axis/y2axis to add a second axis is deprecated, but we
currently still support it.  Historically we’ve just extended the first
axis’s options with the second’s, but that is a problem when the first
has min/max and the second doesn’t; it will inherit an inappropriate
min/max.

We might want to consider not extending at all, but since that’s a
bigger change we’ll for now just ensure that if no min/max is
specified, we respect that.

Fixes #1228.
12 years ago
David Schnur e17d379834 Provide a detach shim for jQuery prior to 1.4.
Flot 0.8 still officially supports jQuery 1.2.6 and higher, so we can’t
assume the existence of detach.  This will go away in 0.9, where the
minimum jQuery version is 1.4.4.

Fixes #1240.
12 years ago
David Schnur 4964dcb3c1 Fix zoom to selection box when using jQuery 1.9+.
Fixes #1250.
12 years ago
David Schnur 3aec7ce0bd Merge pull request #1221 from soenter/master
Improve the performance of large data processing
12 years ago
David Schnur b36246bbe6 Merge pull request #1238 from SaM-Solutions/fix-combined-data
Pie: Fix combined data to keep all other original values.
12 years ago
Phil Tsarik 28cc35845f Add a comment explaining why extend is being used 12 years ago
soenter 38f7a8c58d Improve the performance of large data processing(fix spaces -> tabs) 12 years ago
Phil Tsarik bc707fead9 Pie: Fix combined data to keep all other original values.
But not only data, color, label, angle, percent as was before.
Allows to store own values in series and use them e.g. in labelFormatter.
12 years ago
soenter b9c6359c22 Improve the performance of large data processing 12 years ago
David Schnur e2147c078e Merge pull request #1028 from ilvalle/master
Make dateGenerator publicly accessible.
12 years ago
David Schnur 6d1db085cf Merge pull request #1205 from naknak/issue1204
Proposed fix for issue 1204: only enforce zoom limits in the direction of the merge
12 years ago
David Schnur 4db2939f17 Fix poor wording / typo in comment. 12 years ago
David Schnur 739cefd539 Add sub-pixel adjustments to avoid blurry markings.
Fixes #1210.
12 years ago
David Schnur e5d2237829 Use floor instead of round for better sub-pixel accuracy. 12 years ago
David Schnur 4c86903b99 Logic tweak to save a few bytes. 12 years ago
David Schnur e4c035b37d Updated version number to 0.8.3-alpha. 12 years ago
Neil Katin 8e761580cb Proposed fix for issue 1204: only enforce zoom limits in the direction of the zoom. 13 years ago
David Schnur 39bc058b21 Fixed an error when plotting an empty dataset.
This was accidentally introduced by #1200; we can’t assume that
axis.ticks is an array.
13 years ago
David Schnur 525d46ea8d Removed duplicate NEWS entry. 13 years ago
David Schnur 00e93b6d46 Update version numbers to 0.8.2 final. 13 years ago
David Schnur d436c04c86 Updated NEWS for the 0.8.2 release. 13 years ago
David Schnur 08d5bfadaa Merge pull request #1200 from dnschnur/xaxis-plot-size-fix
Don't add padding when there's no last tick.
13 years ago
David Schnur 968271a458 Merge pull request #1199 from dnschnur/line-height-default-fix
Default lineHeight based on the font size.
13 years ago
David Schnur d973ba22d3 Merge pull request #1198 from dnschnur/axis-grid-fix
Distinguish between the first and innermost axis.
13 years ago
David Schnur 745d24cc79 Default lineHeight based on the font size.
Flot 0.8.0 used the default font size, typically derived from the
placeholder, as the basis for the default lineHeight.  This produced
incorrect results when a font.size was provided explicitly, and it
differed from the placeholder’s CSS size.

Fixed by waiting to default lineHeight until the actual font size has
been resolved.  Fixes #1131.
13 years ago
David Schnur 1650c18442 Don't add padding when there's no last tick.
Flot 0.8 added logic to account for the size of axis tick labels and add
padding around the edges of the plot, to prevent long labels from
sticking out.  But it padded both sides equally, which is incorrect if
the right/top side has no last axis label.

Fixed by allocating padding per-side, and checking whether the last
label would be shown before padding the top or right.  Fixes #1048.
13 years ago
David Schnur edac9e0ed2 Distinguish between the first and innermost axis.
The fix for #1056 caused a regression where grid lines were drawn for
the innermost axes on both sides instead of just the first axis.
Fixed by properly distinguishing the first axis in each direction from
the innermost one on each side.  Fixes #1075.
13 years ago
David Schnur 7fa063e9ba Merge pull request #1130 from thgreasi/master
Added plot.destroy() method, to properly destruct and release memory of plots.
13 years ago
David Schnur 319f4dfe94 Apply fix from #1084 to the inline copy in jquery.flot.js. 13 years ago
David Schnur 65cba84351 Merge pull request #1180 from anthonyryan1/complex-not-bug
:not(selector , selector) isn't actually a valid CSS selector
13 years ago
Anthony Ryan eed38b8d4f :not(selector , selector) isn't actually a valid CSS selector
jQuery's Sizzle is the only thing that this actually works in so jQuery will fail when it passes this directly to querySelectorAll()
13 years ago
David Schnur 403b9532fb Fix line wrapping and grammar. 13 years ago
David Schnur bdd9ceb906 Merge pull request #1182 from Holek/patch-1
Add Ruby examples
13 years ago
Mike Połtyn 2cc2ab8975 typo in ActiveSupport::TimeWithZone example 13 years ago
Mike Połtyn f79e106471 Add Ruby examples 13 years ago
David Schnur c195e836fb Minor cleanup / optimization of font-size defaulting. 13 years ago
David Schnur fd1a02416a Merge pull request #1135 from coldford/master
Fixed a bug where plotting a chart crashes if the placeholder doesn't have a font size
13 years ago
David Schnur 4701726302 Additional style fixes on code merged from #1160. 13 years ago
David Schnur 6008cd7a1d Merge pull request #1160 from luisvsilva/master
Fixed Issue #1159 - Bug Redrawing Legend when using custom container
13 years ago
David Schnur 5d99034e24 Mandate jsDoc comments for file/function headers. 13 years ago
David Schnur 86c82e517b Merge pull request #1177 from exactamedia/labelWidth_bug
fix label's maxWidth calculation
13 years ago
Benjamin Gram 6a9f71f70e fix label's maxWidth calculation 13 years ago
David Schnur 0c2f6e30c2 Slight cleanup / optimization for #1084. 13 years ago
David Schnur 82f28d28e3 Merge pull request #1084 from execjosh/stop-also-at-root-element
Also stop at root when extracting CSS color
13 years ago
Luis Silva 91d254894d Added curly braces to match flot style guidelines 13 years ago
Luis Silva 3041b38d8d Fixed Issue #1159 - Bug Redrawing Legend when using custom container 13 years ago