- 08 May, 2013 2 commits
-
-
David Schnur authored
Resolves #1030. The performance impact should be low, and is the correct thing to do in just about all cases where a plot is being redrawn.
-
David Schnur authored
Resolves #1033.
-
- 06 May, 2013 2 commits
-
-
David Schnur authored
Removed executable permissions from jquery.flot.selection.js
-
Marcelo Jorge Vieira authored
-
- 05 May, 2013 3 commits
-
-
David Schnur authored
Flot 0.7 calculated x-axis label dimensions by assigning each label a fixed width, then measuring the height as determined by the browser. A side-effect of this technique is that x-axis label divs received a fixed width. The rewrite of the text system in 0.8 accidentally removed this feature; this patch restores it.
-
David Schnur authored
The optional width parameter establishes a maximum width for the text's bounding box, forcing it to wrap when it reaches that size.
-
David Schnur authored
-
- 28 Apr, 2013 4 commits
-
-
David Schnur authored
Regression on pie plugin in the data format allowed
-
Nicolas Morel authored
-
David Schnur authored
Patch for colors array, issue #1031
-
goorpy authored
Per request from dnschnur (https://github.com/flot/flot/pull/1034#issuecomment-17119203), I have: - Added a comment explaining the purpose of the new check/override - Changed the structure to match preferred standard structure
-
- 27 Apr, 2013 2 commits
-
-
David Schnur authored
Add links between API.md and README.md
-
David Schnur authored
Remove $.isNumeric() for compat with jQuery < 1.7. Fixes #1026
-
- 26 Apr, 2013 2 commits
-
-
Brian Peiris authored
-
Brian Peiris authored
-
- 24 Apr, 2013 1 commit
-
-
goorpy authored
(Realted to flot issue #1031: https://github.com/flot/flot/issues/1031) Currently, if the user declares a custom color palette with less than 5 colors (say, n), $.extend(true, options, opts) only modifies the first n colors of the default palette and leaves the last 5-n in place. When the number of series is >n, colors are used that are not part of user-defined palette, contrary to description of colors array in API. This line overrides the extended colors array and replaces it with exactly the user-defined colors array, when present. Afterwards, the user color palette is respected by the auto tinting/shading system for when there are more series than colors.
-
- 23 Apr, 2013 1 commit
-
-
Lee Willis authored
-
- 21 Apr, 2013 1 commit
-
-
David Schnur authored
-
- 20 Apr, 2013 2 commits
-
-
David Schnur authored
Remove some incorrect else-if logic in time plugin.
-
David Schnur authored
Avoid propagating mouse wheel events when they're first caught by the navigate plugin.
-
- 19 Apr, 2013 2 commits
-
-
Daniel Shapiro authored
Looks like this was mistakenly introduced in a whitespace/bracket cleanup.
-
vird authored
BUGFIX navigation wheel scrolls page.
-
- 13 Apr, 2013 2 commits
-
-
David Schnur authored
-
David Schnur authored
Resolves #1016. Initialization consists of adding the tickGenerator and tickFormatter functions to each axis. This should happen exactly once per plot, but since the code was previously using the processDatapoints hook, it was called once per series. When no series were present, it ran zero times, triggering an exception when we later checked for the existence of the functions. Binding to the processOptions hook ensures that the axes are always modified once, regardless of how many series there are. The axes are already initialized by the point the hook runs, so this change shouldn't cause any problems.
-
- 12 Apr, 2013 3 commits
-
-
David Schnur authored
-
David Schnur authored
-
David Schnur authored
-
- 10 Apr, 2013 1 commit
-
-
David Schnur authored
-
- 08 Apr, 2013 3 commits
-
-
David Schnur authored
-
David Schnur authored
-
David Schnur authored
-
- 06 Apr, 2013 2 commits
-
-
David Schnur authored
-
David Schnur authored
Resolves #1000. In Flot 0.7 we only calculated tickDecimals and tickSize once, when creating the tickGenerator for the first time. This meant that calls to setupGrid failed to recalculate the values, as reported in #860. #861 fixed the problem by moving calculation into tickGenerator, but this turned out to cause a new problem, since the function doesn't run when an explicit ticks array is provided. This commit solves both by always recalculating the values outside of the tickGenerator function. As far as I can tell the only reason it wasn't done this way from the beginning was to avoid unnecessary work in the case where tickGenerator is already provided in the options. But the extra work is negligible, and it's actually more consistent for the properties to always be set.
-
- 03 Apr, 2013 1 commit
-
-
David Schnur authored
Ole's original implementation used 'middle', which I switched away from. After a great deal of testing it turns out that 'middle' does in fact provide the most consistent results, so we're switching back to it.
-
- 02 Apr, 2013 6 commits
-
-
David Schnur authored
-
David Schnur authored
The values don't change, so there's no reason to repeat those calculations on every redraw. The resulting code is not just faster, but also smaller and simpler, and we no longer need to store halign in the text info object.
-
David Schnur authored
The setting is the same for everything, so there's no reason to re-set it every time.
-
David Schnur authored
The core implementation used parseInt, which was originally to catch text values, but really only stayed due to its side-effect of flooring the values. The canvas implementation has never rounded coordinates. This led to various one-pixel rendering glitches between the two implementations. I've fixed the problem by consistently rounding coordinates to the nearest whole number.
-
David Schnur authored
-
David Schnur authored
Line height is a core font property - it can be specified as part of the unified 'font' definition - and we therefore need to give users access to it when they're manually defining the font.
-