* Fix default title size of metric card,bug#41437.
This commit is contained in:
@@ -1648,7 +1648,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' => 13));
|
||||
if(!isset($chartOption['title'])) $chartOption['title'] = array('text' => $metric->name, 'show' => false, 'titleShow' => false, 'textStyle' => array('color' => '#BFBFBF', 'fontSize' => 16));
|
||||
$chartOption['title']['text'] = $metric->name;
|
||||
$chartOption['backgroundColor'] = "#0B1727FF";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user