- 05 Mar, 2013 1 commit
- 
- 
martinqt authored
 
- 
- 03 Mar, 2013 7 commits
- 
- 
David Schnur authoredMoved canvas text support into a plugin. 
- 
David Schnur authored
- 
David Schnur authored
- 
David Schnur authoredThese styles are deprecated, but we'll continue to use them until the release of version 1.0.0, for backwards-compatibility. 
- 
David Schnur authored
- 
David Schnur authoredThe tickLabel class is deprecated in favor of flot-tick-label, but we'll continue to use it until the release of version 1.0.0, for backwards-compatibility. 
- 
David Schnur authored
 
- 
- 02 Mar, 2013 1 commit
- 
- 
David Schnur authored
 
- 
- 01 Mar, 2013 1 commit
- 
- 
David Schnur authoredAdded selection plugin options. 
 
- 
- 27 Feb, 2013 3 commits
- 
- 
David Schnur authoredTweaked the description to indicate that we no longer combine single slices into 'other', and reduced the threshold from 10% to 5% to encourage more slices to combine in the demo. 
- 
David Schnur authoredResolves #638. 
- 
David Schnur authoredResolves #489. 
 
- 
- 26 Feb, 2013 3 commits
- 
- 
rlinehan authoredPreviously, the minimum size a selection could be was set at five pixels. This commit adds the ability to customize this value. 
- 
rlinehan authoredPreviously, if the selected area was very small, the selection rectangle would not be displayed. This commit adds an "alwaysShow" option so that, when true, the selection rectangle will always be displayed. When the selected area is very small, the selection rectangle will become a line. 
- 
rlinehan authoredThis commit adds an option for the shape of the corners of the selection rectangle. By default the shape is set to "round" (the previous setting for lineJoin). The other options are "bevel" and "miter". 
 
- 
- 24 Feb, 2013 5 commits
- 
- 
David Schnur authoredPreviously the cache was divided only by layer, with entries keyed on a string built from the text and style. Now the style has its own tier in the cache, i.e. layers > styles > text > info. This introduces some complexity, since the nested for loops are ugly, but at the same time we avoid having to create the cache-key strings. More importantly it solves the problem of uniqueness that exists when we try to join strings that may contain arbitrary text. It also allows a further optimization in the canvas plugin, which can now set text style and color just once per distinct style, instead of with every string. 
- 
David Schnur authoredThis lets users 'namespace' text more naturally, i.e. placing x-axis labels in a different container from y-axis labels, providing more flexibility when it comes to styling and interactivity. Internally the text cache now has a second tier: layers > text > info. 
- 
David Schnur authoredThe getTextInfo method previously added new text to the top-level container when measuring it. Now it adds the text to the text layer, just as it will be when rendered, so that parent-child CSS rules can resolve correctly. This also avoids having to safe a reference to the top-level container, since it wasn't used anywhere else. 
- 
David Schnur authoredThis sets the stage for allowing the use of multiple layers. 
- 
David Schnur authoredAlso switch from dashes to pipes, and remove the angle for now, since we don't currently support rotated text. 
 
- 
- 23 Feb, 2013 1 commit
- 
- 
David Schnur authoredEvery cache element now contains the actual text element instead of just its HTML, plus a flag indicating whether it is visible. The addText and removeText methods control the state of this flag, and the render method uses it to manage elements within the text container. So where we previously used drawText to actually render text, now we add each string once, then let the render method take care of drawing them as necessary. This dramatically improves performance by eliminating the need to clear and re-populate HTML text on every drawing cycle. Since the elements are now static between add/remove calls, this also allows users to add interactivity, as they could in 0.7. Finally, it eliminates the need for a separate 'hot' cache. I also removed the unnecessary 'dimensions' object; it's easier and faster to store the width and height at the top level of the info object. 
 
- 
- 22 Feb, 2013 2 commits
- 
- 
David Schnur authored
- 
David Schnur authoredThis resolves issue #964. 
 
- 
- 21 Feb, 2013 1 commit
- 
- 
David Schnur authored
 
- 
- 20 Feb, 2013 2 commits
- 
- 
David Schnur authoredFix example (syntax error and indenting). 
- 
Sergiy Borodych authored
 
- 
- 17 Feb, 2013 1 commit
- 
- 
David Schnur authored
 
- 
- 16 Feb, 2013 2 commits
- 
- 
David Schnur authoredThis significantly improves performance, since we already create the elements when measuring them, and that effort is now no longer wasted. We must take care to detach, rather than remove, when clearing the text layer, so we can add the elements back later if necessary. 
- 
David Schnur authoredAdd basic Travis CI setup with test script that runs JSHint. 
 
- 
- 15 Feb, 2013 5 commits
- 
- 
Brian Peiris authored
- 
Brian Peiris authored
- 
Brian Peiris authored
- 
Brian Peiris authored
- 
Brian Peiris authored
 
- 
- 14 Feb, 2013 1 commit
- 
- 
David Schnur authoredThis resolves #18, but without catching zero, which is a valid key. 
 
- 
- 13 Feb, 2013 1 commit
- 
- 
David Schnur authoredAdded a legend 'reverse' sorting option. 
 
- 
- 12 Feb, 2013 3 commits
- 
- 
David Schnur authored
- 
David Schnur authoredThis orders the legend entries in reverse order of their series. 
- 
David Schnur authored
 
- 
