Manage chart data.
More...
◆ __construct()
App\CoreModule\Model\ThisChartManager::__construct |
( |
Context |
$database, |
|
|
ThisSensorManager |
$thisSensorManager |
|
) |
| |
◆ sensorChartDataState()
App\CoreModule\Model\ThisChartManager::sensorChartDataState |
( |
|
$rawData, |
|
|
|
$from, |
|
|
|
$to, |
|
|
string |
$type, |
|
|
int |
$interval, |
|
|
string |
$stateType |
|
) |
| |
- Parameters
-
| $rawData | |
string | $type | type of interval (hour, day, week, month) |
int | $interval | count of events per type (4 times per hour) |
| $stateType | |
- Returns
- array
◆ zeroAdd()
App\CoreModule\Model\ThisChartManager::zeroAdd |
( |
|
$number | ) |
|
Add zero before short number.
- Parameters
-
- Returns
- string
◆ zeroOut()
App\CoreModule\Model\ThisChartManager::zeroOut |
( |
|
$number | ) |
|
Remove zero from short number.
- Parameters
-
- Returns
- string
The documentation for this class was generated from the following file: