* Change default title size to 18 in screen's metric.
This commit is contained in:
@@ -1647,7 +1647,7 @@ class screenModel extends model
|
||||
|
||||
$chartOption = $this->metric->getEchartsOptions($resultHeader, $allResultData);
|
||||
|
||||
if(!isset($chartOption['title'])) $chartOption['title'] = array('text' => $metric->name, 'show' => false, 'titleShow' => false, 'textStyle' => array('color' => '#BFBFBF', 'fontSize' => 18));
|
||||
if(!isset($chartOption['title'])) $chartOption['title'] = array('text' => $metric->name, 'show' => false, 'titleShow' => false, 'textStyle' => array('color' => '#BFBFBF', 'fontSize' => 13));
|
||||
$chartOption['title']['text'] = $metric->name;
|
||||
|
||||
return $chartOption;
|
||||
|
||||
Reference in New Issue
Block a user