https://github.com/hugolgst/term-art
📊 A terminal boards using ascii art
https://github.com/hugolgst/term-art
boards charts terminal-art
Last synced: 6 months ago
JSON representation
📊 A terminal boards using ascii art
- Host: GitHub
- URL: https://github.com/hugolgst/term-art
- Owner: hugolgst
- License: mit
- Created: 2017-12-03T14:30:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-24T17:54:08.000Z (over 6 years ago)
- Last Synced: 2024-10-22T04:25:35.235Z (12 months ago)
- Topics: boards, charts, terminal-art
- Language: Ruby
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
![]()
![]()
How To Use •
Documentation •
Example# How to use
Install the gem manually :
```
$ gem install term-art
```or add it to your Gemfile :
```diff
+ gem 'term-art'
```and then run :
```
$ bundle
```# Documentation
## Styles
There are two differents styles:
* `:simple` 
* `:double` 
## Colors
See [hue-rb](https://github.com/AnanaGame/hue-rb#colors)# Example
```ruby
require 'term-art'chart = TermArt::Chart.new([
['A', 'B', 'C'],
['D', 'E', 'F']
])
puts chart.draw(style: :simple, color: :red)
```