forked from danvk/dygraphs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support stroke patterns (i.e. dashed/dotted lines).
Patterns can be arbitrarily complicated sequences of lines and breaks, or pre-built constants like Dygraph.DOTTED_LINE. See tests/per-series.html for an example of how this works. commit 214caf668bb8472605c505c124fd14e5d3b5a956 Merge: db2e28c 25c4046 Author: Dan Vanderkam <danvk@google.com> Date: Thu Jan 26 17:33:08 2012 -0500 Merge branch 'stroke_pattern' of https://github.com/bluthen/dygraphs into bluthen commit 25c4046 Author: Russell Valentine <russ@coldstonelabs.org> Date: Thu Jan 26 14:43:14 2012 -0600 Few changes suggested by Dan Vanderkam. commit a9965f3 Author: Russell Valentine <russ@coldstonelabs.org> Date: Thu Jan 26 00:41:44 2012 -0600 Stroke patterns in the legend that scale to 1em. commit 62f2905 Author: Russell Valentine <russ@coldstonelabs.org> Date: Sat Jan 21 12:14:03 2012 -0600 Sets dimensions for graph div in dash test so it could pass if default size ever changes. commit bfece39 Author: Russell Valentine <russ@coldstonelabs.org> Date: Fri Jan 20 17:22:33 2012 -0600 Added a simple dash unit test. It tests if it draw the correct number of lines and remembers pattern history between points. commit 57539c8 Author: Russell Valentine <russ@coldstonelabs.org> Date: Wed Jan 18 23:50:13 2012 -0600 Comment wording changes. Added default string stroke patterns object to allow for more code reuse. commit de28662 Author: Russell Valentine <russ@coldstonelabs.org> Date: Wed Jan 18 22:48:16 2012 -0600 Use "font-weight: bold" in style instead of the bold tag. commit f595823 Author: Russell Valentine <russ@coldstonelabs.org> Date: Wed Jan 18 22:12:50 2012 -0600 Reverted CanvasAssertions.js to have no modifications. Moved array compare function to dygraph-utils. Moved dashedLine into DygraphCanvasRenderer instead of in CanvasRenderingContext2D. Added some comments and used better variable names. Included are some lint warning fixes and style conformity changes. commit 4b5e255 Author: Russell Valentine <russ@coldstonelabs.org> Date: Wed Jan 18 14:33:13 2012 -0600 Actual dashedLine coordinates checked now. Oops. commit a5930c6 Author: Russell Valentine <russ@coldstonelabs.org> Date: Wed Jan 18 14:25:51 2012 -0600 per series stroke pattern support.
- Loading branch information
Showing
6 changed files
with
303 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.