; * lisp/emacs-lisp/chart.el (chart-bar-quickie): Improve documentation.

This commit is contained in:
Andrea Corallo 2024-10-11 15:26:28 +02:00
parent d664227f81
commit 6dbe4e99ac

View file

@ -574,13 +574,11 @@ R1 and R2 are dotted pairs. Colorize it with FACE."
(defun chart-bar-quickie (dir title namelst nametitle numlst numtitle (defun chart-bar-quickie (dir title namelst nametitle numlst numtitle
&optional max sort-pred) &optional max sort-pred)
"Wash over the complex EIEIO stuff and create a nice bar chart. "Create a bar chart in direction DIR [`horizontal' `vertical'] named TITLE.
Create it going in direction DIR [`horizontal' `vertical'] with TITLE NAMELST is the list of bar names and NAMETITLE is the name the of axis containing
using a name sequence NAMELST labeled NAMETITLE with values NUMLST them. NUMLST is the list of values and NUMTITLE is the name of the value
labeled NUMTITLE. axis. Optional arguments: Set the chart's max element display to MAX, and sort
Optional arguments: lists with SORT-PRED if desired."
Set the chart's max element display to MAX, and sort lists with
SORT-PRED if desired."
(let ((nc (make-instance 'chart-bar (let ((nc (make-instance 'chart-bar
:title title :title title
:key-label "8-m" ; This is a text key pic :key-label "8-m" ; This is a text key pic