- 27 Feb, 2013 1 commit
-
-
David Schnur authored
Resolves #489.
-
- 22 Feb, 2013 2 commits
-
-
David Schnur authored
-
David Schnur authored
This resolves issue #964.
-
- 20 Feb, 2013 2 commits
-
-
David Schnur authored
Fix example (syntax error and indenting).
-
Sergiy Borodych authored
-
- 16 Feb, 2013 1 commit
-
-
David Schnur authored
Add 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 authored
This resolves #18, but without catching zero, which is a valid key.
-
- 13 Feb, 2013 1 commit
-
-
David Schnur authored
Added a legend 'reverse' sorting option.
-
- 12 Feb, 2013 3 commits
-
-
David Schnur authored
-
David Schnur authored
This orders the legend entries in reverse order of their series.
-
David Schnur authored
-
- 10 Feb, 2013 1 commit
-
-
David Schnur authored
-
- 09 Feb, 2013 8 commits
-
-
David Schnur authored
Added the plot function as a chainable property.
-
David Schnur authored
-
David Schnur authored
-
David Schnur authored
-
David Schnur authored
Modern browser consoles obviate the need for an object logging function.
-
David Schnur authored
-
David Schnur authored
The previous processing step already guarantees that the values are numeric.
-
David Schnur authored
This resolves #534 by handling the case where data is a string, whether it is provided alone or as a pair. We can also eliminate the old and unnecessary check for undefined values.
-
- 08 Feb, 2013 2 commits
-
-
David Schnur authored
-
David Schnur authored
Resolves #734 and #816.
-
- 07 Feb, 2013 2 commits
-
-
David Schnur authored
-
David Schnur authored
Fix inability to set the point lineWidth to 0.
-
- 05 Feb, 2013 2 commits
-
-
David Schnur authored
This resolves #895.
-
David Schnur authored
-
- 03 Feb, 2013 9 commits
-
-
David Schnur authored
This temporary fix addresses the problem described in #810, and possibly #945, where calls to setData for a pie chart do nothing.
-
David Schnur authored
-
David Schnur authored
-
David Schnur authored
The canvasWidth, canvasHeight, legendWidth and legendHeight variables existed only to share data between the setupPie and draw functions. Now that setupPie has been folded into draw, they're no longer necessary.
-
David Schnur authored
This code is only used to prepare the plot for drawing; inlining it is cleaner and will allow us to get rid of some plugin-global variables that existed only to give setupPie a way to share data with the draw function.
-
David Schnur authored
The redraw flag starts out as true, then is immediately set to false on draw. If labels are enabled, drawPie calls drawLabels, which calls drawLabel for each label. Any label that can't fit sets redraw back to true, so the whole process can repeat. This isn't the most obvious mechanism, and forces one to remember to do things like setting redraw back to true after drawing, so the plot can redraw itself on resize or when setting new data. Instead we now have drawPie return true when it drew successfully, and false otherwise, which the same happening in drawLabels and drawLabel. Instead of checking the flag, we now just check the return value. This has the added benefit of slightly improving performance in the case where several redraws are necessary, since it now short-circuits out of the draw loop as soon as one label fails to fit.
-
David Schnur authored
-
David Schnur authored
The total is only used within the combine function; it doesn't need to exist at the top level of the plugin.
-
David Schnur authored
They're small and not used anywhere else, so keeping them in separate functions only serves to increase complexity.
-