Skip to content

Commit 5c8e4b6

Browse files
committed
#356 : PowerPoint2007 Writer : Implement visibility for axis (Docs)
1 parent 501fb9c commit 5c8e4b6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/shapes_chart.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,16 @@ For resetting them, you pass null as parameter to these methods.
8787
$oShape->getPlotArea()->getAxisY()->setMinorUnit(null);
8888
$oShape->getPlotArea()->getAxisY()->setMajorUnit(0.05);
8989
90+
You can define visibility for each axis (X & Y).
91+
92+
.. code-block:: php
93+
94+
$oLine = new Line();
95+
96+
$oShape = $oSlide->createChartShape();
97+
$oShape->getPlotArea()->setType($oLine);
98+
$oShape->getPlotArea()->getAxisX()->setIsVisible(false);
99+
90100
Title
91101
^^^^^
92102

0 commit comments

Comments
 (0)