jsontochart 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jsontochart.rb +2 -2
- metadata +1 -1
data/lib/jsontochart.rb
CHANGED
@@ -116,14 +116,14 @@ class JSONToChart
|
|
116
116
|
function drawTable() {
|
117
117
|
var data = new google.visualization.DataTable();"
|
118
118
|
footerhtml = "var table = new
|
119
|
-
google.visualization.Table(document.getElementById('"+@id+"table_div'));
|
119
|
+
google.visualization.Table(document.getElementById('"+@id.to_s+"table_div'));
|
120
120
|
table.draw(data, {showRowNumber: true});
|
121
121
|
}
|
122
122
|
</script>
|
123
123
|
</head>
|
124
124
|
|
125
125
|
<body>
|
126
|
-
<div id='"+@id+"table_div'></div>
|
126
|
+
<div id='"+@id.to_s+"table_div'></div>
|
127
127
|
</body>
|
128
128
|
</html>"
|
129
129
|
|