protected function formatValues(array $labels)
    {
        $values = Collection::make($this->values);

        if (in_array(strtolower($this->type), $this->specialDatasets)) {
            $colors = $this->getColors($labels);

            return $values->map(function ($value, $key) use ($colors, $labels) {
                $val = [
                    'label' => $labels[$key],
                    'value' => $value,
                ];

                if ($colors->count() > 0) {
                    $val['color'] = $colors->get($key);
                }

                return $val;
            })->toArray();
        }

        return $values->map(function ($value) {
            return [
                'value' => $value,
            ];
        })->toArray();
    }