* Adjust legend color of metric in screen designer.

This commit is contained in:
zhouxin
2024-01-23 08:52:25 +08:00
parent 5aaa74f7d5
commit 54716b0ce9
+2
View File
@@ -1823,6 +1823,8 @@ class screenModel extends model
if(!isset($chartOption['title'])) $chartOption['title'] = array('text' => $metric->name, 'show' => false, 'titleShow' => true, 'textStyle' => array('color' => '#BFBFBF'));
$chartOption['title']['text'] = $metric->name;
$chartOption['backgroundColor'] = "#0B1727FF";
$chartOption['legend']['textStyle']['color'] = 'white';
$chartOption['legend']['inactiveColor'] = 'gray';
if(!empty($component))
{