You are here

public function WebformAnalysisChartInterface::buildPieChart in Webform Analysis 8

Build Pie Chart.

Parameters

\Drupal\webform_analysis\WebformAnalysisInterface $analysis: Analysis.

string $component: Component.

array $header: Header.

Return value

array Pie Chart.

1 method overrides WebformAnalysisChartInterface::buildPieChart()
WebformAnalysisChart::buildPieChart in src/WebformAnalysisChart.php
Build Pie Chart.

File

src/WebformAnalysisChartInterface.php, line 84

Class

WebformAnalysisChartInterface
Webform Analysis Chart Interface.

Namespace

Drupal\webform_analysis

Code

public function buildPieChart(WebformAnalysisInterface $analysis, $component = '', array $header = []);