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
Jeff Tian
59767e65b0
Allow 0 sized markings.
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
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
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
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
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
c34744fcfe
Merge pull request #1194 from jBouyoud/0.9-patch-707-778
...
Patch for Issue #707 and #778 (0.9-work)
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
Anthony Ryan
947ba2f8a5
Fix the jQuery tag creation process
...
Move the rowBuffer definition closer to it's usage within the method
13 years ago
Anthony Ryan
bec29dcd2e
Fix a serious oversight that occurred when merging pull request #919 into 0.9-work for this pull request
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
Anthony Ryan
b009b371aa
Address formatting concerns
...
* Removed self-closing tags
* Move the the nested divs into variables
* Expand the object literals for easier reading
13 years ago
Anthony Ryan
864ef0282c
Fix an unrelated style guide violation merged earlier today
13 years ago
Anthony Ryan
c14eaf4587
CSP compatibility for flot legend
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
9671e73def
Merge pull request #1113 from trask/highlight-vertexes-when-no-points
...
Highlight vertexes when no points
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
Benjamin Gram
6a9f71f70e
fix label's maxWidth calculation
13 years ago
David Schnur
9bb52ea5b9
Merge branch '0.9-jsDoc-fix' of https://github.com/ameyms/flot into ameyms-0.9-jsDoc-fix
...
Conflicts:
jquery.flot.js
13 years ago
Amey Sakhadeo
61fb96d792
Use jsDoc style comments
13 years ago
Amey Sakhadeo
77405d86f5
Use jquery.isNumeric instead of typeof number
13 years ago
David Schnur
cc1d6bf38c
Minor cleanup in axisOptions check.
13 years ago
David Schnur
80851c0dd7
Merge pull request #1107 from trask/undefined-axis-options-fix
...
Handle undefined axisOptions in 0.9-work
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
Nick Schonning
7c52f44431
Convert remaining tabs to spaces
13 years ago
Nick Schonning
678ff275ba
Enforce indenting with JSHint
...
- Doesn't differentiate between tabs and spaces
- Switch/Case indenting may seem odd to some
13 years ago
Craig Oldford
593cbc5f19
Fixed a bug where plotting a chart crashes if the placeholder doesn't have a font size
13 years ago
Thodoris Greasidis
6f294cedf6
Added plot.destroy() method, to properly destruct and release memory of a plot.
13 years ago
Eric Byers
bfc5d2ae7f
Instantiating barLeft/barRight
13 years ago
Trask Stalnaker
a17be4c57e
Highlight vertexes when no points
...
When series.points.show is false, currently a ring appears on highlight
around where the point would have been. Instead, display the point on
highlight.
13 years ago
Trask Stalnaker
5e3ba78f6f
Handle undefined axisOptions
...
I ran into this issue when upgrading from 0.8.1 to 0.9-work.
13 years ago
David Schnur
ce3bdb0886
Fixed autoscale check when using null x/y values.
...
The autoscale check was too broad; it included the case where autoscale
was undefined. This resulted in axes not expanding correctly when
coordinates at the end of a series had null x or y values. Fixed by
narrowing the check to !== false; resolves #1095 .
13 years ago