Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F461844
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
Sun, May 18, 6:38 PM
Size
354 B
Mime Type
text/x-ruby
Expires
Tue, May 20, 6:38 PM (1 d, 8 h)
Engine
blob
Format
Raw Data
Handle
220130
Attached To
rARCHIVING archiving
chart_helper.rb
View Options
module
ChartHelper
def
archiving_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