From 603666e167164e0f3ef9e3ce41c7a9edbc8161cc Mon Sep 17 00:00:00 2001 From: Joshua Seigler Date: Mon, 4 Jul 2016 04:25:33 -0400 Subject: [PATCH] added prettier sample chart --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bdf2021..faff1e0 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ PHP project to generate clean-looking SVG price charts -![Dash 24h price in BTC from Poloniex](http://cryptohistory.org/charts/dark/dash-btc/7d/svg) +![Dash 24h price in BTC from Poloniex](http://cryptohistory.org/charts/dark/dash-btc/30d/svg?lineColor=1C74BC) 7d of Dash price in Bitcoin from Poloniex.com ## Requirements @@ -38,7 +38,7 @@ You are now ready to use NeatCharts. ### Install NeatCharts manually -Just download the folder `NeatCharts` (in `src`) and place it alongside your php file. Add the following at the top of your PHP file: +Download the folder `NeatCharts` (in `src`) and place it alongside your php file. Add the following at the top of your PHP file: ```php spl_autoload_extensions(".php"); @@ -57,6 +57,7 @@ $chart = new NeatCharts/LineChart($chartData, [ // all parameters optional 'labelColor'=>"#777", 'smoothed'=>false ]); +print ''; print $chart->render(); ```