* Fix substr with week date,bug#40963.
This commit is contained in:
@@ -1399,10 +1399,6 @@ class metricModel extends model
|
||||
});
|
||||
|
||||
$xTime = array_column($data, $x);
|
||||
foreach($xTime as $key => $time)
|
||||
{
|
||||
$xTime[$key] = substr($time, 0, 10);
|
||||
}
|
||||
$xAxis = array('type' => 'category', 'data' => $xTime);
|
||||
$yAxis = array('type' => 'value');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user