Skip to content

Commit ade497d

Browse files
committed
update changelog and doc
1 parent c08f271 commit ade497d

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ v0.15.0 (?? ??? 2018)
1919
- Added support for Floating Table Positioning (tblpPr) @anrikun #639
2020
- Added support for Image text wrapping distance @troosan #1310
2121
- Added parsing of CSS line-height and text-indent in HTML reader @troosan #1316
22+
- Added the ability to enable gridlines and axislabels on charts @FrankMeyer #576
2223

2324
### Fixed
2425
- Fix reading of docx default style - @troosan #1238

docs/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is:
44
- [ ] a feature request
55
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpword)
66

7-
# Expected Behavior
7+
### Expected Behavior
88

99
Please describe the behavior you are expecting.
1010

docs/elements.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,9 @@ Charts can be added using
448448
449449
$categories = array('A', 'B', 'C', 'D', 'E');
450450
$series = array(1, 3, 2, 5, 4);
451-
$chart = $section->addChart('line', $categories, $series);
451+
$chart = $section->addChart('line', $categories, $series, $style);
452+
453+
For available styling options see :ref:`chart-style`.
452454

453455
check out the Sample_32_Chart.php for more options and styling.
454456

docs/styles.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,17 @@ Available NumberingLevel style options:
178178
- ``suffix``. Content between numbering symbol and paragraph text tab\|space\|nothing.
179179
- ``tabPos``. See paragraph style.
180180
- ``text``. Numbering level text e.g. %1 for nonbullet or bullet character.
181+
182+
.. _chart-style:
183+
184+
Chart
185+
-----
186+
187+
Available Chart style options:
188+
189+
- ``width``. Width (in EMU).
190+
- ``height``. Height (in EMU).
191+
- ``3d``. Is 3D; applies to pie, bar, line, area, *true* or *false*.
192+
- ``showAxisLabels``. Show labels for axis, *true* or *false*.
193+
- ``gridX``. Show Gridlines for X-Axis, *true* or *false*.
194+
- ``gridY``. Show Gridlines for Y-Axis, *true* or *false*.

0 commit comments

Comments
 (0)