GraphUtils::getIntervalsHtml
Usage
string GraphUtils::getIntervalsHtml([ string $selected = 'D3' ], [ string $uri = '' ])Description
Generates a line of time intervals (eg. 24H, 1D, 3D, 1W, 3M, 1Y, 5Y, etc.) allowing user to click which time period they would like to view.Parameters
Parameter | Required | Type | Description |
---|---|---|---|
$selected | No | string | The time interval currently being viewed. This interval will not be hyperlinked within the results. |
$uri | No | string | Optional URI to link all intervals to. If not specified, will use the current URI being viewed. |