diff options
| author | Eli Zaretskii | 2024-10-12 08:44:28 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-10-12 08:44:28 +0300 |
| commit | fb155bcfb6f7dfdec3aaf9f535428d46419a6b4e (patch) | |
| tree | 6148d40013d7714aa0ee291e96135ce932e194e7 | |
| parent | 6dbe4e99ac41bc1f5bcbdbda3c215941170bc9c5 (diff) | |
| download | emacs-fb155bcfb6f7dfdec3aaf9f535428d46419a6b4e.tar.gz emacs-fb155bcfb6f7dfdec3aaf9f535428d46419a6b4e.zip | |
; * lisp/emacs-lisp/chart.el (chart-bar-quickie): Doc fix.
| -rw-r--r-- | lisp/emacs-lisp/chart.el | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/chart.el b/lisp/emacs-lisp/chart.el index b9646e93253..c472d421eb0 100644 --- a/lisp/emacs-lisp/chart.el +++ b/lisp/emacs-lisp/chart.el | |||
| @@ -574,11 +574,16 @@ R1 and R2 are dotted pairs. Colorize it with FACE." | |||
| 574 | 574 | ||
| 575 | (defun chart-bar-quickie (dir title namelst nametitle numlst numtitle | 575 | (defun chart-bar-quickie (dir title namelst nametitle numlst numtitle |
| 576 | &optional max sort-pred) | 576 | &optional max sort-pred) |
| 577 | "Create a bar chart in direction DIR [`horizontal' `vertical'] named TITLE. | 577 | "Create a bar chart named TITLE in direction DIR [`horizontal' `vertical']. |
| 578 | NAMELST is the list of bar names and NAMETITLE is the name the of axis containing | 578 | NAMELST is the list of bar names and NAMETITLE is the name the of axis |
| 579 | them. NUMLST is the list of values and NUMTITLE is the name of the value | 579 | containing them. |
| 580 | axis. Optional arguments: Set the chart's max element display to MAX, and sort | 580 | NUMLST is the list of values and NUMTITLE is the name of the value |
| 581 | lists with SORT-PRED if desired." | 581 | axis. |
| 582 | Optional argument MAX limits the chart's max element display to MAX by | ||
| 583 | passing it as second argument to `chart-trim', otherwise the chart's | ||
| 584 | display is unlimited. | ||
| 585 | Optional argument SORT-PRED is a predicate function passed as second | ||
| 586 | argument to `chart-sort' to sort the lists if desired." | ||
| 582 | (let ((nc (make-instance 'chart-bar | 587 | (let ((nc (make-instance 'chart-bar |
| 583 | :title title | 588 | :title title |
| 584 | :key-label "8-m" ; This is a text key pic | 589 | :key-label "8-m" ; This is a text key pic |