better example

This commit is contained in:
Joshua Seigler 2016-07-07 03:35:20 -04:00
parent 9cf422cdc1
commit b28531d4ec

View file

@ -86,8 +86,8 @@
<p>Theme: <code>dark</code>, <code>light</code>, or <code>sparkline</code>.</p>
<p>Currency: anything active on Poloniex. Prices are all in bitcoin.</p>
<p>Timespan: <code>1y</code>, <code>30d</code>, <code>7d</code>, or <code>24h</code>.</p>
<p>Format: <code>svg</code> (best) or <code>png</code>.<br>
If you use svg format, you can add <code>lineColor=</code> to the end of the URL for a custom plot-line color, or <code>markerColor=</code> to change the color of the marker at the far right. Example: <code><a href="/charts/dark/maid-btc/7d/svg?lineColor=5593D7&markerColor=29578A">http://cryptohistory.com/charts/dark/maid-btc/7d/svg?lineColor=5593D7&amp;markerColor=29578A</a></code>
<p>Format: <code>svg</code> (best) or <code>png</code>.</p>
<p>If you use svg format, you can control some of the colors with GET parameters: <code>lineColor</code>, <code>markerColor</code>, <code>risingColor</code>, <code>fallingColor</code>. Some examples: <code><a href="/charts/dark/maid-btc/7d/svg?lineColor=5593D7&markerColor=29578A">http://cryptohistory.com/charts/dark/maid-btc/7d/svg?lineColor=5593D7&amp;markerColor=29578A</a></code> <code><a href="/charts/candlestick/fct-btc/7d/svg?risingColor=FE8534&fallingColor=00BAE9">http://cryptohistory.org/charts/candlestick/fct-btc/7d/svg?risingColor=FE8534&amp;fallingColor=00BAE9</a></code>
</p>
</section>
<section>