芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/yeahea.digitalhubbd.com/app/Charts/VisitorsOfMonths.php
0 ? config('charts.visitors.breakdown_last_days') : null; if ($breakdown) { $lastWeek = CharttHelper::Days($breakdown, 'l'); $lastWeek[$breakdown - 1] = trans('app.today'); $labels = array_merge($labels, $lastWeek); } $this->height(300)->width(0) ->labels($labels) ->options([ 'subtitle' => [ 'text' => $per_day_visits > 0 ? trans('app.visits_per_day', ['value' => $per_day_visits]) : null, ], 'legend' => [ 'layout' => 'vertical', 'align' => 'left', 'verticalAlign' => 'top', 'x' => 40, 'y' => 30, 'floating' => true, 'borderWidth' => 0, 'backgroundColor' => '#FFFFFF', ], 'yAxis' => [ 'title' => [ 'text' => null, ], ], 'tooltip' => [ 'shared' => true, ], 'credits' => [ 'enabled' => false, ], 'plotOptions' => [ 'series' => [ // 'fillOpacity' => 0.5, 'marker' => [ 'enabled' => false, ], ], ], 'exporting' => [ 'buttons' => [ 'contextButton' => [ 'menuItems' => ['printChart', 'downloadPNG', 'downloadCSV', 'downloadXLS'], ], ], ], ]); } }