-
-
Notifications
You must be signed in to change notification settings - Fork 693
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from andinoriel/feature/days
Display actual dates on x-axis
- Loading branch information
Showing
10 changed files
with
72 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Graph Generation 1`] = `"<svg xmlns:ct=\\"http://gionkunz.github.com/chartist-js/ct\\" width=\\"10\\" height=\\"5\\" class=\\"ct-chart-line\\"><g class=\\"ct-grids\\"><line x1=\\"90\\" x2=\\"90\\" y1=\\"80\\" y2=\\"81\\" class=\\"ct-grid ct-horizontal\\"></line><line x1=\\"90.5\\" x2=\\"90.5\\" y1=\\"80\\" y2=\\"81\\" class=\\"ct-grid ct-horizontal\\"></line><line x1=\\"91\\" x2=\\"91\\" y1=\\"80\\" y2=\\"81\\" class=\\"ct-grid ct-horizontal\\"></line><line y1=\\"81\\" y2=\\"81\\" x1=\\"90\\" x2=\\"91\\" class=\\"ct-grid ct-vertical\\"></line></g><g><g class=\\"ct-series ct-series-a\\"><path d=\\"M90,81C90.167,80.833,90.333,80.667,90.5,80.5C90.667,80.333,90.833,80.167,91,80\\" class=\\"ct-line\\"></path><line x1=\\"90\\" y1=\\"81\\" x2=\\"90.01\\" y2=\\"81\\" class=\\"ct-point\\" ct:value=\\"1\\"></line><line x1=\\"90.5\\" y1=\\"80.5\\" x2=\\"90.51\\" y2=\\"80.5\\" class=\\"ct-point\\" ct:value=\\"2\\"></line><line x1=\\"91\\" y1=\\"80\\" x2=\\"91.01\\" y2=\\"80\\" class=\\"ct-point\\" ct:value=\\"3\\"></line></g></g><g class=\\"ct-labels\\"><text x=\\"85.5\\" y=\\"101\\" width=\\"0.5\\" height=\\"40\\" class=\\"ct-label ct-horizontal ct-end\\">1</text><text x=\\"86\\" y=\\"101\\" width=\\"0.5\\" height=\\"40\\" class=\\"ct-label ct-horizontal ct-end\\">2</text><text x=\\"86.5\\" y=\\"101\\" width=\\"30\\" height=\\"40\\" class=\\"ct-label ct-horizontal ct-end\\">3</text><text y=\\"85.5\\" x=\\"80\\" height=\\"30\\" width=\\"60\\" class=\\"ct-label ct-vertical ct-start\\">1</text></g><text class=\\"ct-axis-title ct-label\\" x=\\"90.5\\" y=\\"131\\" dominant-baseline=\\"text-after-edge\\" text-anchor=\\"middle\\">Days</text><text class=\\"ct-axis-title ct-label\\" x=\\"20\\" y=\\"80.5\\" transform=\\"rotate(-90, 20, 80.5)\\" dominant-baseline=\\"hanging\\" text-anchor=\\"middle\\">Contributions</text></svg>"`; | ||
exports[`Graph Generation 1`] = `"<svg xmlns:ct=\\"http://gionkunz.github.com/chartist-js/ct\\" width=\\"10\\" height=\\"5\\" class=\\"ct-chart-line\\"><g class=\\"ct-grids\\"><line x1=\\"90\\" x2=\\"90\\" y1=\\"80\\" y2=\\"81\\" class=\\"ct-grid ct-horizontal\\"></line><line x1=\\"90.5\\" x2=\\"90.5\\" y1=\\"80\\" y2=\\"81\\" class=\\"ct-grid ct-horizontal\\"></line><line x1=\\"91\\" x2=\\"91\\" y1=\\"80\\" y2=\\"81\\" class=\\"ct-grid ct-horizontal\\"></line><line y1=\\"81\\" y2=\\"81\\" x1=\\"90\\" x2=\\"91\\" class=\\"ct-grid ct-vertical\\"></line></g><g><g class=\\"ct-series ct-series-a\\"><path d=\\"M90,81C90.167,80.833,90.333,80.667,90.5,80.5C90.667,80.333,90.833,80.167,91,80\\" class=\\"ct-line\\"></path><line x1=\\"90\\" y1=\\"81\\" x2=\\"90.01\\" y2=\\"81\\" class=\\"ct-point\\" ct:value=\\"1\\"></line><line x1=\\"90.5\\" y1=\\"80.5\\" x2=\\"90.51\\" y2=\\"80.5\\" class=\\"ct-point\\" ct:value=\\"2\\"></line><line x1=\\"91\\" y1=\\"80\\" x2=\\"91.01\\" y2=\\"80\\" class=\\"ct-point\\" ct:value=\\"3\\"></line></g></g><g class=\\"ct-labels\\"><text x=\\"85.5\\" y=\\"101\\" width=\\"0.5\\" height=\\"40\\" class=\\"ct-label ct-horizontal ct-end\\">Sep 1</text><text x=\\"86\\" y=\\"101\\" width=\\"0.5\\" height=\\"40\\" class=\\"ct-label ct-horizontal ct-end\\">Sep 2</text><text x=\\"86.5\\" y=\\"101\\" width=\\"30\\" height=\\"40\\" class=\\"ct-label ct-horizontal ct-end\\">Sep 3</text><text y=\\"85.5\\" x=\\"80\\" height=\\"30\\" width=\\"60\\" class=\\"ct-label ct-vertical ct-start\\">1</text></g><text class=\\"ct-axis-title ct-label\\" x=\\"90.5\\" y=\\"131\\" dominant-baseline=\\"text-after-edge\\" text-anchor=\\"middle\\">Days</text><text class=\\"ct-axis-title ct-label\\" x=\\"20\\" y=\\"80.5\\" transform=\\"rotate(-90, 20, 80.5)\\" dominant-baseline=\\"hanging\\" text-anchor=\\"middle\\">Contributions</text></svg>"`; |
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
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