* If type is waterpolo, do nothing for series data.

This commit is contained in:
songchenxuan
2023-11-24 09:00:42 +08:00
committed by qixinzhi
parent 97648967fe
commit 4e5ddadeb1
+5
View File
@@ -288,6 +288,7 @@ class screenModel extends model
{
if(!empty($component->option->series))
{
$defaultSeries = $component->option->series;
if($component->type == 'radar')
{
@@ -298,6 +299,10 @@ class screenModel extends model
foreach($component->option->dataset->seriesData as $seriesData) $legends[] = $seriesData->name;
$component->option->legend->data = $legends;
}
elseif($component->type == 'waterpolo')
{
// Do nothing
}
else
{
$series = array();