diff --git a/views/index.php b/views/index.php index 3087505..6ff4323 100644 --- a/views/index.php +++ b/views/index.php @@ -62,7 +62,7 @@ - +
http://cryptohistory.org/charts/candlestick/dash-btc/7d/svg
https://cryptohistory.org/charts/candlestick/dash-btc/7d/svg
Sparklines too! ETH 7 days:
-
<img src="http://cryptohistory.org/charts/sparkline/eth-btc/7d/svg" alt="ETH 7d chart" style="vertical-align: bottom;">
+ <img src="https://cryptohistory.org/charts/sparkline/eth-btc/7d/svg" alt="ETH 7d chart" style="vertical-align: bottom;">
The URL is flexible:
- http://cryptohistory.org/charts/{theme}/{currency}-btc/{timespan}/{format}
https://cryptohistory.org/charts/{theme}/{currency}-btc/{timespan}/{format}
Theme: dark
, light
, or sparkline
.
Currency: anything active on Poloniex. Prices are all in bitcoin.
Timespan: 1y
, 30d
, 7d
, or 24h
.
Format: svg
(best) or png
.
If you use svg format, you can control some of the colors with GET parameters: lineColor
, markerColor
, risingColor
, fallingColor
. Some examples: http://cryptohistory.com/charts/dark/maid-btc/7d/svg?lineColor=5593D7&markerColor=29578A
http://cryptohistory.org/charts/candlestick/fct-btc/7d/svg?risingColor=FE8534&fallingColor=00BAE9
+
If you use svg format, you can control some of the colors with GET parameters: lineColor
, markerColor
, risingColor
, fallingColor
. Some examples: https://cryptohistory.com/charts/dark/maid-btc/7d/svg?lineColor=5593D7&markerColor=29578A
https://cryptohistory.org/charts/candlestick/fct-btc/7d/svg?risingColor=FE8534&fallingColor=00BAE9
Ethereum 24h, dark SVG: http://cryptohistory.org/charts/dark/eth-btc/24h/svg
Litecoin 30d, light PNG: http://cryptohistory.org/charts/light/ltc-btc/30d/png
Doge 1y, dark SVG, yellow line: http://cryptohistory.org/charts/dark/doge-btc/1y/svg?lineColor=BB9F32
Ethereum 24h, dark SVG: https://cryptohistory.org/charts/dark/eth-btc/24h/svg
Litecoin 30d, light PNG: https://cryptohistory.org/charts/light/ltc-btc/30d/png
Doge 1y, dark SVG, yellow line: https://cryptohistory.org/charts/dark/doge-btc/1y/svg?lineColor=BB9F32