public function addData($data)
 {
     if (is_array($data)) {
         foreach ($data as $arc) {
             parent::addData($arc instanceof SingleData ? $arc : new SingleData($arc));
         }
     } else {
         parent::addData($data);
     }
 }
 public function getOptions()
 {
     $options = parent::getOptions();
     $series = [];
     foreach ($this->getData() as $index => $collection) {
         /** @var SequenceData $collection */
         if ($collection->getOptions()) {
             $series[$index] = $collection->getOptions();
         }
     }
     if ($series) {
         $options['series'] = $series;
     }
     $vAxes = $this->_getAxesOptions(Axis::VERTICAL);
     if ($vAxes) {
         $options['vAxes'] = $vAxes;
     }
     $hAxes = $this->_getAxesOptions(Axis::HORIZONTAL);
     if ($hAxes) {
         $options['hAxes'] = $hAxes;
     }
     return $options;
 }