Fix date for graph, problem introduced in 3f5668
This commit is contained in:
@@ -338,7 +338,7 @@
|
||||
'name'=>$key,
|
||||
'dashStyle'=>'ShortDot',
|
||||
'visible'=>$item->first()->show,
|
||||
'data'=>$item->map(function($item) { return ['x'=>\Carbon\Carbon::createFromFormat('Y-m-d',$item->date)->timestamp,'y'=>$item->count]; })
|
||||
'data'=>$item->map(function($item) { return ['x'=>\Carbon\Carbon::createFromFormat('Y-m-d',$item->date)->timestamp*1000,'y'=>$item->count]; })
|
||||
]; })
|
||||
->values() !!}
|
||||
});
|
||||
|
Reference in New Issue
Block a user