rbgct 0.0.5 → 0.0.6
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/lib/rbgct/charts/chart.rb +1 -1
- data/lib/rbgct/charts/line_chart.rb +1 -1
- data/lib/rbgct/version.rb +1 -1
- metadata +2 -2
data/lib/rbgct/charts/chart.rb
CHANGED
@@ -31,7 +31,7 @@ module Rbgct::Charts
|
|
31
31
|
|
32
32
|
// Create and draw the visualization.
|
33
33
|
new google.visualization.LineChart(document.getElementById('#{dom_id}')).
|
34
|
-
draw(data, {width: #{width}, height: #{height}, chartArea: {top: #{top}, left: #{left}} #{options_for_chart}});
|
34
|
+
draw(data, {width: #{width}, height: #{height}, title: "#{title}", chartArea: {top: #{top}, left: #{left}} #{options_for_chart}});
|
35
35
|
}
|
36
36
|
|
37
37
|
google.setOnLoadCallback(drawVisualization);
|
@@ -45,7 +45,7 @@ module Rbgct::Charts
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def options_for_chart
|
48
|
-
%(, vAxis: {maxValue: #{max_value}, title: "#{v_title}"}, hAxis: {title: "#{h_title}"}
|
48
|
+
%(, curveType: "#{curve_type}", vAxis: {maxValue: #{max_value}, title: "#{v_title}"}, hAxis: {title: "#{h_title}"})
|
49
49
|
end
|
50
50
|
|
51
51
|
def eval_x_strftime(val)
|
data/lib/rbgct/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rbgct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Emanuele Tozzato
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06-
|
13
|
+
date: 2011-06-28 00:00:00 Z
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description: "Google Chart Tools provide a perfect way to visualize data on your website: now on Ruby"
|