protected function renderDataPoint(DataPointInterface $dataPoint)
    {
        $options = array();
        if (null !== $dataPoint->getName()) {
            $options['name'] = $dataPoint->getName();
        }
        if ($dataPoint instanceof PieDataPointInterface) {
            $options['sliced'] = $dataPoint->isSliced();
        }
        if (null !== $dataPoint->getXValue()) {
            $options['x'] = $dataPoint->getXValue();
        }

        $options['y'] = $dataPoint->getYValue();

        return $options;
    }