Vendor/phpspreadsheet/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/DataSeriesValues.php
public function setDataValues($dataValues)
    {
        $this->dataValues = Functions::flattenArray($dataValues);
        $this->pointCount = count($dataValues);

        return $this;
    }
public function setDataValues($dataValues)
    {
        $this->dataValues = Functions::flattenArray($dataValues);
        $this->pointCount = count($dataValues);

        return $this;
    }
Set Series Data Values.

@param array $dataValues

@return DataSeriesValues