Commit Graph

927 Commits (5f59ec87c9260a08a17bfb632b2894832b08cd5f)
 

Author SHA1 Message Date
Sebastian Widmer 5f59ec87c9 add comment to browser detection 12 years ago
Sebastian Widmer 6fd170d034 no confusing use of "!" 12 years ago
Sebastian Widmer 143c61a550 fix browser detection for jQuery > 2.0
jQuery removed $.support.leadingWhitespace from jquery greater 2.0
because support was dropped for IE 7/8. So if property is undefined,
we are pretty shure its ie > 8 or jQuery does not support the browser
anyway.
12 years ago
David Schnur 08e705fd6f Merge pull request #1239 from jgillich/patch-2
Lowercase name in package.json
12 years ago
Jakob Gillich 09b280c147 Lowercase name in package.json 12 years ago
David Schnur 8d8973ee34 Merge pull request #1230 from nschonni/reorg-file-tree
Move JS files under src directory
12 years ago
Nick Schonning d37ce8e3fe Update examples page script paths 12 years ago
David Schnur a3a1404420 Merge pull request #1231 from nschonni/fix-jscs-task
Fix JSCS task
12 years ago
Nick Schonning b52f09ac9a Fix JSCS task
- Remove reporter output, it was useful for triaging issues but no
longer required
- Add JSCS call to the default build chain
12 years ago
Nick Schonning 9242e2acca Move JS files under src directory 12 years ago
David Schnur 1513877c3c Merge pull request #1229 from nschonni/add-grunt-jscs-checker
Add grunt jscs checker
12 years ago
Nick Schonning f335b499e3 JSCS: Combine variable declarations
This only covers declarations that are consecutive
12 years ago
Nick Schonning e1cd97603d JSCS: Remove multiple line breaks 12 years ago
Nick Schonning 20d8194b1f JSCS: Remove Illegal spaces 12 years ago
Nick Schonning e40c0c5ba1 JSCS: Fix JSDoc parameters 12 years ago
Nick Schonning 53c49b6796 JSCS: Adding missing spaces around operators 12 years ago
Nick Schonning 339aab91ca JSCS: Don't stick operators to values
Fix jQuery preset as per https://github.com/mdevils/node-jscs/issues/117
12 years ago
Nick Schonning fcc7c16bc5 JSCS: Remove space between function and bracket 12 years ago
Nick Schonning 67dce05429 Add jQuery JSCS style checking
Grunt is bumped due to a bad peerDependency in the grunt plugin
12 years ago
David Schnur 2d2efc545e Merge pull request #1206 from naknak/issue505
Fix for issue 505: add touch events to jquery.flot.selection.
12 years ago
David Schnur c221fd3449 Merge pull request #1209 from Jeff-Tian/0.9-work
Allow text markings without a solid background.
12 years ago
Jeff Tian 59767e65b0 Allow 0 sized markings. 13 years ago
Neil Katin b6d392b25b Fix jslint issues with previous version 13 years ago
Neil Katin 518396a4b7 Fix for issue 505: add touch events to jquery.flot.selection. Code taken from google code issue 426,
updated to work against 0.9-work branch.
13 years ago
David Schnur fc1e40948a Fixed style violations introduced by 0.8.2 merge. 13 years ago
David Schnur 3035aaaeca Merge branch 'master' into 0.9-work
Conflicts:
	component.json
	flot.jquery.json
	jquery.flot.js
	jquery.flot.pie.js
	jquery.flot.resize.js
	lib/jquery.colorhelpers.js
	package.json
13 years ago
David Schnur ea4bfb11ce Merge pull request #1178 from Jeff-Tian/0.9-work
Enrich Flot with the ability to add text into markings.
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
Jeff Tian b100f441cd Enrich the flot with the ability to add text into markings.
Use $.isArray instead of instanceof Array; Use full name for parameters.
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 a8aac7a1a0 Merge pull request #1195 from nschonni/add-gitattributes
Add .gitattributes file for EOL normalization
13 years ago
Nick Schonning 98aba43184 Add .gitattributes file for EOL normalization 13 years ago
David Schnur 7593583ba1 Merge pull request #1190 from Jeff-Tian/FixIssues
Add missing references and minor update on jquery.flot.js.
13 years ago
Jeff Tian eae079f580 Add missing references and minor update on jquery.flot.js.
Revert the change on jquery.flot.js

Revert the change on jquery.flot.js

Add missing references and minor update on jquery.flot.js.

Revert the change on jquery.flot.js

Revert changes on jquery.flot.js.

Revert the changes to the jquery.flot.js that made by Visual Studio 2012.
13 years ago
David Schnur c34744fcfe Merge pull request #1194 from jBouyoud/0.9-patch-707-778
Patch for Issue #707 and #778 (0.9-work)
13 years ago
David Schnur 6578355dc0 Merge pull request #1188 from mcamenzind/0.9-work
Added ability to resize the plot to a given size.
13 years ago
Julien Bouyoud 0706d03695 Put a tab instead of with spaces 13 years ago
Julien Bouyoud 2e513c99aa Patch for Issue 707 and 778
- Fixes the issue where steps altering user datapoints
- Do not altering user data points for drawing lines with steps 
(even stacked); just consider drawing with steps enables a different 
kind of plotting and clipping on lines and areas; that assuming that 
drawing with steps must always go horizontally and then verticaly 
(like previous inserted datapoints).
13 years ago
David Schnur 319f4dfe94 Apply fix from #1084 to the inline copy in jquery.flot.js. 13 years ago
Marzell Camenzind 07a6189d29 Added ability to resize the plot to a given size. 13 years ago
David Schnur 8a7204de50 Merge pull request #1184 from anthonyryan1/0.9-work
CSP compatibility (flot core)
13 years ago