TypeOfUsersChartDataProvider implements ChartDataProviderInterface
Table of Contents
Interfaces
- ChartDataProviderInterface
- Defines API for provider, used for chart widgets.
Methods
- __construct() : mixed
- getChartData() : array<string|int, mixed>
- This method should provide the data for the graph.
- getNumberOfUsers() : int
Methods
__construct()
public
__construct(LanguageServiceFactory $languageServiceFactory) : mixed
Parameters
- $languageServiceFactory : LanguageServiceFactory
getChartData()
This method should provide the data for the graph.
public
getChartData() : array<string|int, mixed>
The data and options you have depend on the type of chart. More information can be found in the documentation of the specific type.
Return values
array<string|int, mixed>getNumberOfUsers()
protected
getNumberOfUsers([bool $admin = false ]) : int
Parameters
- $admin : bool = false