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
2 changed files
with
6 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!DOCTYPE html> | ||
<html><head></head><body><div style="width: 400px; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px; font-family: sans-serif; "><h2>Hoplon • Chart Demo</h2><hr><p>Click the plot area to pause/play. Hover over a point to see its coordinates. Slide the slider to adjust plot width.</p><svg style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: black; margin-left: 0px; " width="400" height="200"><polygon style="fill: #006666; stroke: none; fill-opacity: 0.5; " points="0,200 0,60.00000000000001 44.44444444444444,140 88.88888888888889,60.00000000000001 133.33333333333331,120 177.77777777777777,80 222.22222222222223,200 266.66666666666663,140 311.11111111111114,100 355.55555555555554,120 400,100 400,200"></polygon><polygon style="fill: #660066; stroke: none; fill-opacity: 0.5; " points="0,200 0,19.999999999999996 44.44444444444444,120 88.88888888888889,180 133.33333333333331,19.999999999999996 177.77777777777777,180 222.22222222222223,0 266.66666666666663,19.999999999999996 311.11111111111114,180 355.55555555555554,160 400,0 400,200"></polygon><polyline style="fill: none; stroke: #006666; stroke-width: 2px; " points="0,60.00000000000001 44.44444444444444,140 88.88888888888889,60.00000000000001 133.33333333333331,120 177.77777777777777,80 222.22222222222223,200 266.66666666666663,140 311.11111111111114,100 355.55555555555554,120 400,100"></polyline><polyline style="fill: none; stroke: #660066; stroke-width: 2px; " points="0,19.999999999999996 44.44444444444444,120 88.88888888888889,180 133.33333333333331,19.999999999999996 177.77777777777777,180 222.22222222222223,0 266.66666666666663,19.999999999999996 311.11111111111114,180 355.55555555555554,160 400,0"></polyline><g><span></span></g><g><span></span></g></svg><br clear="none"><input type="range" id="w" style="width:400px" min="400" max="800" step="1" value="400"><p>Part of <a shape="rect" href="https://github.com/tailrecursion/hoplon-demos/">Hoplon Demos</a>, check it out on GitHub!</p></div><script type="text/javascript">var CLOSURE_NO_DEPS = true;</script><script type="text/javascript" src="main.js"></script><script type="text/javascript">tailrecursion.hoplon.app_pages.G__4896.hoploninit();</script></body></html> | ||
<html><head></head><body><div style="width: 400px; margin-top: 0px; margin-right: auto; margin-bottom: 0px; margin-left: auto; text-align: center; padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px; font-family: sans-serif; "><h2>Hoplon • Chart Demo</h2><hr><p>Click the plot area to pause/play. Hover over a point to see its coordinates. Slide the slider to adjust plot width.</p><svg style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: black; margin-left: 0px; " width="400" height="200"><polygon style="fill: #006666; stroke: none; fill-opacity: 0.5; " points="0,200 0,160 44.44444444444444,39.99999999999999 88.88888888888889,100 133.33333333333331,200 177.77777777777777,100 222.22222222222223,120 266.66666666666663,80 311.11111111111114,140 355.55555555555554,0 400,160 400,200"></polygon><polygon style="fill: #660066; stroke: none; fill-opacity: 0.5; " points="0,200 0,100 44.44444444444444,120 88.88888888888889,60.00000000000001 133.33333333333331,80 177.77777777777777,39.99999999999999 222.22222222222223,140 266.66666666666663,80 311.11111111111114,160 355.55555555555554,140 400,0 400,200"></polygon><polyline style="fill: none; stroke: #006666; stroke-width: 2px; " points="0,160 44.44444444444444,39.99999999999999 88.88888888888889,100 133.33333333333331,200 177.77777777777777,100 222.22222222222223,120 266.66666666666663,80 311.11111111111114,140 355.55555555555554,0 400,160"></polyline><polyline style="fill: none; stroke: #660066; stroke-width: 2px; " points="0,100 44.44444444444444,120 88.88888888888889,60.00000000000001 133.33333333333331,80 177.77777777777777,39.99999999999999 222.22222222222223,140 266.66666666666663,80 311.11111111111114,160 355.55555555555554,140 400,0"></polyline><g><span></span></g><g><span></span></g></svg><br clear="none"><input type="range" id="w" style="width:400px" min="400" max="800" step="1" value="400"><a shape="rect" href="https://github.com/tailrecursion/hoplon-demos/blob/master/plotSVG/src/index.cljs.hl">Source Code</a></div><script type="text/javascript">var CLOSURE_NO_DEPS = true;</script><script type="text/javascript" src="main.js"></script><script type="text/javascript">tailrecursion.hoplon.app_pages.G__4896.hoploninit();</script></body></html> |
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