CSActiveScriptChart
in package
Implementation of a special chart type for the active scripts
Tags
Table of Contents
- addData() : mixed
- getHtml() : string
- Get the chart HTML string
- makeHtml() : string
- Get the chart HTML view
- prepareChart() : mixed
- Prepare the chart values
- setData() : mixed
- Set the chart data
- setEndTime() : mixed
- Set the chart end time value
- setMaxValue() : mixed
- Set the chart max value
- setStartTime() : mixed
- Set the chart start time value
- setSubTitle() : mixed
- Set the chart subtitle
- setTitle() : mixed
- Set the chart title
- setVerticalUnit() : mixed
- Sets the vertical unit
Methods
addData()
public
addData(mixed $label, mixed $start, mixed $end, mixed $duration, mixed $status, mixed $memory, mixed $color, mixed $onclick) : mixed
Parameters
- $label : mixed
- $start : mixed
-
in seconds since 1970
- $end : mixed
-
in seconds since 1970
- $duration : mixed
-
in seconds
- $status : mixed
- $memory : mixed
- $color : mixed
- $onclick : mixed
Tags
Return values
mixed —getHtml()
Get the chart HTML string
public
getHtml() : string
Tags
Return values
string —makeHtml()
Get the chart HTML view
public
makeHtml() : string
Tags
Return values
string —prepareChart()
Prepare the chart values
public
prepareChart() : mixed
Tags
Return values
mixed —setData()
Set the chart data
public
setData(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
Tags
Return values
mixed —setEndTime()
Set the chart end time value
public
setEndTime(int $endTime) : mixed
Parameters
- $endTime : int
Tags
Return values
mixed —setMaxValue()
Set the chart max value
public
setMaxValue(float $maxValue) : mixed
Parameters
- $maxValue : float
Tags
Return values
mixed —setStartTime()
Set the chart start time value
public
setStartTime(int $startTime) : mixed
Parameters
- $startTime : int
Tags
Return values
mixed —setSubTitle()
Set the chart subtitle
public
setSubTitle(string $subTitle) : mixed
Parameters
- $subTitle : string
Tags
Return values
mixed —setTitle()
Set the chart title
public
setTitle(string $title) : mixed
Parameters
- $title : string
Tags
Return values
mixed —setVerticalUnit()
Sets the vertical unit
public
setVerticalUnit(mixed $unit) : mixed
Parameters
- $unit : mixed
