-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
931 additions
and
13 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
90 changes: 90 additions & 0 deletions
90
src/components/CurvedLineChart/__snapshots__/index.cspec.tsx.snap
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 |
---|---|---|
@@ -0,0 +1,90 @@ | ||
exports[`CurvedLineChart > should render correctly #0`] = ` | ||
<svg class="jsx-1328844139" style="overflow: visible;"> | ||
<g | ||
fill="none" | ||
font-size="10" | ||
font-family="sans-serif" | ||
text-anchor="middle" | ||
class="x-axis" | ||
style="transform: translateY(150px);" | ||
> | ||
<path class="domain" stroke="currentColor" d="M0.5,6V0.5H300.5V6"></path> | ||
<g class="tick" opacity="1" transform="translate(0.5,0)"> | ||
<line stroke="currentColor" y2="6"></line> | ||
<text fill="currentColor" y="9" dy="0.71em">1</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(50.5,0)"> | ||
<line stroke="currentColor" y2="6"></line> | ||
<text fill="currentColor" y="9" dy="0.71em">2</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(100.5,0)"> | ||
<line stroke="currentColor" y2="6"></line> | ||
<text fill="currentColor" y="9" dy="0.71em">3</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(150.5,0)"> | ||
<line stroke="currentColor" y2="6"></line> | ||
<text fill="currentColor" y="9" dy="0.71em">4</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(200.5,0)"> | ||
<line stroke="currentColor" y2="6"></line> | ||
<text fill="currentColor" y="9" dy="0.71em">5</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(250.5,0)"> | ||
<line stroke="currentColor" y2="6"></line> | ||
<text fill="currentColor" y="9" dy="0.71em">6</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(300.5,0)"> | ||
<line stroke="currentColor" y2="6"></line> | ||
<text fill="currentColor" y="9" dy="0.71em">7</text> | ||
</g> | ||
</g> | ||
<g | ||
fill="none" | ||
font-size="10" | ||
font-family="sans-serif" | ||
text-anchor="start" | ||
class="y-axis" | ||
style="transform: translateX(300px);" | ||
> | ||
<path class="domain" stroke="currentColor" d="M0.5,150.5V0.5"></path> | ||
<g class="tick" opacity="1" transform="translate(0,150.5)"> | ||
<line stroke="currentColor" x2="6"></line> | ||
<text fill="currentColor" x="9" dy="0.32em">0</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(0,130.5)"> | ||
<line stroke="currentColor" x2="6"></line> | ||
<text fill="currentColor" x="9" dy="0.32em">20</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(0,110.50000000000001)"> | ||
<line stroke="currentColor" x2="6"></line> | ||
<text fill="currentColor" x="9" dy="0.32em">40</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(0,90.5)"> | ||
<line stroke="currentColor" x2="6"></line> | ||
<text fill="currentColor" x="9" dy="0.32em">60</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(0,70.5)"> | ||
<line stroke="currentColor" x2="6"></line> | ||
<text fill="currentColor" x="9" dy="0.32em">80</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(0,50.50000000000001)"> | ||
<line stroke="currentColor" x2="6"></line> | ||
<text fill="currentColor" x="9" dy="0.32em">100</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(0,30.499999999999993)"> | ||
<line stroke="currentColor" x2="6"></line> | ||
<text fill="currentColor" x="9" dy="0.32em">120</text> | ||
</g> | ||
<g class="tick" opacity="1" transform="translate(0,10.499999999999998)"> | ||
<line stroke="currentColor" x2="6"></line> | ||
<text fill="currentColor" x="9" dy="0.32em">140</text> | ||
</g> | ||
</g> | ||
<path | ||
class="line" | ||
d="M0,125C0,125,33.333333333333336,123.33333333333333,50,120C66.66666666666666,116.66666666666667,83.33333333333334,110,100,105C116.66666666666666,100,133.33333333333334,85.83333333333333,150,90C166.66666666666666,94.16666666666667,183.33333333333334,130.83333333333334,200,130C216.66666666666666,129.16666666666666,233.33333333333334,94.16666666666667,250,85C266.6666666666667,75.83333333333333,300,75,300,75" | ||
fill="none" | ||
stroke="blue" | ||
></path> | ||
</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
Oops, something went wrong.
335f33a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: