svg_graph 0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+
2
+ module SVG
3
+ module Graph
4
+ VERSION = "0.7"
5
+ end
6
+ end
@@ -0,0 +1,250 @@
1
+ <html>
2
+ <head>
3
+ <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
4
+ <title>Screenshots</title>
5
+ <style media="all" type="text/css">@import "/~ser/styles/common.css";</style>
6
+ </head>
7
+ <body>
8
+ <div id="header">Screenshots</div>
9
+ <div id="menu">
10
+ <div class="sect1menu">
11
+ <a href="#N10007">SVGs</a>
12
+ </div>
13
+ <div class="sect1menu">
14
+ <a href="#N10079">PNGs</a>
15
+ </div>
16
+ </div>
17
+ <div id="content">
18
+ <p></p>
19
+
20
+
21
+
22
+ <a name="N10007">
23
+ <div class="sect1">
24
+
25
+ <h2>SVGs</h2>
26
+
27
+
28
+ <p>Here are the SVG screenshots in all their glory. KSVG doesn't handle
29
+ CSS properly yet, and neither does librsvg. Adobe and Batik both
30
+ do.<CENTER>
31
+ <OBJECT TYPE="image/svg+xml" DATA="images/bar.svg" WIDTH="640" HEIGHT="480"></OBJECT><I>
32
+
33
+
34
+
35
+
36
+
37
+
38
+ <p>SVG::Chart::Bar</p>
39
+
40
+
41
+ </I>
42
+ </CENTER>
43
+ <CENTER>
44
+ <OBJECT TYPE="image/svg+xml" DATA="images/barhorizontal.svg" WIDTH="640" HEIGHT="480"></OBJECT><I>
45
+
46
+
47
+
48
+
49
+
50
+
51
+ <p>SVG::Chart::BarHorizontal</p>
52
+
53
+
54
+ </I>
55
+ </CENTER>
56
+ <CENTER>
57
+ <OBJECT TYPE="image/svg+xml" DATA="images/line.svg" WIDTH="640" HEIGHT="480"></OBJECT><I>
58
+
59
+
60
+
61
+
62
+
63
+
64
+ <p>SVG::Chart::Line</p>
65
+
66
+
67
+ </I>
68
+ </CENTER>
69
+ <CENTER>
70
+ <OBJECT TYPE="image/svg+xml" DATA="images/pie.svg" WIDTH="640" HEIGHT="480"></OBJECT><I>
71
+
72
+
73
+
74
+
75
+
76
+
77
+ <p>SVG::Chart::Pie</p>
78
+
79
+
80
+ </I>
81
+ </CENTER>
82
+ <CENTER>
83
+ <OBJECT TYPE="image/svg+xml" DATA="images/plot.svg" WIDTH="640" HEIGHT="480"></OBJECT><I>
84
+
85
+
86
+
87
+
88
+
89
+
90
+ <p>SVG::Chart::Plot</p>
91
+
92
+
93
+ </I>
94
+ </CENTER>
95
+ <CENTER>
96
+ <OBJECT TYPE="image/svg+xml" DATA="images/timeseries.svg" WIDTH="640" HEIGHT="480"></OBJECT><I>
97
+
98
+
99
+
100
+
101
+
102
+
103
+ <p>SVG::Chart::TimeSeries</p>
104
+
105
+
106
+ </I>
107
+ </CENTER>
108
+ <CENTER>
109
+ <OBJECT TYPE="image/svg+xml" DATA="images/schedule.svg" WIDTH="640" HEIGHT="480"></OBJECT><I>
110
+
111
+
112
+
113
+
114
+
115
+
116
+ <p>SVG::Chart::Schedule</p>
117
+
118
+
119
+ </I>
120
+ </CENTER>
121
+ </p>
122
+
123
+ </div>
124
+ </a>
125
+
126
+ <a name="N10079">
127
+ <div class="sect1">
128
+
129
+ <h2>PNGs</h2>
130
+
131
+
132
+ <p>Here are the icky, bitmapped PNGs. PNG is a beautiful file format,
133
+ don't get me wrong; but it is best for things that vector graphics
134
+ <em>aren't</em> good at, such as pictures.</p>
135
+
136
+
137
+ <CENTER>
138
+ <IMG SRC="images/bar.png"><I>
139
+
140
+
141
+
142
+
143
+
144
+
145
+ <p>SVG::Chart::Bar</p>
146
+
147
+
148
+ </I>
149
+ </CENTER>
150
+
151
+
152
+ <CENTER>
153
+ <IMG SRC="images/barhorizontal.png"><I>
154
+
155
+
156
+
157
+
158
+
159
+
160
+ <p>SVG::Chart::BarHorizontal</p>
161
+
162
+
163
+ </I>
164
+ </CENTER>
165
+
166
+
167
+ <CENTER>
168
+ <IMG SRC="images/line.png"><I>
169
+
170
+
171
+
172
+
173
+
174
+
175
+ <p>SVG::Chart::Line</p>
176
+
177
+
178
+ </I>
179
+ </CENTER>
180
+
181
+
182
+ <CENTER>
183
+ <IMG SRC="images/pie.png"><I>
184
+
185
+
186
+
187
+
188
+
189
+
190
+ <p>SVG::Chart::Pie</p>
191
+
192
+
193
+ </I>
194
+ </CENTER>
195
+
196
+
197
+ <CENTER>
198
+ <IMG SRC="images/plot.png"><I>
199
+
200
+
201
+
202
+
203
+
204
+
205
+ <p>SVG::Chart::Plot</p>
206
+
207
+
208
+ </I>
209
+ </CENTER>
210
+
211
+
212
+ <CENTER>
213
+ <IMG SRC="images/timeseries.png"><I>
214
+
215
+
216
+
217
+
218
+
219
+
220
+ <p>SVG::Chart::TimeSeries</p>
221
+
222
+
223
+ </I>
224
+ </CENTER>
225
+
226
+
227
+ <CENTER>
228
+ <IMG SRC="images/schedule.png"><I>
229
+
230
+
231
+
232
+
233
+
234
+
235
+ <p>SVG::Chart::Schedule</p>
236
+
237
+
238
+ </I>
239
+ </CENTER>
240
+
241
+ </div>
242
+ </a>
243
+
244
+ </div>
245
+ <div id="footer">
246
+ <div style="float:right">Copyright Sean Russell</div>
247
+ [ <a href="http://www.germane-software.com/~ser">Main</a> ]
248
+ </div>
249
+ </body>
250
+ </html>
@@ -0,0 +1,20 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "svg_graph/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "svg_graph"
7
+ s.version = SVG::Graph::VERSION
8
+ s.authors = ["Sean Russell", "Vidar Hokstad"]
9
+ s.email = ["vidar@hokstad.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{SVG::GRaph is a pure Ruby library for generating SVG charts}
12
+ s.description = %q{}
13
+
14
+ s.rubyforge_project = "svg_graph"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+ end
metadata ADDED
@@ -0,0 +1,106 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: svg_graph
3
+ version: !ruby/object:Gem::Version
4
+ hash: 5
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 7
9
+ version: "0.7"
10
+ platform: ruby
11
+ authors:
12
+ - Sean Russell
13
+ - Vidar Hokstad
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-10-14 00:00:00 Z
19
+ dependencies: []
20
+
21
+ description: ""
22
+ email:
23
+ - vidar@hokstad.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files: []
29
+
30
+ files:
31
+ - .gitignore
32
+ - GPL.txt
33
+ - Gemfile
34
+ - LICENSE.txt
35
+ - Rakefile
36
+ - images/bar.png
37
+ - images/bar.svg
38
+ - images/bar.svgz
39
+ - images/barhorizontal.png
40
+ - images/barhorizontal.svg
41
+ - images/barhorizontal.svgz
42
+ - images/line.png
43
+ - images/line.svg
44
+ - images/line.svgz
45
+ - images/pie.png
46
+ - images/pie.svg
47
+ - images/pie.svgz
48
+ - images/plot.png
49
+ - images/plot.svg
50
+ - images/plot.svgz
51
+ - images/schedule.png
52
+ - images/schedule.svg
53
+ - images/timeseries.png
54
+ - images/timeseries.svg
55
+ - images/timeseries.svgz
56
+ - index.html
57
+ - install.rb
58
+ - lib/svg_graph.rb
59
+ - lib/svg_graph/Bar.rb
60
+ - lib/svg_graph/BarBase.rb
61
+ - lib/svg_graph/BarHorizontal.rb
62
+ - lib/svg_graph/Graph.rb
63
+ - lib/svg_graph/Graph.rb~
64
+ - lib/svg_graph/Line.rb
65
+ - lib/svg_graph/Pie.rb
66
+ - lib/svg_graph/Plot.rb
67
+ - lib/svg_graph/Schedule.rb
68
+ - lib/svg_graph/TimeSeries.rb
69
+ - lib/svg_graph/version.rb
70
+ - screenshots.html
71
+ - svg_graph.gemspec
72
+ homepage: ""
73
+ licenses: []
74
+
75
+ post_install_message:
76
+ rdoc_options: []
77
+
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ hash: 3
86
+ segments:
87
+ - 0
88
+ version: "0"
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ hash: 3
95
+ segments:
96
+ - 0
97
+ version: "0"
98
+ requirements: []
99
+
100
+ rubyforge_project: svg_graph
101
+ rubygems_version: 1.8.6
102
+ signing_key:
103
+ specification_version: 3
104
+ summary: SVG::GRaph is a pure Ruby library for generating SVG charts
105
+ test_files: []
106
+