Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F462782
chart_helper.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, May 19, 12:02 AM
Size
349 B
Mime Type
text/x-ruby
Expires
Wed, May 21, 12:02 AM (5 h, 14 m)
Engine
blob
Format
Raw Data
Handle
220162
Attached To
rARCHIVING archiving
chart_helper.rb
View Options
module
ChartHelper
def
baas_chart
(
id
,
chart_options
)
html
=
<<-
HTML
<script type='text/javascript'>
$(function () {
$(document).ready(function () {
#{id}_data = #{chart_options};
$('##{id}').highcharts(#{id}_data);
});
});
</script>
HTML
html
.
html_safe
end
end
Event Timeline
Log In to Comment