@@ 423-459 (lines=37) @@ | ||
420 | $objWriter->writeAttribute('val', "b"); |
|
421 | $objWriter->endElement(); |
|
422 | ||
423 | if (!is_null($xAxisLabel)) { |
|
424 | $objWriter->startElement('c:title'); |
|
425 | $objWriter->startElement('c:tx'); |
|
426 | $objWriter->startElement('c:rich'); |
|
427 | ||
428 | $objWriter->startElement('a:bodyPr'); |
|
429 | $objWriter->endElement(); |
|
430 | ||
431 | $objWriter->startElement('a:lstStyle'); |
|
432 | $objWriter->endElement(); |
|
433 | ||
434 | $objWriter->startElement('a:p'); |
|
435 | $objWriter->startElement('a:r'); |
|
436 | ||
437 | $caption = $xAxisLabel->getCaption(); |
|
438 | if (is_array($caption)) |
|
439 | $caption = $caption[0]; |
|
440 | $objWriter->startElement('a:t'); |
|
441 | $objWriter->writeAttribute('xml:space', 'preserve'); |
|
442 | $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML( $caption )); |
|
443 | $objWriter->endElement(); |
|
444 | ||
445 | $objWriter->endElement(); |
|
446 | $objWriter->endElement(); |
|
447 | $objWriter->endElement(); |
|
448 | $objWriter->endElement(); |
|
449 | ||
450 | $objWriter->startElement('c:overlay'); |
|
451 | $objWriter->writeAttribute('val', 0); |
|
452 | $objWriter->endElement(); |
|
453 | ||
454 | $layout = $xAxisLabel->getLayout(); |
|
455 | $this->_writeLayout($layout, $objWriter); |
|
456 | ||
457 | $objWriter->endElement(); |
|
458 | ||
459 | } |
|
460 | ||
461 | $objWriter->startElement('c:numFmt'); |
|
462 | $objWriter->writeAttribute('formatCode', "General"); |
|
@@ 549-586 (lines=38) @@ | ||
546 | $objWriter->startElement('c:majorGridlines'); |
|
547 | $objWriter->endElement(); |
|
548 | ||
549 | if (!is_null($yAxisLabel)) { |
|
550 | $objWriter->startElement('c:title'); |
|
551 | $objWriter->startElement('c:tx'); |
|
552 | $objWriter->startElement('c:rich'); |
|
553 | ||
554 | $objWriter->startElement('a:bodyPr'); |
|
555 | $objWriter->endElement(); |
|
556 | ||
557 | $objWriter->startElement('a:lstStyle'); |
|
558 | $objWriter->endElement(); |
|
559 | ||
560 | $objWriter->startElement('a:p'); |
|
561 | $objWriter->startElement('a:r'); |
|
562 | ||
563 | $caption = $yAxisLabel->getCaption(); |
|
564 | if (is_array($caption)) |
|
565 | $caption = $caption[0]; |
|
566 | $objWriter->startElement('a:t'); |
|
567 | $objWriter->writeAttribute('xml:space', 'preserve'); |
|
568 | $objWriter->writeRawData(PHPExcel_Shared_String::ControlCharacterPHP2OOXML( $caption )); |
|
569 | $objWriter->endElement(); |
|
570 | ||
571 | $objWriter->endElement(); |
|
572 | $objWriter->endElement(); |
|
573 | $objWriter->endElement(); |
|
574 | $objWriter->endElement(); |
|
575 | ||
576 | $objWriter->startElement('c:overlay'); |
|
577 | $objWriter->writeAttribute('val', 0); |
|
578 | $objWriter->endElement(); |
|
579 | ||
580 | if ($groupType !== PHPExcel_Chart_DataSeries::TYPE_BUBBLECHART) { |
|
581 | $layout = $yAxisLabel->getLayout(); |
|
582 | $this->_writeLayout($layout, $objWriter); |
|
583 | } |
|
584 | ||
585 | $objWriter->endElement(); |
|
586 | } |
|
587 | ||
588 | $objWriter->startElement('c:numFmt'); |
|
589 | $objWriter->writeAttribute('formatCode', "General"); |