diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-12-17 11:47:18 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-12-17 11:47:18 +0800 |
commit | 146a451a6dc912656a0186b96a7f5a919facc647 (patch) | |
tree | bec9698687799491f7b0d48d78137497101233f6 /print | |
parent | e7ec899cc157d0fa8e132a943eea408e820e81b5 (diff) | |
download | freebsd-ports-gnome-146a451a6dc912656a0186b96a7f5a919facc647.tar.gz freebsd-ports-gnome-146a451a6dc912656a0186b96a7f5a919facc647.tar.zst freebsd-ports-gnome-146a451a6dc912656a0186b96a7f5a919facc647.zip |
Prawn::Graph aims to add this functionality to Prawn by using the
native PDF drawing tools Prawn exposes and a friendly single-method
call to draw the graph.
The graphs and the values plotted and drawn are all relatively sized
within the bounds of the width and height you have set and should
scale pretty well to any size of value. Of course, if things do end
up looking too squashed, you can always just make your graph bigger.
At the moment, only Bar and Line charts are implemented, with others
coming soon. Both charts work in mostly the same way.
WWW: http://ryanstenhouse.eu/
Diffstat (limited to 'print')
-rw-r--r-- | print/Makefile | 1 | ||||
-rw-r--r-- | print/rubygem-prawn-graph/Makefile | 21 | ||||
-rw-r--r-- | print/rubygem-prawn-graph/distinfo | 2 | ||||
-rw-r--r-- | print/rubygem-prawn-graph/pkg-descr | 13 |
4 files changed, 37 insertions, 0 deletions
diff --git a/print/Makefile b/print/Makefile index 6003ca19b713..b5edde30e6da 100644 --- a/print/Makefile +++ b/print/Makefile @@ -318,6 +318,7 @@ SUBDIR += rubygem-prawn-core SUBDIR += rubygem-prawn-flexible-table SUBDIR += rubygem-prawn-format + SUBDIR += rubygem-prawn-graph SUBDIR += rubygem-prawn-layout SUBDIR += rubygem-prawn-security SUBDIR += scribus diff --git a/print/rubygem-prawn-graph/Makefile b/print/rubygem-prawn-graph/Makefile new file mode 100644 index 000000000000..6d7c25b00213 --- /dev/null +++ b/print/rubygem-prawn-graph/Makefile @@ -0,0 +1,21 @@ +# Ports collection makefile for: rubygem-prawn-graph +# Date created: December 16, 2010 +# Whom: Philip M. Gollucci <pgpollucci@p6m7g8.com> +# +# $FreeBSD$ + +PORTNAME= prawn-graph +PORTVERSION= 0.0.4 +CATEGORIES= print rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Draw basic graphs and charts natively in your PDFs + +RUN_DEPENDS= rubygem-prawn>=0:${PORTSDIR}/print/rubygem-prawn + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.mk> diff --git a/print/rubygem-prawn-graph/distinfo b/print/rubygem-prawn-graph/distinfo new file mode 100644 index 000000000000..129989b24f6b --- /dev/null +++ b/print/rubygem-prawn-graph/distinfo @@ -0,0 +1,2 @@ +SHA256 (rubygem/prawn-graph-0.0.4.gem) = ad64c11706ab317a96e8994c443a4bf9e0a775584eb5392231a9e8c7bb37efcd +SIZE (rubygem/prawn-graph-0.0.4.gem) = 12288 diff --git a/print/rubygem-prawn-graph/pkg-descr b/print/rubygem-prawn-graph/pkg-descr new file mode 100644 index 000000000000..21a678f9cbb9 --- /dev/null +++ b/print/rubygem-prawn-graph/pkg-descr @@ -0,0 +1,13 @@ +Prawn::Graph aims to add this functionality to Prawn by using the +native PDF drawing tools Prawn exposes and a friendly single-method +call to draw the graph. + +The graphs and the values plotted and drawn are all relatively sized +within the bounds of the width and height you have set and should +scale pretty well to any size of value. Of course, if things do end +up looking too squashed, you can always just make your graph bigger. + +At the moment, only Bar and Line charts are implemented, with others +coming soon. Both charts work in mostly the same way. + +WWW: http://ryanstenhouse.eu/ |