Senga is the simplest graphing library with the worst name.
pete/senga
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Senga draws lines. That's it. If what you want is some lines drawn and to do the rest yourself using RMagick, then this may be what you want. Nobody ever checks the RDoc any more because nobody writes RDoc any more. Here is an example if you haven't checked the RDoc: require 'prime' png = Senga.graph(:bgcolor => 'white', :xscale => 10, :yscale => 10) { |g| g.plot('green', [1, 2, 3, 4, 5, 6, 7], 5) g.plot('red', [1, 1, 2, 3, 5, 8, 13], 6) g.plot('blue', Prime.take(7), 4) g.plot('black', (1..7).map { rand 10 }, 1) }.to_blob # And if you feel like doing some additional processing, like overlaying # the graph on top of an image or something, do that before calling to_blob. (File.open('graph.png', 'w') << png).close See the doc/ directory for additional information.
About
Senga is the simplest graphing library with the worst name.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published