tty-pie:在终端窗口中绘制饼图

时间:2021-02-06 05:00:05
【文件属性】:
文件名称:tty-pie:在终端窗口中绘制饼图
文件大小:44KB
文件格式:ZIP
更新时间:2021-02-06 05:00:05
console ruby-gem pie-chart terminal ascii-art TTY:派 在终端窗口中绘制饼图 TTY :: Pie为工具箱提供了饼图绘制组件。 安装 将此行添加到您的应用程序的Gemfile中: gem "tty-pie" 然后执行: $ bundle 或自己安装为: $ gem install tty-pie 内容 1.用法 要呈现饼图,您需要提供一系列数据项: data = [ { name : "BTC" , value : 5977 , color : :bright_yellow , fill : "*" } , { name : "BCH" , value : 3045 , color : :bright_green ,
【文件预览】:
tty-pie-master
----.gitignore(127B)
----tasks()
--------coverage.rake(210B)
--------console.rake(197B)
--------spec.rake(685B)
----README.md(11KB)
----.rubocop.yml(694B)
----CHANGELOG.md(1KB)
----bin()
--------console(342B)
--------setup(131B)
----.github()
--------ISSUE_TEMPLATE.md(579B)
--------PULL_REQUEST_TEMPLATE.md(447B)
--------workflows()
--------FUNDING.yml(20B)
----appveyor.yml(685B)
----Gemfile(317B)
----examples()
--------basic.rb(317B)
--------fill.rb(361B)
--------format.rb(318B)
----.rspec(53B)
----CODE_OF_CONDUCT.md(3KB)
----spec()
--------unit()
--------spec_helper.rb(698B)
----tty-pie.gemspec(1KB)
----LICENSE.txt(1KB)
----.editorconfig(150B)
----lib()
--------tty-pie.rb(27B)
--------tty()
----Rakefile(143B)
----assets()
--------tty-pie_chart_drawing_crypto.png(22KB)

网友评论