ascii-graphs.js:Ascii可视化
Ascii Graphs js node.js中的一个简单的ascii绘图工具(也可能在浏览器中)目前仅支持直方图(条形图)和迷你图基本用法var data = [1, 2, 3, 4, 5]; var formatted = histogram_format(data); console.log(formatted.join(' '));应用程序接口var formatted_string = histogram_format(data, theme, options); var options = { chart_width /* width of a full bar */ divider /* character to mark the start and end of bar block_formatter /* callback
8.89KB
文件大小:
评论区