feat: add grids and shadows

This commit is contained in:
Joshua Seigler 2017-03-07 03:02:51 -05:00
parent 5e4e6277c8
commit eda603a367
2 changed files with 19 additions and 12 deletions

18
composer.lock generated
View file

@ -60,16 +60,16 @@
}, },
{ {
"name": "phpfastcache/phpfastcache", "name": "phpfastcache/phpfastcache",
"version": "4.3.17", "version": "4.3.18",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/PHPSocialNetwork/phpfastcache.git", "url": "https://github.com/PHPSocialNetwork/phpfastcache.git",
"reference": "348f765dbb426f5da1d009802ab496909e4ad691" "reference": "82a84adff6e8fc9b564c616d0fdc9238ae2e86c3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/PHPSocialNetwork/phpfastcache/zipball/348f765dbb426f5da1d009802ab496909e4ad691", "url": "https://api.github.com/repos/PHPSocialNetwork/phpfastcache/zipball/82a84adff6e8fc9b564c616d0fdc9238ae2e86c3",
"reference": "348f765dbb426f5da1d009802ab496909e4ad691", "reference": "82a84adff6e8fc9b564c616d0fdc9238ae2e86c3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -127,7 +127,7 @@
"redis", "redis",
"wincache" "wincache"
], ],
"time": "2016-05-17 22:29:47" "time": "2017-01-24 00:38:01"
}, },
{ {
"name": "seigler/neat-charts", "name": "seigler/neat-charts",
@ -135,12 +135,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/seigler/neat-charts.git", "url": "https://github.com/seigler/neat-charts.git",
"reference": "eb9a5e927992e32569d767d6bac8e7291d99661b" "reference": "d17faefe885a3da78b2a9e6232d5ad43dcd080e3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/seigler/neat-charts/zipball/eb9a5e927992e32569d767d6bac8e7291d99661b", "url": "https://api.github.com/repos/seigler/neat-charts/zipball/d17faefe885a3da78b2a9e6232d5ad43dcd080e3",
"reference": "eb9a5e927992e32569d767d6bac8e7291d99661b", "reference": "d17faefe885a3da78b2a9e6232d5ad43dcd080e3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -171,7 +171,7 @@
"charts", "charts",
"svg" "svg"
], ],
"time": "2016-07-21 03:23:54" "time": "2017-03-07 07:57:21"
} }
], ],
"packages-dev": [], "packages-dev": [],

View file

@ -81,7 +81,10 @@ function renderChart(
'width'=>800, 'width'=>800,
'height'=>250, 'height'=>250,
'smoothed'=>false, 'smoothed'=>false,
'fontSize'=>12 'yAxisEnabled'=>true,
'xAxisEnabled'=>true,
'fontSize'=>12,
'shadow'=>'#000'
], ],
'dark'=>[ 'dark'=>[
'lineColor'=>'#000', 'lineColor'=>'#000',
@ -90,7 +93,10 @@ function renderChart(
'width'=>800, 'width'=>800,
'height'=>250, 'height'=>250,
'smoothed'=>false, 'smoothed'=>false,
'fontSize'=>12 'yAxisEnabled'=>true,
'xAxisEnabled'=>true,
'fontSize'=>12,
'shadow'=>'#FFF'
], ],
'sparkline'=>[ 'sparkline'=>[
'lineColor'=>'#000', 'lineColor'=>'#000',
@ -110,7 +116,8 @@ function renderChart(
'labelColor'=>'#000', 'labelColor'=>'#000',
'fontSize'=>15, 'fontSize'=>15,
'yAxisEnabled'=>true, 'yAxisEnabled'=>true,
'xAxisEnabled'=>false 'xAxisEnabled'=>true,
'shadow'=>'#FFF'
], ],
'filled'=>[ 'filled'=>[
'width'=>800, 'width'=>800,