|
| $sStartTime |
|
| $sEndTime |
|
| $sActualGrain |
|
| $iDataSource |
|
| $sMode |
|
| $sMessage |
|
| $aFilters = array() |
|
| $aData = array() |
|
| $aLabelsX = array() |
|
| $sModLabel |
|
| $sListLabel |
|
| $sSqlWhatForDiagram |
|
| $sSqlOptionsForDiagram |
|
| $sSqlWhatForList |
|
| $sSqlOptionsForList |
|
| $sSqlWhatFromWhere |
|
| $bListable |
|
| $sFormatX |
|
| $sTitle |
|
| $sTitleX |
|
| $sTitleY |
|
| $sDescription |
|
| $sFilterText = '' |
|
BsDiagram::__construct |
( |
| ) |
|
BsDiagram::addFilter |
( |
|
$oFilter | ) |
|
Adds a filter to list of available filters
- Parameters
-
BsDiagram::addFilterText |
( |
|
$sFilterText | ) |
|
Adds a description of active filter.
- Parameters
-
BsDiagram::getActualGrain |
( |
| ) |
|
Get grain to use
- Returns
- string BsDiagram::GRAIN_
Gets list of data points
- Returns
- array List of integers
BsDiagram::getDataSource |
( |
| ) |
|
Gets source of data
- Returns
- int BsDiagram::DATASOURCE_
BsDiagram::getDescription |
( |
| ) |
|
Gets description of diagram
- Returns
- string
BsDiagram::getDiagramKey |
( |
| ) |
|
Gets the diagram key
- Returns
- string
BsDiagram::getEndTime |
( |
| ) |
|
Get upper boundary of date interval
- Returns
- string Date string
BsDiagram::getFilter |
( |
|
$sFilterKey | ) |
|
Returns an active filter
- Parameters
-
string | $sFilterKey | ParamKey of filter |
- Returns
- BsStatisticsFilter Instance of filter.
BsDiagram::getFilters |
( |
| ) |
|
BsDiagram::getFilterText |
( |
| ) |
|
Gets description of active filters.
- Returns
- string
BsDiagram::getFormatX |
( |
| ) |
|
Gets format of point labels
- Returns
- string Format as defined by jpGraph
BsDiagram::getLabelsX |
( |
| ) |
|
Gets list of x axis labels
- Returns
- array List of strings
BsDiagram::getListLabel |
( |
| ) |
|
Gets headings for column headers
- Returns
- array
BsDiagram::getMessage |
( |
| ) |
|
Get mode of data presentation
- Returns
- string BsDiagram::MODE_
Get mode of data presentation
- Returns
- string BsDiagram::MODE_
BsDiagram::getModLabel |
( |
| ) |
|
Gets format labels for x shall be generated from
- Returns
- string time format item, e.g. "M" for month (Jan, Feb...)
Get current SQL statement for data retrieval
- Returns
- string SQL statement
BsDiagram::getStartTime |
( |
| ) |
|
Get lower boundary of date interval
- Returns
- string Date string
Gets overall title of the diagram
- Parameters
-
Gets title for x axis
- Parameters
-
Gets title for y axis
- Returns
- string
Is this diagram a list
- Returns
- bool
BsDiagram::isListable |
( |
| ) |
|
Can this diagram be presented in list mode.
- Returns
- bool
BsDiagram::setActualGrain |
( |
|
$sActualGrain | ) |
|
Set grain to use
- Parameters
-
string | $sActualGrain | BsDiagram::GRAIN_ |
BsDiagram::setData |
( |
|
$aData | ) |
|
Sets list of data points
- Parameters
-
array | $aData | List of integers |
BsDiagram::setDescription |
( |
|
$sDescription | ) |
|
Sets description of diagram
- Parameters
-
BsDiagram::setEndTime |
( |
|
$sEndTime | ) |
|
Set u boundary of date interval
- Parameters
-
string | $sEndTime | Date string |
BsDiagram::setFilters |
( |
|
$aFilters | ) |
|
Set list of available filters for this diagram
- Parameters
-
BsDiagram::setFormatX |
( |
|
$sFormatX | ) |
|
Sets format of point labels
- Parameters
-
string | $sFormatX | Format as defined by jpGraph |
BsDiagram::setLabelsX |
( |
|
$aLabelsX | ) |
|
Sets list of x axis labels
- Parameters
-
array | $aLabelsX | List of strings |
BsDiagram::setMessage |
( |
|
$sMessage | ) |
|
Set mode of data presentation
- Parameters
-
string | $sMode | BsDiagram::MODE_ |
BsDiagram::setMode |
( |
|
$sMode | ) |
|
Set mode of data presentation
- Parameters
-
string | $sMode | BsDiagram::MODE_ |
BsDiagram::setModLabel |
( |
|
$sModLabel | ) |
|
Sets format labels for x shall be generated from
- Parameters
-
string | $sModLabel | time format item, e.g. "M" for month (Jan, Feb...) |
BsDiagram::setStartTime |
( |
|
$sStartTime | ) |
|
Set ower boundary of date interval
- Parameters
-
string | $sStartTime | Date string |
BsDiagram::setTitle |
( |
|
$sTitle | ) |
|
Sets overall title of the diagram
- Parameters
-
BsDiagram::setTitleX |
( |
|
$sTitleX | ) |
|
Sets title for x axis
- Parameters
-
BsDiagram::setTitleY |
( |
|
$sTitleY | ) |
|
Sets title for y axis
- Parameters
-
const BsDiagram::DATASOURCE_DATABASE = 1 |
Data shall be retrieved from database
const BsDiagram::DATASOURCE_LOGFILE = 2 |
Data shall be retrieved fromlogfile
const BsDiagram::GRAIN_DAY = 'd' |
Diagram time resoution: days
const BsDiagram::GRAIN_MONTH = 'm' |
Diagram time resoution: months
const BsDiagram::GRAIN_WEEK = 'W' |
Diagram time resoution: (calendar) weeks
const BsDiagram::GRAIN_YEAR = 'y' |
Diagram time resoution: years
const BsDiagram::MODE_ABSOLUTE = "absolute" |
Data shall be presented as is
const BsDiagram::MODE_AGGREGATED = "aggregated" |
Data shall be aggregated (added up)
const BsDiagram::MODE_LIST = "list" |
Data shall be presented as a list
The documentation for this class was generated from the following file:
- /home/hwfunc/workspace/leonid/BlueSpiceDoc-composer/mediawiki-REL1_27/extensions/BlueSpiceExtensions/Statistics/includes/Diagram.class.php