- 14 Oct, 2013 2 commits
-
-
David Schnur authored
-
David Schnur authored
Also stop at root when extracting CSS color
-
- 23 Sep, 2013 2 commits
-
-
David Schnur authored
-
David Schnur authored
-
- 21 Sep, 2013 1 commit
-
-
execjosh authored
This change adds an additional check for whether the parent element is `null` or `undefined` in `$.color.extract`. This can happen when working with elements that have not yet been added to the DOM under `<body>`. Consider the following example pie chart. var elm = $("<div />") .css({ width: "240px" , height: "320px" }) var data = [ {label: "One", data: "33"} , {label: "Two", data: "33"} , {label: "Three", data: "33"} ] var opts = { legend: { show: true } , series: { pie: { show: true } } } $.plot(elm, data, opts) elm.appendTo($("body")) When flot inserts each legend row, it tries to use the same color as the corresponding graph part, unless it was explicitly specified in the options. However, in this example, `$.color.extract` runs into an unexpected `null` reference because `<body>` is not an ancestor of `elm`. Specifically, a `TypeError: Cannot read property 'nodeName' of undefined` would be thrown.
-
- 15 Sep, 2013 2 commits
-
-
David Schnur authored
The pie plugin was a little too clever in its use of closures. In processDatapoints it set canvas, target, and options for use in other functions. Since options was not declared this meant that it became global. Pages containing multiple pie plots therefore saw a range of weird effects resulting from earlier plots receiving some of the options set by later ones. Resolves #1128, resolves #1073, resolves #1055.
-
David Schnur authored
If an explicit numeric offset was provided, we should not override it. The clipping is only meant to apply to the case where the center is moved to make room for the legend in 'auto' mode, anyway.
-
- 11 Sep, 2013 1 commit
-
-
David Schnur authored
Link to PLUGINS.md
-
- 04 Sep, 2013 1 commit
-
-
Brian Peiris authored
-
- 01 Sep, 2013 1 commit
-
-
David Schnur authored
Instantiate barLeft/barRight in Bar Highlighting Section
-
- 29 Aug, 2013 1 commit
-
-
Eric Byers authored
-
- 09 Aug, 2013 1 commit
-
-
David Schnur authored
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.
-
- 22 Jul, 2013 8 commits
-
-
David Schnur authored
The drawBar method was always called with an offset of zero, and I see no other way in which it is currently used. Resolves #382.
-
David Schnur authored
This is up to 2x faster and appears to work around issues in Chrome's canvas implementation that sometimes result in bars not being filled. Resolves #915.
-
David Schnur authored
Fixing Issue 686: Tooltip bug
-
David Schnur authored
-
David Schnur authored
Resolves #997 and #1081.
-
David Schnur authored
-
David Schnur authored
Throwing an exception was overkill for such a limited-use option; we should reserve those, and the file-size bytes they consume, for serious cases only.
-
David Schnur authored
Support for right-aligned bars was never added to the hover or highlight code; only the actual bar drawing. We need to replicate that in the other two places as well. Resolves #1093.
-
- 19 Jul, 2013 4 commits
-
-
David Schnur authored
-
David Schnur authored
-
David Schnur authored
Always remove the tick text in drawAxisLabels() regardless of axis settings
-
Mark Côté authored
Since a plot may be redrawn after removing ticks or hiding the axis, the tick text should always be removed before determining if there are ticks to draw.
-
- 03 Jul, 2013 4 commits
-
-
David Schnur authored
Fix typo in API.md
-
David Schnur authored
Change [olson] to http link
-
Patrik Ragnarsson authored
-
Patrik Ragnarsson authored
GitHub doesn't render ftp links for some reason ([security?][1]). [1]: https://github.com/mojombo/jekyll/issues/373#issuecomment-15025728
-
- 15 Jun, 2013 1 commit
-
-
Cedric Le Roux authored
-
- 31 May, 2013 2 commits
-
-
David Schnur authored
-
David Schnur authored
Add table of contents
-
- 30 May, 2013 2 commits
-
-
Brian Peiris authored
-
Brian Peiris authored
The reference document is quite large; a table of contents would help readers navigate and find topics. (TOC was generated via [DocToc](http://doctoc.herokuapp.com/))
-
- 29 May, 2013 2 commits
-
-
David Schnur authored
-
David Schnur authored
Lots of people ask about implementing tooltips; hopefully enabling it by default will help them find it more easily.
-
- 28 May, 2013 1 commit
-
-
David Schnur authored
-
- 27 May, 2013 4 commits
-
-
David Schnur authored
These changes were used to test the axis innermost property fix, and should not have been committed.
-
David Schnur authored
-
David Schnur authored
An axis is innermost when it's first among those not just in its direction, but also on its side, i.e. left/right, of the plot. So the inArray check should be against the samePosition list, not all. Resolves #1056.
-
David Schnur authored
It doesn't make sense to calculate the innermost property only when no tickLength has been provided; the two have little to do with each other.
-