original_string: private function writeBubbles($plotSeriesValues, $objWriter, PHPExcel_Worksheet $pSheet)
      {
          if (is_null($plotSeriesValues)) {
              return;
          }
  
          $objWriter->startElement('c:bubbleSize');
          $objWriter->startElement('c:numLit');
  
          $objWriter->startElement('c:formatCode');
          $objWriter->writeRawData('General');
          $objWriter->endElement();
  
          $objWriter->startElement('c:ptCount');
          $objWriter->writeAttribute('val', $plotSeriesValues->getPointCount());
          $objWriter->endElement();
  
          $dataValues = $plotSeriesValues->getDataValues();
          if (!empty($dataValues)) {
              if (is_array($dataValues)) {
                  foreach ($dataValues as $plotSeriesKey => $plotSeriesValue) {
                      $objWriter->startElement('c:pt');
                      $objWriter->writeAttribute('idx', $plotSeriesKey);
                      $objWriter->startElement('c:v');
                      $objWriter->writeRawData(1);
                      $objWriter->endElement();
                      $objWriter->endElement();
                  }
              }
          }
  
          $objWriter->endElement();
          $objWriter->endElement();
  
          $objWriter->startElement('c:bubble3D');
          $objWriter->writeAttribute('val', 0);
          $objWriter->endElement();
      }
code: private function writeBubbles($plotSeriesValues, $objWriter, PHPExcel_Worksheet $pSheet)
      {
          if (is_null($plotSeriesValues)) {
              return;
          }
  
          $objWriter->startElement('c:bubbleSize');
          $objWriter->startElement('c:numLit');
  
          $objWriter->startElement('c:formatCode');
          $objWriter->writeRawData('General');
          $objWriter->endElement();
  
          $objWriter->startElement('c:ptCount');
          $objWriter->writeAttribute('val', $plotSeriesValues->getPointCount());
          $objWriter->endElement();
  
          $dataValues = $plotSeriesValues->getDataValues();
          if (!empty($dataValues)) {
              if (is_array($dataValues)) {
                  foreach ($dataValues as $plotSeriesKey => $plotSeriesValue) {
                      $objWriter->startElement('c:pt');
                      $objWriter->writeAttribute('idx', $plotSeriesKey);
                      $objWriter->startElement('c:v');
                      $objWriter->writeRawData(1);
                      $objWriter->endElement();
                      $objWriter->endElement();
                  }
              }
          }
  
          $objWriter->endElement();
          $objWriter->endElement();
  
          $objWriter->startElement('c:bubble3D');
          $objWriter->writeAttribute('val', 0);
          $objWriter->endElement();
      }
code_tokens: private function writeBubbles ( $ plotSeriesValues , $ objWriter , PHPExcel_Worksheet $ pSheet ) { if ( is_null ( $ plotSeriesValues ) ) { return ; } $ objWriter -> startElement ( 'c:bubbleSize' ) ; $ objWriter -> startElement ( 'c:numLit' ) ; $ objWriter -> startElement ( 'c:formatCode' ) ; $ objWriter -> writeRawData ( 'General' ) ; $ objWriter -> endElement ( ) ; $ objWriter -> startElement ( 'c:ptCount' ) ; $ objWriter -> writeAttribute ( 'val' , $ plotSeriesValues -> getPointCount ( ) ) ; $ objWriter -> endElement ( ) ; $ dataValues = $ plotSeriesValues -> getDataValues ( ) ; if ( ! empty ( $ dataValues ) ) { if ( is_array ( $ dataValues ) ) { foreach ( $ dataValues as $ plotSeriesKey => $ plotSeriesValue ) { $ objWriter -> startElement ( 'c:pt' ) ; $ objWriter -> writeAttribute ( 'idx' , $ plotSeriesKey ) ; $ objWriter -> startElement ( 'c:v' ) ; $ objWriter -> writeRawData ( 1 ) ; $ objWriter -> endElement ( ) ; $ objWriter -> endElement ( ) ; } } } $ objWriter -> endElement ( ) ; $ objWriter -> endElement ( ) ; $ objWriter -> startElement ( 'c:bubble3D' ) ; $ objWriter -> writeAttribute ( 'val' , 0 ) ; $ objWriter -> endElement ( ) ; }
docstring: Write Bubble Chart Details
  
  @param  PHPExcel_Chart_DataSeriesValues $plotSeriesValues
  @param  PHPExcel_Shared_XMLWriter $objWriter XML Writer
  
  @throws  PHPExcel_Writer_Exception
docstring_tokens: Write Bubble Chart Details