gerbilcharts 0.5.9 → 0.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/{License.txt → LICENSE.txt} +0 -0
- data/{README.txt → README.rdoc} +0 -0
- data/lib/gerbilcharts/charts.rb +2 -0
- data/lib/gerbilcharts/charts/chart_base.rb +1 -1
- data/lib/gerbilcharts/charts/line_chart_table.rb +38 -0
- data/lib/gerbilcharts/charts/stacked_area_chart_table.rb +31 -0
- data/lib/gerbilcharts/models/bucketized_timeseries_graph_model.rb +10 -7
- data/lib/gerbilcharts/models/graph_model_group.rb +1 -1
- data/lib/gerbilcharts/models/presets.rb +2 -2
- data/lib/gerbilcharts/models/raw_range.rb +1 -0
- data/lib/gerbilcharts/surfaces/area_surface.rb +46 -39
- data/lib/gerbilcharts/surfaces/conversation_ring.rb +7 -3
- data/lib/gerbilcharts/surfaces/detailed_legend.rb +15 -4
- data/lib/gerbilcharts/surfaces/impulse_surface.rb +10 -4
- data/lib/gerbilcharts/surfaces/line_surface.rb +31 -34
- data/lib/gerbilcharts/surfaces/square_line_surface.rb +27 -30
- data/lib/gerbilcharts/surfaces/surface.rb +27 -1
- data/lib/gerbilcharts/svgdc/svg_polygon.rb +14 -7
- data/lib/gerbilcharts/svgdc/svg_polyline.rb +8 -2
- data/lib/gerbilcharts/svgdc/svgdc.rb +8 -0
- data/lib/gerbilcharts/version.rb +2 -2
- metadata +118 -97
- data/History.txt +0 -105
- data/Manifest.txt +0 -92
- data/PostInstall.txt +0 -2
- data/Rakefile +0 -4
- data/lib/gerbilcharts/public/brushmetal.css +0 -284
- data/lib/gerbilcharts/public/gerbil.js +0 -421
- data/setup.rb +0 -1585
- data/test/test_Scratch.rb +0 -21
- data/test/test_bar.rb +0 -39
- data/test/test_bubble.rb +0 -52
- data/test/test_charts.rb +0 -122
- data/test/test_conversation.rb +0 -34
- data/test/test_embed_styles.rb +0 -35
- data/test/test_gerbilcharts.rb +0 -11
- data/test/test_helper.rb +0 -2
- data/test/test_lines.rb +0 -46
- data/test/test_matrix.rb +0 -34
- data/test/test_models.rb +0 -118
- data/test/test_negatives.rb +0 -39
- data/test/test_noob.rb +0 -86
- data/test/test_pie.rb +0 -43
- data/test/test_ranges.rb +0 -169
- data/test/test_render_string.rb +0 -38
- data/test/test_sa.rb +0 -88
- data/test/test_scaling.rb +0 -57
- data/test/test_svgdc.rb +0 -221
- data/test/trafgen.rb +0 -25
data/History.txt
DELETED
@@ -1,105 +0,0 @@
|
|
1
|
-
== 0.5.9 2011-01-15
|
2
|
-
* Changes
|
3
|
-
* New public release
|
4
|
-
* Across the board improvements & new features
|
5
|
-
* Used in production environments by Trisul Network Security Monitoring
|
6
|
-
* New bubble chart
|
7
|
-
|
8
|
-
|
9
|
-
== 0.3.7 2010-04-15
|
10
|
-
* Changes
|
11
|
-
* Lots of bug fixes rolled up
|
12
|
-
* Better scaling in 1G to 10G range
|
13
|
-
* Time zone support for gerbil.js
|
14
|
-
|
15
|
-
== 0.3.2 2010-01-05
|
16
|
-
* Changes
|
17
|
-
* New parameter :enable_detailed_legend :enable_legend
|
18
|
-
* Larger default fonts
|
19
|
-
* Better layout logic for detailed legend panel
|
20
|
-
* Block button to open/close legend panel
|
21
|
-
|
22
|
-
|
23
|
-
== 0.2.17 2009-12-16
|
24
|
-
* Changes
|
25
|
-
* Traffic Matrix and Conversation Error Rectified
|
26
|
-
* Angled labels for matrix
|
27
|
-
|
28
|
-
== 0.2.15 2009-12-11
|
29
|
-
* Changes
|
30
|
-
* More hardening of gerbilcharts against bad data
|
31
|
-
|
32
|
-
== 0.2.14 2009-12-10
|
33
|
-
* Changes
|
34
|
-
* Traffic matrix and conversation ring
|
35
|
-
|
36
|
-
== 0.2.13 2009-12-01
|
37
|
-
* Changes
|
38
|
-
* inline javascript option now fixed
|
39
|
-
* grid sublines work for first label interval now
|
40
|
-
* detailed legend showing max/min/avg/latest
|
41
|
-
* option to switch between mini and detailed legends
|
42
|
-
* various other fixes and tweaks
|
43
|
-
* if no activity detected in model/group then gracefully say so
|
44
|
-
|
45
|
-
== 0.2.6 2009-10-27
|
46
|
-
* Changes
|
47
|
-
* Negative values work good
|
48
|
-
* Much better timerange selection
|
49
|
-
* Auto tooltips for surfaces that allow it
|
50
|
-
* Butterfly surface Area surface (such as in/out charts)
|
51
|
-
* Other misc changes
|
52
|
-
|
53
|
-
== 0.2.3 2009-10-19
|
54
|
-
* Changes
|
55
|
-
* New Squarized Line Surface
|
56
|
-
* Sophisticated grid works well with time axis
|
57
|
-
* Legend panel autosizing
|
58
|
-
* Bar chart labels now stagger automatically depending on chart size
|
59
|
-
* Fixed line chart problem due to a bad CSS
|
60
|
-
|
61
|
-
== 0.2.2 2009-09-21
|
62
|
-
* Changes
|
63
|
-
* SVG filters specular lighting effect
|
64
|
-
* You can now specify filter => :LikeButton to all charts to buttonize
|
65
|
-
* Just a demo of the power of SVG filters applied to charting
|
66
|
-
|
67
|
-
== 0.2.1 2009-09-10
|
68
|
-
* Changes
|
69
|
-
* Toolip and alpha effect javascript for PIE charts
|
70
|
-
* Accomodate wide labels on bar charts using tooltips
|
71
|
-
* Optimize pie chart layout further
|
72
|
-
* Fixes to stylesheet
|
73
|
-
|
74
|
-
== 0.1.9 2009-09-10
|
75
|
-
* Changes
|
76
|
-
* PIE Charts
|
77
|
-
* Fixed color scheme stylesheet brushmetal.css to be more pleasing
|
78
|
-
* Internal helper class svg_arc added
|
79
|
-
|
80
|
-
== 0.0.7 2009-08-15
|
81
|
-
* Changes
|
82
|
-
* Bug fixes with stacked area
|
83
|
-
|
84
|
-
== 0.0.5 2009-06-05
|
85
|
-
* Changes
|
86
|
-
* Support render_to_string to inline render in browser
|
87
|
-
* New test case for testing string rendering
|
88
|
-
* New sample demonstrates integration with a Ruby on Rails app
|
89
|
-
|
90
|
-
== 0.0.4 2008-11-10
|
91
|
-
* Changes
|
92
|
-
* Demonstrate tooltips
|
93
|
-
* Gradient style for line chart (need to make this an option)
|
94
|
-
|
95
|
-
== 0.0.3 2008-11-8
|
96
|
-
|
97
|
-
* Initial package as a gem
|
98
|
-
* Thanks to newgem / hoe we now have GerbilCharts as a gem
|
99
|
-
* Cleaned and refactored svg,models,surfaces,charts
|
100
|
-
* Tests written for charts
|
101
|
-
|
102
|
-
== 0.0.1 2008-10-14
|
103
|
-
|
104
|
-
* 1 major enhancement:
|
105
|
-
* Initial release
|
data/Manifest.txt
DELETED
@@ -1,92 +0,0 @@
|
|
1
|
-
History.txt
|
2
|
-
License.txt
|
3
|
-
Manifest.txt
|
4
|
-
PostInstall.txt
|
5
|
-
README.txt
|
6
|
-
Rakefile
|
7
|
-
setup.rb
|
8
|
-
test/trafgen.rb
|
9
|
-
test/test_noob.rb
|
10
|
-
test/test_render_string.rb
|
11
|
-
test/test_helper.rb
|
12
|
-
test/test_scaling.rb
|
13
|
-
lib/gerbilcharts.rb
|
14
|
-
lib/gerbilcharts/version.rb
|
15
|
-
lib/gerbilcharts/models.rb
|
16
|
-
lib/gerbilcharts/svgdc.rb
|
17
|
-
lib/gerbilcharts/surfaces.rb
|
18
|
-
lib/gerbilcharts/charts.rb
|
19
|
-
lib/gerbilcharts/public/brushmetal.css
|
20
|
-
lib/gerbilcharts/public/gerbil.js
|
21
|
-
lib/gerbilcharts/models/bucketized_timeseries_graph_model.rb
|
22
|
-
lib/gerbilcharts/models/graph_model_group.rb
|
23
|
-
lib/gerbilcharts/models/graph_model.rb
|
24
|
-
lib/gerbilcharts/models/monotonous_graph_model.rb
|
25
|
-
lib/gerbilcharts/models/presets.rb
|
26
|
-
lib/gerbilcharts/models/raw_range.rb
|
27
|
-
lib/gerbilcharts/models/round_range.rb
|
28
|
-
lib/gerbilcharts/models/round_time_range.rb
|
29
|
-
lib/gerbilcharts/models/discrete_time_range.rb
|
30
|
-
lib/gerbilcharts/models/sampled_timeseries_graph_model.rb
|
31
|
-
lib/gerbilcharts/models/time_series_graph_model.rb
|
32
|
-
lib/gerbilcharts/models/simple_timeseries_model_group.rb
|
33
|
-
lib/gerbilcharts/models/matrix_model.rb
|
34
|
-
lib/gerbilcharts/surfaces/area_surface.rb
|
35
|
-
lib/gerbilcharts/surfaces/axis.rb
|
36
|
-
lib/gerbilcharts/surfaces/bar_surface.rb
|
37
|
-
lib/gerbilcharts/surfaces/basic_grid.rb
|
38
|
-
lib/gerbilcharts/surfaces/chart.rb
|
39
|
-
lib/gerbilcharts/surfaces/graph_element.rb
|
40
|
-
lib/gerbilcharts/surfaces/grid.rb
|
41
|
-
lib/gerbilcharts/surfaces/horizontal_axis.rb
|
42
|
-
lib/gerbilcharts/surfaces/horizontal_name_axis.rb
|
43
|
-
lib/gerbilcharts/surfaces/horizontal_time_axis.rb
|
44
|
-
lib/gerbilcharts/surfaces/impulse_surface.rb
|
45
|
-
lib/gerbilcharts/surfaces/legend.rb
|
46
|
-
lib/gerbilcharts/surfaces/detailed_legend.rb
|
47
|
-
lib/gerbilcharts/surfaces/line_surface.rb
|
48
|
-
lib/gerbilcharts/surfaces/mark_band.rb
|
49
|
-
lib/gerbilcharts/surfaces/panel.rb
|
50
|
-
lib/gerbilcharts/surfaces/pie_surface.rb
|
51
|
-
lib/gerbilcharts/surfaces/rect.rb
|
52
|
-
lib/gerbilcharts/surfaces/stacked_area_surface.rb
|
53
|
-
lib/gerbilcharts/surfaces/stacked_grid.rb
|
54
|
-
lib/gerbilcharts/surfaces/surface_background.rb
|
55
|
-
lib/gerbilcharts/surfaces/surface.rb
|
56
|
-
lib/gerbilcharts/surfaces/title_panel.rb
|
57
|
-
lib/gerbilcharts/surfaces/bubble_surface.rb
|
58
|
-
lib/gerbilcharts/surfaces/tracker.rb
|
59
|
-
lib/gerbilcharts/surfaces/vertical_axis.rb
|
60
|
-
lib/gerbilcharts/surfaces/pie_surface.rb
|
61
|
-
lib/gerbilcharts/surfaces/square_line_surface.rb
|
62
|
-
lib/gerbilcharts/surfaces/matrix_surface.rb
|
63
|
-
lib/gerbilcharts/surfaces/conversation_ring.rb
|
64
|
-
lib/gerbilcharts/charts/area_chart.rb
|
65
|
-
lib/gerbilcharts/charts/bar_chart_compact.rb
|
66
|
-
lib/gerbilcharts/charts/bar_chart.rb
|
67
|
-
lib/gerbilcharts/charts/chart_base.rb
|
68
|
-
lib/gerbilcharts/charts/impulse_chart.rb
|
69
|
-
lib/gerbilcharts/charts/line_chart.rb
|
70
|
-
lib/gerbilcharts/charts/stacked_area_chart.rb
|
71
|
-
lib/gerbilcharts/charts/pie_chart.rb
|
72
|
-
lib/gerbilcharts/charts/square_line_chart.rb
|
73
|
-
lib/gerbilcharts/charts/matrix_chart.rb
|
74
|
-
lib/gerbilcharts/charts/conversation_ring.rb
|
75
|
-
lib/gerbilcharts/charts/bubble_chart.rb
|
76
|
-
lib/gerbilcharts/svgdc/svgdc.rb
|
77
|
-
lib/gerbilcharts/svgdc/svg_element.rb
|
78
|
-
lib/gerbilcharts/svgdc/filters.rb
|
79
|
-
lib/gerbilcharts/svgdc/transformations.rb
|
80
|
-
lib/gerbilcharts/svgdc/presentation_attributes.rb
|
81
|
-
lib/gerbilcharts/svgdc/svg_win.rb
|
82
|
-
lib/gerbilcharts/svgdc/svg_custom_win.rb
|
83
|
-
lib/gerbilcharts/svgdc/svg_shape.rb
|
84
|
-
lib/gerbilcharts/svgdc/svg_circle.rb
|
85
|
-
lib/gerbilcharts/svgdc/svg_ellipse.rb
|
86
|
-
lib/gerbilcharts/svgdc/svg_line.rb
|
87
|
-
lib/gerbilcharts/svgdc/svg_polygon.rb
|
88
|
-
lib/gerbilcharts/svgdc/svg_polyline.rb
|
89
|
-
lib/gerbilcharts/svgdc/svg_rect.rb
|
90
|
-
lib/gerbilcharts/svgdc/svg_text.rb
|
91
|
-
lib/gerbilcharts/svgdc/svg_arc.rb
|
92
|
-
lib/gerbilcharts/svgdc/css_inliner.rb
|
data/PostInstall.txt
DELETED
data/Rakefile
DELETED
@@ -1,284 +0,0 @@
|
|
1
|
-
.surfacepanel
|
2
|
-
{
|
3
|
-
fill: none;
|
4
|
-
stroke-width: 1;
|
5
|
-
stroke: black;
|
6
|
-
}
|
7
|
-
.gridlineh
|
8
|
-
{
|
9
|
-
stroke-width: 0.7;
|
10
|
-
stroke: #ccc;
|
11
|
-
}
|
12
|
-
.gridlinev
|
13
|
-
{
|
14
|
-
stroke-width: 0.7;
|
15
|
-
stroke: #ccc;
|
16
|
-
}
|
17
|
-
.gridlinesub
|
18
|
-
{
|
19
|
-
stroke-width: 0.5;
|
20
|
-
stroke: #eee;
|
21
|
-
}
|
22
|
-
.surfaceback
|
23
|
-
{
|
24
|
-
fill: white;
|
25
|
-
stroke: none;
|
26
|
-
}
|
27
|
-
.axispanel
|
28
|
-
{
|
29
|
-
fill: #EEEEEE;
|
30
|
-
stroke: none;
|
31
|
-
}
|
32
|
-
.axistickmajor
|
33
|
-
{
|
34
|
-
stroke-width: 2;
|
35
|
-
stroke: black;
|
36
|
-
}
|
37
|
-
.axistickminor
|
38
|
-
{
|
39
|
-
stroke-width: 1;
|
40
|
-
stroke: black;
|
41
|
-
}
|
42
|
-
.panel
|
43
|
-
{
|
44
|
-
fill: white;
|
45
|
-
}
|
46
|
-
|
47
|
-
.legend
|
48
|
-
{
|
49
|
-
fill: red;
|
50
|
-
}
|
51
|
-
.x_mk
|
52
|
-
{
|
53
|
-
fill: yellow;
|
54
|
-
fill-opacity: 0.10;
|
55
|
-
stroke: gray;
|
56
|
-
}
|
57
|
-
#ref_mod
|
58
|
-
{
|
59
|
-
fill: gray;
|
60
|
-
fill-opacity: 0.20;
|
61
|
-
stroke: none;
|
62
|
-
}
|
63
|
-
#item0
|
64
|
-
{
|
65
|
-
stroke: none;
|
66
|
-
fill: #2166AC;
|
67
|
-
}
|
68
|
-
#item1
|
69
|
-
{
|
70
|
-
stroke: none;
|
71
|
-
fill: #4393C3;
|
72
|
-
}
|
73
|
-
#item2
|
74
|
-
{
|
75
|
-
stroke: none;
|
76
|
-
fill: #92C5DE;
|
77
|
-
}
|
78
|
-
#item3
|
79
|
-
{
|
80
|
-
stroke: none;
|
81
|
-
fill:#D1E5F0;
|
82
|
-
}
|
83
|
-
#item4
|
84
|
-
{
|
85
|
-
stroke: none;
|
86
|
-
fill:#D6604D; /*FDDBC7*/
|
87
|
-
}
|
88
|
-
#item5
|
89
|
-
{
|
90
|
-
stroke: none;
|
91
|
-
fill:#FDDBC7;
|
92
|
-
}
|
93
|
-
#item6
|
94
|
-
{
|
95
|
-
stroke: none;
|
96
|
-
fill: #2166AC;
|
97
|
-
}
|
98
|
-
#item7
|
99
|
-
{
|
100
|
-
stroke: none;
|
101
|
-
fill: #4393C3;
|
102
|
-
}
|
103
|
-
#item8
|
104
|
-
{
|
105
|
-
stroke: none;
|
106
|
-
fill: #92C5DE;
|
107
|
-
}
|
108
|
-
#item9
|
109
|
-
{
|
110
|
-
stroke: none;
|
111
|
-
fill: #92C5DE;
|
112
|
-
}
|
113
|
-
#item10
|
114
|
-
{
|
115
|
-
stroke: none;
|
116
|
-
fill: #D1E5F0;
|
117
|
-
}
|
118
|
-
#lineitem0
|
119
|
-
{
|
120
|
-
stroke: #2166AC;
|
121
|
-
stroke-width: 2;
|
122
|
-
}
|
123
|
-
#lineitem1
|
124
|
-
{
|
125
|
-
stroke: #4393C3;
|
126
|
-
stroke-width: 2;
|
127
|
-
}
|
128
|
-
#lineitem2
|
129
|
-
{
|
130
|
-
stroke:#92C5DE;
|
131
|
-
stroke-width: 2;
|
132
|
-
}
|
133
|
-
#lineitem3
|
134
|
-
{
|
135
|
-
stroke:#D1E5F0;
|
136
|
-
stroke-width: 2;
|
137
|
-
}
|
138
|
-
#lineitem4
|
139
|
-
{
|
140
|
-
stroke:#FDDBC7;
|
141
|
-
stroke-width: 2;
|
142
|
-
}
|
143
|
-
#lineitem5
|
144
|
-
{
|
145
|
-
stroke: #F4A582;
|
146
|
-
stroke-width:2;
|
147
|
-
}
|
148
|
-
#lineitem6
|
149
|
-
{
|
150
|
-
stroke: #D6604D;
|
151
|
-
stroke-width: 2;
|
152
|
-
}
|
153
|
-
#lineitem7
|
154
|
-
{
|
155
|
-
stroke: none;
|
156
|
-
stroke-width: 2;
|
157
|
-
}
|
158
|
-
#lineitem8
|
159
|
-
{
|
160
|
-
stroke: none;
|
161
|
-
stroke-width: 2;
|
162
|
-
}
|
163
|
-
.axislabel
|
164
|
-
{
|
165
|
-
font-family: monospace;
|
166
|
-
font-size: 11px;
|
167
|
-
fill: black;
|
168
|
-
stroke: none;
|
169
|
-
}
|
170
|
-
|
171
|
-
.axislabelt0
|
172
|
-
{
|
173
|
-
font-family: monospace;
|
174
|
-
font-size: 9px;
|
175
|
-
fill: black;
|
176
|
-
stroke: none;
|
177
|
-
}
|
178
|
-
.titletext
|
179
|
-
{
|
180
|
-
fill: #999;
|
181
|
-
stroke:none;
|
182
|
-
font-family: Arial, Helvetica, sans-serif;
|
183
|
-
font-size: 22px;
|
184
|
-
}
|
185
|
-
.titlepanel
|
186
|
-
{
|
187
|
-
fill: none;
|
188
|
-
fill-opacity: 0.5;
|
189
|
-
}
|
190
|
-
.titletool
|
191
|
-
{
|
192
|
-
fill: #AAA;
|
193
|
-
stroke:none;
|
194
|
-
font-family: Arial, Helvetica, sans-serif;
|
195
|
-
font-size: 10px;
|
196
|
-
}
|
197
|
-
.legendpanel
|
198
|
-
{
|
199
|
-
fill: white;
|
200
|
-
fill-opacity: 0.6;
|
201
|
-
stroke: #ddd;
|
202
|
-
}
|
203
|
-
|
204
|
-
.legendtext
|
205
|
-
{
|
206
|
-
font-family: Arial,Helvetica,sans-serif;
|
207
|
-
font-size: 10px;
|
208
|
-
fill: black;
|
209
|
-
stroke: none;
|
210
|
-
}
|
211
|
-
.legendstats
|
212
|
-
{
|
213
|
-
font-family: monospace;
|
214
|
-
font-size: 10px;
|
215
|
-
fill: black;
|
216
|
-
stroke: none;
|
217
|
-
}
|
218
|
-
|
219
|
-
.elementlabel
|
220
|
-
{
|
221
|
-
font-family: Arial,Helvetica,sans-serif;
|
222
|
-
font-size: 10px;
|
223
|
-
fill: black;
|
224
|
-
stroke: none;
|
225
|
-
}
|
226
|
-
.elementlabel_large
|
227
|
-
{
|
228
|
-
font-family: Arial,Helvetica,sans-serif;
|
229
|
-
font-size: 10px;
|
230
|
-
fill: black;
|
231
|
-
stroke: none;
|
232
|
-
}
|
233
|
-
.elementlabel_huge
|
234
|
-
{
|
235
|
-
font-family: Arial,Helvetica,sans-serif;
|
236
|
-
font-size: 12px;
|
237
|
-
fill: black;
|
238
|
-
stroke: none;
|
239
|
-
}
|
240
|
-
.elementvalue
|
241
|
-
{
|
242
|
-
font-family: Arial,Helvetica,sans-serif;
|
243
|
-
font-size: 10px;
|
244
|
-
fill: black;
|
245
|
-
stroke: none;
|
246
|
-
}
|
247
|
-
.elementvalue_large
|
248
|
-
{
|
249
|
-
font-family: Arial,Helvetica,sans-serif;
|
250
|
-
font-size: 10px;
|
251
|
-
fill: black;
|
252
|
-
stroke: none;
|
253
|
-
}
|
254
|
-
.elementvalue_huge
|
255
|
-
{
|
256
|
-
font-family: Arial,Helvetica,sans-serif;
|
257
|
-
font-size: 12px;
|
258
|
-
fill: black;
|
259
|
-
stroke: none;
|
260
|
-
}
|
261
|
-
.trackerpanel
|
262
|
-
{
|
263
|
-
fill: white;
|
264
|
-
fill-opacity: 0.0;
|
265
|
-
}
|
266
|
-
.trackerrect
|
267
|
-
{
|
268
|
-
fill: red;
|
269
|
-
fill-opacity: 0.4;
|
270
|
-
}
|
271
|
-
.trackertextinterval
|
272
|
-
{
|
273
|
-
font-family: courier;
|
274
|
-
font-size: 11px;
|
275
|
-
fill: black;
|
276
|
-
stroke: none;
|
277
|
-
}
|
278
|
-
.trackertextfromts
|
279
|
-
{
|
280
|
-
font-family: courier;
|
281
|
-
font-size: 9px;
|
282
|
-
fill: black;
|
283
|
-
stroke: none;
|
284
|
-
}
|