* [story#74518] add function: prepareWaterPoloDataset.
This commit is contained in:
@@ -917,6 +917,21 @@ class screenModel extends model
|
||||
return $this->setComponentDefaults($component);
|
||||
}
|
||||
|
||||
/**
|
||||
* 准备水球图数据集。
|
||||
* Prepare waterpolo dataset.
|
||||
*
|
||||
* @param object $component
|
||||
* @param string $value
|
||||
* @access public
|
||||
* @return object
|
||||
*/
|
||||
public function prepareWaterPoloDataset(object $component, float $value): object
|
||||
{
|
||||
$component->option->dataset = $value;
|
||||
return $this->setComponentDefaults($component);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get bar chart option.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user