\App\Admin\Metrics\ExamplesNewDevices

Summary

Methods
Properties
Constants
render()
fill()
withChart()
No public properties found
No constants found
init()
withContent()
$labels
N/A
No private methods found
No private properties found
N/A

Properties

$labels

$labels

Methods

render()

render() : string

渲染模板

Returns

string —

fill()

fill() : void

写入数据.

withChart()

withChart(array  $data) : $this

设置图表数据.

Parameters

array $data

Returns

$this —

init()

init() : mixed

初始化卡片内容

Returns

mixed —

withContent()

withContent(mixed  $desktop, mixed  $mobile) : $this

设置卡片头部内容.

Parameters

mixed $desktop
mixed $mobile

Returns

$this —