UNPKG

simple-ascii-chart

Version:
53 lines (52 loc) 1.07 kB
/** * Symbols for drawing the axes on the graph. */ export declare const AXIS: { n: string; ns: string; y: string; nse: string; x: string; we: string; e: string; intersectionXY: string; intersectionX: string; intersectionY: string; }; /** * Symbols for rendering chart elements, including lines and areas. */ export declare const CHART: { we: string; wns: string; ns: string; nse: string; wsn: string; sne: string; area: string; }; /** * Symbol representing an empty space on the graph. */ export declare const EMPTY = " "; /** * Symbols for drawing thresholds on the graph. */ export declare const THRESHOLDS: { x: string; y: string; }; /** * Symbol for the point of the graph. */ export declare const POINT = "\u25CF"; /** * Layout and formatting constants */ export declare const LAYOUT: { readonly MIN_PLOT_HEIGHT: 3; readonly DEFAULT_DECIMAL_PLACES: 3; readonly K_FORMAT_THRESHOLD: 1000; readonly DEFAULT_PADDING: 2; readonly DEFAULT_Y_SHIFT_OFFSET: 1; };