Commit Graph

845 Commits (master)
 

Author SHA1 Message Date
Nick Schonning 958e5fd43c Merge pull request #1299 from ukleinek/master
fix a few trivial typos concerning "separation" and "command"
12 years ago
Uwe Kleine-König 31087722e8 fix a few trivial typos concerning "separation" and "command" 12 years ago
David Schnur 453b017cc5 Update version number to 0.8.3 final. 12 years ago
David Schnur f17893ea35 Updated NEWS for the 0.8.3 release. 12 years ago
David Schnur 7f63b0703b Work-around for full-width plots.
Introduces an unofficial work-around for the behavior introduced in
0.8.0, where we reserve extra space for the first and last tick labels.
 This makes it impossible for plots to span the full width of their
container.

This work-around overloads the reserveSpace option, which normally only
applies when show = false.  Now, if show = true and reserveSpace =
false, we skip the step that allocates extra space for labels.

We’ll introduce a proper solution in 0.9, but this should provide a way
for users to move forward in the meantime.
12 years ago
David Schnur 27883ac92b Merge pull request #1290 from dnschnur/axis-labels-fix
Revert #1200; it was causing #1283 breakages.
12 years ago
David Schnur 0beb104eb9 Revert #1200; it was causing #1283 breakages.
The fix for an unnecessary gap on the right of the chart turned out to
break text wrapping for ticks that were legitimately in that position.

Fixes #1283.
12 years ago
David Schnur 2a3e3cd4da Merge pull request #1289 from dnschnur/resize-rate-fix
Update the inline resize plugin with recent fixes.
12 years ago
David Schnur e31ff8e565 Fix IE-breaking trailing comma in the example. 12 years ago
David Schnur 7aec501eaf Update the inline resize plugin with recent fixes.
This updates the inline resize plugin with
flot/jquery-resize@74716750f4 and flot/jquery-resize@189b555558.

Fixes #1277 and #1265.
12 years ago
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