public function format(array $labels = [])
    {
        return array_merge($this->options, [
            'data'       => $this->formatValues($labels),
            'seriesName' => $this->name,
            'renderAs'   => strtolower($this->type),
        ]);
    }