update changelog and doc
This commit is contained in:
parent
c08f2718af
commit
ade497d9d7
|
|
@ -19,6 +19,7 @@ v0.15.0 (?? ??? 2018)
|
||||||
- Added support for Floating Table Positioning (tblpPr) @anrikun #639
|
- Added support for Floating Table Positioning (tblpPr) @anrikun #639
|
||||||
- Added support for Image text wrapping distance @troosan #1310
|
- Added support for Image text wrapping distance @troosan #1310
|
||||||
- Added parsing of CSS line-height and text-indent in HTML reader @troosan #1316
|
- Added parsing of CSS line-height and text-indent in HTML reader @troosan #1316
|
||||||
|
- Added the ability to enable gridlines and axislabels on charts @FrankMeyer #576
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fix reading of docx default style - @troosan #1238
|
- Fix reading of docx default style - @troosan #1238
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ This is:
|
||||||
- [ ] a feature request
|
- [ ] a feature request
|
||||||
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpword)
|
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpword)
|
||||||
|
|
||||||
# Expected Behavior
|
### Expected Behavior
|
||||||
|
|
||||||
Please describe the behavior you are expecting.
|
Please describe the behavior you are expecting.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -448,7 +448,9 @@ Charts can be added using
|
||||||
|
|
||||||
$categories = array('A', 'B', 'C', 'D', 'E');
|
$categories = array('A', 'B', 'C', 'D', 'E');
|
||||||
$series = array(1, 3, 2, 5, 4);
|
$series = array(1, 3, 2, 5, 4);
|
||||||
$chart = $section->addChart('line', $categories, $series);
|
$chart = $section->addChart('line', $categories, $series, $style);
|
||||||
|
|
||||||
|
For available styling options see :ref:`chart-style`.
|
||||||
|
|
||||||
check out the Sample_32_Chart.php for more options and styling.
|
check out the Sample_32_Chart.php for more options and styling.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -178,3 +178,17 @@ Available NumberingLevel style options:
|
||||||
- ``suffix``. Content between numbering symbol and paragraph text tab\|space\|nothing.
|
- ``suffix``. Content between numbering symbol and paragraph text tab\|space\|nothing.
|
||||||
- ``tabPos``. See paragraph style.
|
- ``tabPos``. See paragraph style.
|
||||||
- ``text``. Numbering level text e.g. %1 for nonbullet or bullet character.
|
- ``text``. Numbering level text e.g. %1 for nonbullet or bullet character.
|
||||||
|
|
||||||
|
.. _chart-style:
|
||||||
|
|
||||||
|
Chart
|
||||||
|
-----
|
||||||
|
|
||||||
|
Available Chart style options:
|
||||||
|
|
||||||
|
- ``width``. Width (in EMU).
|
||||||
|
- ``height``. Height (in EMU).
|
||||||
|
- ``3d``. Is 3D; applies to pie, bar, line, area, *true* or *false*.
|
||||||
|
- ``showAxisLabels``. Show labels for axis, *true* or *false*.
|
||||||
|
- ``gridX``. Show Gridlines for X-Axis, *true* or *false*.
|
||||||
|
- ``gridY``. Show Gridlines for Y-Axis, *true* or *false*.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue