LimeSurvey API - Master branch

StatisticsChartInterface

Interface for all statistics chart classes.

Defines the contract that every chart/graph must follow so that they can be executed consistently within StatisticsService.

Table of Contents

Methods

run()  : array<string|int, mixed>
Run the chart generation logic.
setFilters()  : void
Set filters for responses

Methods

run()

Run the chart generation logic.

public run(int $surveyId[, string $language = 'en' ]) : array<string|int, mixed>
Parameters
$surveyId : int

Survey ID

$language : string = 'en'

Language code (optional, for localized text)

Return values
array<string|int, mixed>

Chart output(s)


        
On this page

Search results