Function __global->_normalise_graph_dims
Definitions
sources/graphs.php
- Normalise textual graph dimensions to something appropriate for CSS.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| &$width | ?string | Yes | No | required parameter | N/A | N/A | Width (null: responsive) |
| &$height | ?string | Yes | No | required parameter | N/A | N/A | Height (null: responsive) |
Preview
Code (PHP)
/**
* Normalise textual graph dimensions to something appropriate for CSS.
*
* @param ?string $width Width (null: responsive)
* @param ?string $height Height (null: responsive)
*/
function _normalise_graph_dims(?string &$width, ?string &$height)
* Normalise textual graph dimensions to something appropriate for CSS.
*
* @param ?string $width Width (null: responsive)
* @param ?string $height Height (null: responsive)
*/
function _normalise_graph_dims(?string &$width, ?string &$height)

