File: chart.el.html
This package is an experiment of mine aiding in the debugging of
eieio, and proved to be neat enough that others may like to use
it. To quickly see what you can do with chart, run the command
chart-test-it-all.
Chart current can display bar-charts in either of two
directions. It also supports ranged (integer) axis, and axis
defined by some set of strings or names. These name can be
automatically derived from data sequences, which are just lists of
anything encapsulated in a nice eieio object.
Current example apps for chart can be accessed via these commands:
chart-file-count - count files with matching extensions
chart-space-usage - display space used by files/directories
chart-emacs-storage - Emacs storage units used/free (garbage-collect)
chart-emacs-lists - length of Emacs lists
chart-rmail-from - who sends you the most mail (in -summary only)
Customization:
If you find the default colors and pixmaps unpleasant, or too
short, you can change them. The variable chart-face-color-list
contains a list of colors, and chart-face-pixmap-list contains
all the pixmaps to use. The current pixmaps are those found on
several systems I found. The two lists should be the same length,
as the long list will just be truncated.
If you would like to draw your own stipples, simply create some
xbm's and put them in a directory, then you can add:
(setq x-bitmap-file-path (cons "~/mybitmaps" x-bitmap-file-path))
to your .emacs (or wherever) and load the chart-face-pixmap-list
with all the bitmaps you want to use.
Defined variables (9)
chart-face-color-list | Colors to use when generating ‘chart-face-list’. |
chart-face-list | Faces used to colorize charts. |
chart-face-pixmap-list | If pixmaps are allowed, display these background pixmaps. |
chart-face-use-pixmaps | Non-nil to use fancy pixmaps in the background of chart face colors. |
chart-local-object | Local variable containing the locally displayed chart object. |
chart-mode-abbrev-table | Abbrev table for ‘chart-mode’. |
chart-mode-hook | Hook run after entering ‘chart-mode’. |
chart-mode-map | Keymap used in chart mode. |
chart-mode-syntax-table | Syntax table for ‘chart-mode’. |