* Fix sonar.
This commit is contained in:
+2
-18
@@ -361,7 +361,7 @@ class screenModel extends model
|
||||
foreach($yStats as $index => $dataList)
|
||||
{
|
||||
$field = zget($fields, $metrics[$index]);
|
||||
$fieldName = $field->name;
|
||||
$fieldName = $field->name;
|
||||
if(isset($langs[$field->field]) and !empty($langs[$field->field][$clientLang])) $fieldName = $langs[$field->field][$clientLang];
|
||||
$field = $fieldName . '(' . zget($this->lang->chart->aggList, $aggs[$index]) . ')';
|
||||
$dimensions[] = $field;
|
||||
@@ -514,7 +514,7 @@ class screenModel extends model
|
||||
foreach($yStats as $index => $dataList)
|
||||
{
|
||||
$field = zget($fields, $metrics[$index]);
|
||||
$fieldName = $field->name;
|
||||
$fieldName = $field->name;
|
||||
|
||||
if(isset($langs[$field->field]) and !empty($langs[$field->field][$clientLang])) $fieldName = $langs[$field->field][$clientLang];
|
||||
$field = $fieldName . '(' . zget($this->lang->chart->aggList, $aggs[$index]) . ')';
|
||||
@@ -947,9 +947,6 @@ class screenModel extends model
|
||||
case 'radar':
|
||||
return $this->buildRadarChart($component, $chart);
|
||||
break;
|
||||
case 'org':
|
||||
return $this->buildOrgChart($component, $chart);
|
||||
break;
|
||||
case 'funnel':
|
||||
return $this->buildFunnelChart($component, $chart);
|
||||
break;
|
||||
@@ -1476,19 +1473,6 @@ class screenModel extends model
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Build org chart.
|
||||
*
|
||||
* @param object $component
|
||||
* @param object $chart
|
||||
* @access public
|
||||
* @return object
|
||||
*/
|
||||
public function buildOrgChart($component, $chart)
|
||||
{
|
||||
//TODO
|
||||
}
|
||||
|
||||
/**
|
||||
* Build funnel chart.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user