Server IP : 111.118.215.189 / Your IP : 3.143.244.92 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/emacs-lisp/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:58 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/emacs-lisp/chart.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305#\210\306\211\203, \211@\303N\203% \304N\204% \307\304\303N#\210A\266\202\202 \210\310\303\304\311#\207" [require eieio defvaralias chart-map chart-mode-map nil (saved-value saved-variable-comment) put make-obsolete-variable "24.1"] 7) #@28 Keymap used in chart mode. (defvar chart-mode-map (make-sparse-keymap) (#$ . 842)) #@63 Local variable containing the locally displayed chart object. (defvar chart-local-object nil (#$ . 931)) (make-variable-buffer-local 'chart-local-object) #@87 Colors to use when generating `chart-face-list'. Colors will be the background color. (defvar chart-face-color-list '("red" "green" "blue" "cyan" "yellow" "purple") (#$ . 1091)) #@103 If pixmaps are allowed, display these background pixmaps. Useful if new Emacs is used on B&W display. (defvar chart-face-pixmap-list (byte-code "\300\301!\205\f \301 \205\f \302\207" [fboundp display-graphic-p ("dimple1" "scales" "dot" "cross_weave" "boxes" "dimple3")] 2) (#$ . 1276)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable chart-face-use-pixmaps funcall function #[0 "\300\207" [nil] 1 "\n\n(fn)"] "Non-nil to use fancy pixmaps in the background of chart face colors." :group eieio :type boolean] 8) #@139 Faces used to colorize charts. List is limited currently, which is ok since you really can't display too much in text characters anyways. (defvar chart-face-list (byte-code "\304\305!\203 \305 \202\f \205\226 \nC\306\211C\203\223 \211\307\310\311@\312@@R!!\240\210\313@\314\315\316D\317\315\320\314EDC\217\203A @\202B \321\"\210\322@\323\"\210\203\200 @\203\200 \304\324!\203\200 \325\315\326\327\330\331\332 \"\333\"\334\335%D\317\315\326\336\337\331\332!\340\"\341\342%\325EDC\217\210\211@B\262A\262\211@A\240\210\202 \266\204\207" [window-system chart-face-color-list chart-face-pixmap-list chart-face-use-pixmaps fboundp display-color-p nil make-face intern "chart-" "-" set-face-background #1=#:err funcall #[0 "\300 \301V\207" [x-display-color-cells 4] 2 "\n\n(fn)"] error #[257 "\300\207" [t] 2 "\n\n(fn IGNORED)"] "white" set-face-foreground "black" set-face-background-pixmap #2=#:err make-byte-code 0 "\302\301@\300@@\"\207" vconcat vector [set-face-background-pixmap] 3 "\n\n(fn)" 257 "\301\302\300@@\"\207" [message "Cannot set background pixmap %s"] 4 "\n\n(fn IGNORED)"] 14) (#$ . 1833)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\305\306!\204 \302\306\307\310#\210\300\207" [chart-mode-hook variable-documentation put purecopy "Hook run when entering CHART mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp chart-mode-map definition-name chart-mode] 5) (defvar chart-mode-map (make-sparse-keymap)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\305\306!\204 \302\306\307\310#\210\300\207" [chart-mode-map variable-documentation put purecopy "Keymap for `chart-mode'." boundp chart-mode-syntax-table definition-name chart-mode] 5) (defvar chart-mode-syntax-table (make-syntax-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [chart-mode-syntax-table variable-documentation put purecopy "Syntax table for `chart-mode'." chart-mode-abbrev-table definition-name chart-mode] 5) (defvar chart-mode-abbrev-table (progn (define-abbrev-table 'chart-mode-abbrev-table nil) chart-mode-abbrev-table)) (byte-code "\300\301N\204 \302\300\301\303\304!#\210\302\305\306\307#\207" [chart-mode-abbrev-table variable-documentation put purecopy "Abbrev table for `chart-mode'." chart-mode derived-mode-parent nil] 5) #@158 Define a mode in Emacs for displaying a chart. This mode runs the hook `chart-mode-hook', as the final step during initialization. \{chart-mode-map} (fn) (defalias 'chart-mode #[0 "\306\300!\210\307\310 \210\311\312\313!\210\314\f!\210 \315 \210\306\316!\210\317\320\321!\210)\322\323!\207" [delay-mode-hooks major-mode mode-name chart-mode-map chart-mode-syntax-table chart-mode-abbrev-table make-local-variable t kill-all-local-variables chart-mode "CHART" use-local-map set-syntax-table buffer-disable-undo font-lock-global-modes nil font-lock-mode -1 run-mode-hooks chart-mode-hook local-abbrev-table] 2 (#$ . 4224) nil]) #@107 Create a new buffer NAME in which the chart OBJ is displayed. Returns the newly created buffer. (fn OBJ) (defalias 'chart-new-buffer #[257 "r\301\302\303\304\305\"\"!q\210\306 \210\211p)\207" [chart-local-object get-buffer-create format "*%s*" eieio-oref title chart-mode] 7 (#$ . 4868)]) (byte-code "\300\301\302\303\304$\210\305\306\307\306\310\"\"\210\311\306\312\301\313$\210\300\314\302\315\316$\210\300\317\320\321\322$\210\300\323\324\325\326$\210\300\327\302\330\331$\210\300\332\333\334\335$\210\305\336\307\336\337\"\"\210\311\336\302\301\340$\210\305\341\307\341\342\"\"\210\311\341\302\301\343$\210\305\344\307\344\345\"\"\210\311\344\302\301\346$\210\305\347\307\347\350\"\"\210\311\347\302\301\351$\210\305\352\307\352\353\"\"\210\311\352\302\314\354$\210\305\355\307\355\356\"\"\210\311\355\302\301\357$\210\305\360\307\360\361\"\"\210\311\360\302\301\362$\210\305\352\307\352\363\"\"\210\311\352\302\317\364$\210\305\365\307\365\366\"\"\210\311\365\302\301\367$\210\305\352\307\352\370\"\"\210\311\352\302\323\371$\210\305\372\307\372\373\"\"\210\311\372\302\332\374$\210\305\375\307\375\376\"\"\210\311\375\302\301\377$\210\305\201@ \307\201@ \201A \"\"\210\311\201@ \302\301\201B $\210\305\201C \307\201C \201D \"\"\210\311\201C \302\301\201E $\207" [eieio-defclass chart nil ((title :initarg :title :initform "Emacs Chart") (title-face :initarg :title-face :initform 'bold-italic) (x-axis :initarg :x-axis :initform nil) (x-margin :initarg :x-margin :initform 5) (x-width :initarg :x-width) (y-axis :initarg :y-axis :initform nil) (y-margin :initarg :y-margin :initform 5) (y-width :initarg :y-width) (key-label :initarg :key-label :initform "Key") (sequences :initarg :sequences :initform nil)) ("Superclass for all charts to be displayed in an Emacs buffer.") eieio--defalias initialize-instance eieio--defgeneric-init-form "Initialize the chart OBJ being created with FIELDS.\nMake sure the width/height is correct." eieio--defmethod :AFTER #[385 "\300\301\302 \303Z#\210\300\304\305 \306Z#\207" [eieio-oset x-width window-width 10 y-width window-height 12] 7 "Initialize the chart OBJ being created with FIELDS.\nMake sure the width/height is correct.\n\n(fn OBJ &rest FIELDS)"] chart-axis ((name :initarg :name :initform "Generic Axis") (loweredge :initarg :loweredge :initform t) (name-face :initarg :name-face :initform 'bold) (labels-face :initarg :labels-face :initform 'italic) (chart :initarg :chart :initform nil)) ("Superclass used for display of an axis.") chart-axis-range (chart-axis) ((bounds :initarg :bounds :initform '(0.0 . 50.0))) ("Class used to display an axis defined by a range of values.") chart-axis-names (chart-axis) ((items :initarg :items :initform nil)) ("Class used to display an axis which represents different named items.") chart-sequece ((data :initarg :data :initform nil) (name :initarg :name :initform "Data")) ("Class used for all data in different charts.") chart-bar (chart) ((direction :initarg :direction :initform vertical)) ("Subclass for bar charts (vertical or horizontal).") chart-draw "Start drawing a chart object C in optional BUFF.\nErases current contents of buffer." #[513 "\212\211\203 \211q\210\300 \210\301\302\303\"c\210\304!\210\305!\210\306\307!\210\310\311!\210\312!\210\306\313!)\207" [erase-buffer make-string 100 10 chart-draw-axis chart-draw-title message "Rendering chart..." sit-for 0 chart-draw-data "Rendering chart...done"] 5 "Start drawing a chart object C in optional BUFF.\nErases current contents of buffer.\n\n(fn C &optional BUFF)"] chart-draw-title "Draw a title upon the chart.\nArgument C is the chart object." #[257 "\300\301\302\"\303\304\211\305 \301\306\"&\207" [chart-display-label eieio-oref title horizontal 0 window-width title-face] 10 "Draw a title upon the chart.\nArgument C is the chart object.\n\n(fn C)"] chart-size-in-dir "Return the physical size of chart C in direction DIR." #[514 "\211\300=\203 \301\302\"\207\301\303\"\207" [vertical eieio-oref y-width x-width] 5 "Return the physical size of chart C in direction DIR.\n\n(fn C DIR)"] chart-draw-axis "Draw axis into the current buffer defined by chart C." #[257 "\300\301\"\300\302\"\300\303\"\300\304\"\305\300\306\"\307\300\211\n\306\"\310\"?\205&