* Refactor mergeChartOption method.

This commit is contained in:
tianshujie
2023-08-21 13:24:21 +08:00
parent a056b9de35
commit a548c8d8e1
3 changed files with 51 additions and 3 deletions
+16
View File
@@ -1997,4 +1997,20 @@ class taskTest
return $this->objectModel->reportCondition();
}
/**
* 将默认图表设置与当前图表设置合并。
* Merge the default chart settings and the settings of current chart.
*
* @param string $chartType
* @access public
* @return object
*/
public function mergeChartOptionTest(string $chartType): object
{
global $lang;
$this->objectModel->mergeChartOption($chartType);
return $lang->task->report->$chartType;
}
}