rubyvis 0.1.7 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +12 -0
- data/Manifest.txt +9 -2
- data/README.txt +30 -59
- data/examples/area_interpolation.rb +56 -0
- data/examples/{first.rb → first_protovis_api.rb} +1 -1
- data/examples/first_rbp_api.rb +21 -0
- data/examples/image.rb +0 -1
- data/examples/line.rb +0 -1
- data/examples/line_interpolation.rb +55 -0
- data/lib/rubyvis.rb +3 -3
- data/lib/rubyvis/color/color.rb +177 -20
- data/lib/rubyvis/color/colors.rb +98 -0
- data/lib/rubyvis/layout/stack.rb +271 -196
- data/lib/rubyvis/mark.rb +26 -9
- data/lib/rubyvis/mark/anchor.rb +2 -1
- data/lib/rubyvis/mark/area.rb +99 -1
- data/lib/rubyvis/mark/bar.rb +2 -2
- data/lib/rubyvis/mark/dot.rb +2 -2
- data/lib/rubyvis/mark/line.rb +116 -4
- data/lib/rubyvis/mark/panel.rb +2 -1
- data/lib/rubyvis/mark/shorcut_methods.rb +58 -0
- data/lib/rubyvis/scale/quantitative.rb +5 -3
- data/lib/rubyvis/scene/svg_area.rb +127 -121
- data/lib/rubyvis/scene/svg_curve.rb +328 -0
- data/lib/rubyvis/scene/svg_line.rb +20 -18
- data/lib/rubyvis/scene/svg_scene.rb +5 -4
- data/lib/rubyvis/sceneelement.rb +4 -1
- data/spec/area_spec.rb +48 -0
- data/spec/bar_spec.rb +1 -1
- data/spec/line_spec.rb +63 -0
- data/spec/panel_spec.rb +2 -4
- data/spec/ruby_api_spec.rb +47 -0
- data/spec/scale_linear_spec.rb +14 -1
- data/spec/spec_helper.rb +35 -0
- data/web/Rakefile +1 -1
- data/web/build_site.rb +17 -1
- data/web/examples.haml +2 -2
- data/web/index.haml +13 -7
- metadata +16 -6
- metadata.gz.sig +0 -0
- data/lib/rubyvis/color/ramp.rb +0 -1
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
version: 0.2.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Claudio Bustos
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
rpP0jjs0
|
36
36
|
-----END CERTIFICATE-----
|
37
37
|
|
38
|
-
date: 2010-
|
38
|
+
date: 2010-11-02 00:00:00 -03:00
|
39
39
|
default_executable:
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- examples/antibiotics/antibiotics.rb
|
86
86
|
- examples/antibiotics/antibiotics_data.rb
|
87
87
|
- examples/area.rb
|
88
|
+
- examples/area_interpolation.rb
|
88
89
|
- examples/bar_column_chart.rb
|
89
90
|
- examples/barley/barley.rb
|
90
91
|
- examples/barley/barley_data.rb
|
@@ -92,13 +93,15 @@ files:
|
|
92
93
|
- examples/crimea/crimea_grouped_bar.rb
|
93
94
|
- examples/crimea/crimea_line.rb
|
94
95
|
- examples/dot.rb
|
95
|
-
- examples/
|
96
|
+
- examples/first_protovis_api.rb
|
97
|
+
- examples/first_rbp_api.rb
|
96
98
|
- examples/fixtures/tipsy.gif
|
97
99
|
- examples/grouped_charts.rb
|
98
100
|
- examples/image.rb
|
99
101
|
- examples/image.svg
|
100
102
|
- examples/line.rb
|
101
103
|
- examples/line_and_step.rb
|
104
|
+
- examples/line_interpolation.rb
|
102
105
|
- examples/nested_grid.rb
|
103
106
|
- examples/pie_and_donut.rb
|
104
107
|
- examples/scatterplot.rb
|
@@ -108,7 +111,6 @@ files:
|
|
108
111
|
- lib/rubyvis.rb
|
109
112
|
- lib/rubyvis/color/color.rb
|
110
113
|
- lib/rubyvis/color/colors.rb
|
111
|
-
- lib/rubyvis/color/ramp.rb
|
112
114
|
- lib/rubyvis/format.rb
|
113
115
|
- lib/rubyvis/format/date.rb
|
114
116
|
- lib/rubyvis/format/number.rb
|
@@ -126,6 +128,7 @@ files:
|
|
126
128
|
- lib/rubyvis/mark/line.rb
|
127
129
|
- lib/rubyvis/mark/panel.rb
|
128
130
|
- lib/rubyvis/mark/rule.rb
|
131
|
+
- lib/rubyvis/mark/shorcut_methods.rb
|
129
132
|
- lib/rubyvis/mark/wedge.rb
|
130
133
|
- lib/rubyvis/nest.rb
|
131
134
|
- lib/rubyvis/property.rb
|
@@ -136,6 +139,7 @@ files:
|
|
136
139
|
- lib/rubyvis/scale/quantitative.rb
|
137
140
|
- lib/rubyvis/scene/svg_area.rb
|
138
141
|
- lib/rubyvis/scene/svg_bar.rb
|
142
|
+
- lib/rubyvis/scene/svg_curve.rb
|
139
143
|
- lib/rubyvis/scene/svg_dot.rb
|
140
144
|
- lib/rubyvis/scene/svg_image.rb
|
141
145
|
- lib/rubyvis/scene/svg_label.rb
|
@@ -147,13 +151,16 @@ files:
|
|
147
151
|
- lib/rubyvis/sceneelement.rb
|
148
152
|
- lib/rubyvis/transform.rb
|
149
153
|
- spec/anchor_spec.rb
|
154
|
+
- spec/area_spec.rb
|
150
155
|
- spec/bar_spec.rb
|
151
156
|
- spec/internal_spec.rb
|
152
157
|
- spec/javascript_behaviour_spec.rb
|
153
158
|
- spec/label_spec.rb
|
159
|
+
- spec/line_spec.rb
|
154
160
|
- spec/mark_spec.rb
|
155
161
|
- spec/nest_spec.rb
|
156
162
|
- spec/panel_spec.rb
|
163
|
+
- spec/ruby_api_spec.rb
|
157
164
|
- spec/scale_linear_datetime_spec.rb
|
158
165
|
- spec/scale_linear_spec.rb
|
159
166
|
- spec/scale_log_spec.rb
|
@@ -302,6 +309,9 @@ test_files:
|
|
302
309
|
- spec/anchor_spec.rb
|
303
310
|
- spec/scale_spec.rb
|
304
311
|
- spec/scale_linear_spec.rb
|
312
|
+
- spec/ruby_api_spec.rb
|
305
313
|
- spec/label_spec.rb
|
306
314
|
- spec/mark_spec.rb
|
315
|
+
- spec/area_spec.rb
|
307
316
|
- spec/javascript_behaviour_spec.rb
|
317
|
+
- spec/line_spec.rb
|
metadata.gz.sig
CHANGED
Binary file
|
data/lib/rubyvis/color/ramp.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|