@@ -39,14 +39,16 @@ column shows the containers while the rows lists the elements.
39
39
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
40
40
| 15 | Endnote | v | - | - | v\*\* | v\*\* | - |
41
41
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
42
- | 16 | CheckBox | v | v | v | v | - | - |
42
+ | 16 | CheckBox | v | v | v | v | v | - |
43
43
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
44
44
| 17 | TextBox | v | v | v | v | - | - |
45
45
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
46
46
| 18 | Field | v | v | v | v | v | v |
47
47
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
48
48
| 19 | Line | v | v | v | v | v | v |
49
49
+-------+-----------------+-----------+----------+----------+---------+------------+------------+
50
+ | 20 | Chart | v | | | v | | |
51
+ +-------+-----------------+-----------+----------+----------+---------+------------+------------+
50
52
51
53
Legend:
52
54
@@ -408,7 +410,7 @@ For instance for the INDEX field, you can do the following (See `Index Field for
408
410
$section->addField('INDEX', array(), array('\\e " " \\h "A" \\c "3"'), $fieldText);
409
411
410
412
Line
411
- ------
413
+ ----
412
414
413
415
Line elements can be added to sections by using ``addLine ``.
414
416
@@ -428,8 +430,21 @@ Available line style attributes:
428
430
- ``height ``. Line-object height in pt.
429
431
- ``flip ``. Flip the line element: true, false.
430
432
433
+ Chart
434
+ -----
435
+
436
+ Charts can be added using
437
+
438
+ .. code-block :: php
439
+
440
+ $categories = array('A', 'B', 'C', 'D', 'E');
441
+ $series = array(1, 3, 2, 5, 4);
442
+ $chart = $section->addChart('line', $categories, $series);
443
+
444
+ check out the Sample_32_Chart.php for more options and styling.
445
+
431
446
Comments
432
- ---------
447
+ --------
433
448
434
449
Comments can be added to a document by using ``addComment ``.
435
450
The comment can contain formatted text. Once the comment has been added, it can be linked to any element with ``setCommentStart ``.
0 commit comments