ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
__construct (array $dimensions, array $dimension_groups=[]) | |
getDimensions () | |
getDimensionGroups () | |
withPoint (string $measurement_item_label, array $values) | |
getPoints () | |
getPointsPerDimension () | |
withAlternativeInformation (string $measurement_item_label, array $values) | |
getAlternativeInformation () | |
getAlternativeInformationPerDimension () | |
withResetDataset () | |
Returns an empty Dataset clone. More... | |
isEmpty () | |
getMinValueForDimension (string $dimension_name) | |
getMaxValueForDimension (string $dimension_name) | |
Protected Member Functions | |
checkDimensionCongruenceForValues (array $values) | |
Protected Attributes | |
array | $dimensions = [] |
array | $dimension_groups = [] |
array | $points = [] |
array | $alternative_information = [] |
Definition at line 28 of file Dataset.php.
ILIAS\Data\Chart\Dataset::__construct | ( | array | $dimensions, |
array | $dimension_groups = [] |
||
) |
array<string,Dimension |
Definition at line 39 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\$dimension_groups, and ILIAS\Data\Chart\Dataset\$dimensions.
|
protected |
Definition at line 88 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\getDimensions().
Referenced by ILIAS\Data\Chart\Dataset\withAlternativeInformation(), and ILIAS\Data\Chart\Dataset\withPoint().
ILIAS\Data\Chart\Dataset::getAlternativeInformation | ( | ) |
Definition at line 159 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\$alternative_information.
Referenced by ILIAS\Data\Chart\Dataset\getAlternativeInformationPerDimension().
ILIAS\Data\Chart\Dataset::getAlternativeInformationPerDimension | ( | ) |
Definition at line 164 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\getAlternativeInformation().
ILIAS\Data\Chart\Dataset::getDimensionGroups | ( | ) |
Definition at line 83 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\$dimension_groups.
ILIAS\Data\Chart\Dataset::getDimensions | ( | ) |
Definition at line 75 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\$dimensions.
Referenced by ILIAS\UI\Implementation\Component\Chart\Bar\Bar\__construct(), ILIAS\Data\Chart\Dataset\checkDimensionCongruenceForValues(), and ILIAS\Data\Chart\Dataset\withPoint().
ILIAS\Data\Chart\Dataset::getMaxValueForDimension | ( | string | $dimension_name | ) |
Definition at line 220 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\getPointsPerDimension(), ILIAS\Data\Chart\Dataset\isEmpty(), and null.
ILIAS\Data\Chart\Dataset::getMinValueForDimension | ( | string | $dimension_name | ) |
Definition at line 195 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\getPointsPerDimension(), ILIAS\Data\Chart\Dataset\isEmpty(), and null.
ILIAS\Data\Chart\Dataset::getPoints | ( | ) |
Definition at line 119 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\$points.
Referenced by ILIAS\Data\Chart\Dataset\getPointsPerDimension(), and ILIAS\Data\Chart\Dataset\isEmpty().
ILIAS\Data\Chart\Dataset::getPointsPerDimension | ( | ) |
Definition at line 124 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\getPoints().
Referenced by ILIAS\Data\Chart\Dataset\getMaxValueForDimension(), and ILIAS\Data\Chart\Dataset\getMinValueForDimension().
ILIAS\Data\Chart\Dataset::isEmpty | ( | ) |
Definition at line 187 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\getPoints().
Referenced by ILIAS\UI\Implementation\Component\Chart\Bar\Bar\__construct(), ILIAS\Data\Chart\Dataset\getMaxValueForDimension(), and ILIAS\Data\Chart\Dataset\getMinValueForDimension().
ILIAS\Data\Chart\Dataset::withAlternativeInformation | ( | string | $measurement_item_label, |
array | $values | ||
) |
string | $measurement_item_label | |
array<string,string> | $values key: Dimension name, value: Alternative text as string value or null |
Definition at line 141 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\checkDimensionCongruenceForValues().
ILIAS\Data\Chart\Dataset::withPoint | ( | string | $measurement_item_label, |
array | $values | ||
) |
string | $measurement_item_label | Using the identical label multiple times will overwrite the values |
array<string,mixed> | $values key: Dimension name, value: mixed (validity depends on the dimension) |
Definition at line 104 of file Dataset.php.
References ILIAS\Data\Chart\Dataset\checkDimensionCongruenceForValues(), and ILIAS\Data\Chart\Dataset\getDimensions().
ILIAS\Data\Chart\Dataset::withResetDataset | ( | ) |
Returns an empty Dataset clone.
Definition at line 179 of file Dataset.php.
|
protected |
Definition at line 33 of file Dataset.php.
Referenced by ILIAS\Data\Chart\Dataset\getAlternativeInformation().
|
protected |
Definition at line 31 of file Dataset.php.
Referenced by ILIAS\Data\Chart\Dataset\__construct(), and ILIAS\Data\Chart\Dataset\getDimensionGroups().
|
protected |
Definition at line 30 of file Dataset.php.
Referenced by ILIAS\Data\Chart\Dataset\__construct(), and ILIAS\Data\Chart\Dataset\getDimensions().
|
protected |
Definition at line 32 of file Dataset.php.
Referenced by ILIAS\Data\Chart\Dataset\getPoints().