Sha256: f54943da128c9cf3dee062083bcba98c062c2e42d8ea88f5ed6e95250a645f20
Contents?: true
Size: 1.6 KB
Versions: 1
Compression:
Stored size: 1.6 KB
Contents
= protoruby * http://github.com/clbustos/rubyvis == DESCRIPTION: Ruby version of Protovis, a great visualization toolkit == FEATURES/PROBLEMS: NOTE: Barely operational version. Just have bars, panels and scene. I try to maintain, when posible, complete compatibility with Javascript API. Johnson [http://github.com/jbarnette/johnson] - the lovely Javascript wrapper inside Ruby embrace - is out friend. Until version 0.1.0, lambdas should always should created explicitly for method you may be temted to call it with a block. On a second stage, traditional block calling could be using maintaining backwards compatibily with Javascript API, User could use +pv+ freely, cause is defined as a global method which call Rubyvis. == CURRENT PROGRESS * pv.js * pv-internals.js * color/Color.js (incomplete) * color/Colors.js * data/Arrays.js * data/Numbers.js * data/Scale.js * data/LinearScale.js * data/QuantitativeScale.js (only numbers) * data/OrdinalScale.js (not tested) * mark/Mark.js * mark/Bar.js * mark/Panel.js * scene/SvgPanel.js * scene/SvgBar.js * scene/SvgScene.js * text/Format.js (incomplete) * text/NumberFormat.js (incomplete) == SYNOPSIS: require 'rubyvis' vis = Rubyvis::Panel.new.width(150).height(150); vis.add(pv.Bar).data([1, 1.2, 1.7, 1.5, 0.7, 0.3]). width(20). height(lambda {|d| d * 80}). bottom(0). left(lambda {self.index * 25}); vis.render() # All elements are rendered inside tag 'canvas', inside the panel puts vis.canvas.elements[1] == REQUIREMENTS: Ruby 1.9.1 == INSTALL: Copy from github and create the gem for yourself (sorry) == LICENSE: GPL-2
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubyvis-0.1.0 | README.txt |