Bugfix: (vitalyrepin) Pull Request 869 - c:max and c:min elements shall NOT be inside c:orientation elements
This commit is contained in:
parent
727ab1ef34
commit
18a45ee7a1
|
@ -32,6 +32,7 @@ Planned for 1.9
|
||||||
- Feature: (MBaker) - Additional codepages
|
- Feature: (MBaker) - Additional codepages
|
||||||
- Feature: (Tomino2112) Work Item GH-808 - MemoryDrawing not working in HTML writer
|
- Feature: (Tomino2112) Work Item GH-808 - MemoryDrawing not working in HTML writer
|
||||||
- General: (rentalhost) Work Item GH-575 - Excel 2007 Reader freezes because of conditional formatting
|
- General: (rentalhost) Work Item GH-575 - Excel 2007 Reader freezes because of conditional formatting
|
||||||
|
- Bugfix: (vitalyrepin) Pull Request 869 - c:max and c:min elements shall NOT be inside c:orientation elements
|
||||||
|
|
||||||
|
|
||||||
2015-04-30 (v1.8.1):
|
2015-04-30 (v1.8.1):
|
||||||
|
|
|
@ -549,8 +549,6 @@ class Chart extends WriterPart
|
||||||
}
|
}
|
||||||
|
|
||||||
$objWriter->startElement('c:scaling');
|
$objWriter->startElement('c:scaling');
|
||||||
$objWriter->startElement('c:orientation');
|
|
||||||
$objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('orientation'));
|
|
||||||
|
|
||||||
if (!is_null($xAxis->getAxisOptionsProperty('maximum'))) {
|
if (!is_null($xAxis->getAxisOptionsProperty('maximum'))) {
|
||||||
$objWriter->startElement('c:max');
|
$objWriter->startElement('c:max');
|
||||||
|
@ -564,6 +562,9 @@ class Chart extends WriterPart
|
||||||
$objWriter->endElement();
|
$objWriter->endElement();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$objWriter->startElement('c:orientation');
|
||||||
|
$objWriter->writeAttribute('val', $xAxis->getAxisOptionsProperty('orientation'));
|
||||||
|
|
||||||
$objWriter->endElement();
|
$objWriter->endElement();
|
||||||
$objWriter->endElement();
|
$objWriter->endElement();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue