Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F5494133
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
Wed, Sep 30, 3:13 PM
Size
354 B
Mime Type
text/x-ruby
Expires
Fri, Oct 2, 3:13 PM (1 d, 18 h)
Engine
blob
Format
Raw Data
Handle
453166
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