Giter Site home page Giter Site logo

scruffy's Introduction

= scruffy, unofficial release

This is a fork from based on the official 0.2.5 release. See below for 
further a longer description.  

== DESCRIPTION:

* scruffy.rubyforge.org

Author:: Brasten Sager ([email protected])
Date:: July 8, 2008
Release:: 0.2.5

Scruffy is a Ruby library for generating high quality, good looking graphs.  It is designed
to be easy to use and highly customizable.

For basic usage instructions, refer to the documentation for Scruffy::Graph.


== FORK DESCRIPTION

* http://github.com/delano/scruffy/

Author:: Delano Mandelbaum ([email protected])
Author:: Kalin Harvey
Date:: December 12, 2008

We love scruffy. Our motivation for creating a forking is to make it useful for hi-resolution 
graphs and charts. We would love to get our changes in to the official release but until
that time they will be available at the GitHub URI above. 

CHANGES.txt contains everything we've been up to. 


== FEATURES

* Renders to SVG or bitmap (PNG, JPG)

== PROBLEMS:

* 0.2.3 version has missing legend text when rendering to bitmap. This is strange because the text is there in the SVG before it goes to RMagick.

== SYNOPSIS:

    graph = Scruffy::Graph.new
    graph.title = "Sample Line Graph"
    graph.renderer = Scruffy::Renderers::Standard.new

    graph.add :line, 'Example', [20, 100, 70, 30, 106]

    graph.render :to => "line_test.svg"
    graph.render  :width => 300, :height => 200,
      :to => "line_test.png", :as => 'png'

== REQUIREMENTS:

* Needs RMagick and Magic installed, if you wish to render to bitmap.

== INSTALL:

* sudo gem install scruffy


== LICENSE:

See Licence.txt

scruffy's People

Contributors

jagthedrummer avatar brasten avatar delano avatar willbryant avatar tlconnor avatar mtaylor avatar

Stargazers

Jesse Jones avatar robin avatar Karen Leary avatar Fabio Daguer Esposito avatar  avatar Christopher Voltz avatar Jason Lewis avatar Steve Linabery avatar Derek Ekins avatar Aaron Marburg avatar Bear avatar Dan Sosedoff avatar Vít Ondruch avatar  avatar Javier Goizueta avatar

Watchers

 avatar James Cloos avatar  avatar

scruffy's Issues

Mark as no longer maintained

It looks like this project is dead. Someone should probably udate the README with suggestions for other gems to use.

point_markers broken

Hi,

I've just tried to create simple graph using scruffy 0.3.0.beta1 (today's master branch)

require 'scruffy'

graph = Scruffy::Graph.new
graph.title = 'Graph'
graph.renderer = Scruffy::Renderers::Standard.new
graph.point_markers = ['01/2001', '01/2002', '01/2003']

graph.add :line, 'Numbers', [1, 2, 3]

graph.render :to => '/tmp/graph.svg'

and I am getting an error:

components/data_markers.rb:21:in `block in draw': undefined method `first' for "01/2001":String

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.