OMG it works!!

This commit is contained in:
Joshua Seigler 2016-06-30 23:09:09 -04:00
parent e1784bdd4c
commit 3d1e2a774b
5 changed files with 34 additions and 77 deletions

View file

@ -3,12 +3,10 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<title>NeatCharts demo</title>
<title>Embeddable Cryptocurrency Charts : Cryptohistory</title>
<style>
main {
-webkit-columns: 800px 2;
-moz-columns: 800px 2;
columns: 800px 2;
margin: 0 auto;
}
section {
display: inline-block;
@ -22,20 +20,24 @@
<body>
<header>
<h1>NeatCharts demo</h1>
<h1>Embeddable Cryptocurrency Charts</h1>
</header>
<main>
<section>
<h2>Poloniex Dash/BTC Price</h2>
<img src="/charts/dash/24h" alt="Poloniex Dash/BTC price">
<figure>
<img src="/charts/dark/dash-btc/7d/svg" alt="Poloniex Dash/BTC price">
<figcaption>7 Day Dash price in BTC <code>http://cryptohistory.org/charts/dark/dash-btc/7d/svg</code></figcaption>
</figure>
</section>
<section>
<h2>Fake Stock Market Data</h2>
</section>
<section>
<h2>Monotonically Smoothed Chart</h2>
<h2>Build your own chart:</h2>
<p>The URL is flexible: <code>http://cryptohistory.org/charts/{theme}/{main-currency}-{chart-currency}/{timespan}/{format}</code>.</p>
<p>Theme: <code>dark</code> or <code>light</code>.</p>
<p>Main currency: anything on Poloniex.</p>
<p>Chart currency: any of the chart currencies on Poloniex, like BTC or USDT.</p>
<p>Timespan: <code>7d</code> or <code>24h</code>. More options coming soon.</p>
<p>Format: <code>svg</code> (best) or <code>png</code>.</p>
</section>
</main>