public function WebformAnalysis::setChartType in Webform Analysis 8
Set Chart Type.
Parameters
string $chart_type: Set chart type and save webform.
Overrides WebformAnalysisInterface::setChartType
File
- src/
WebformAnalysis.php, line 61
Class
- WebformAnalysis
- WebformAnalysis.
Namespace
Drupal\webform_analysisCode
public function setChartType($chart_type = '') {
$this->webform
->setThirdPartySetting('webform_analysis', 'chart_type', $chart_type);
}