{:uriI"Øfile:///home/max/coding/fraunhofer/aeternitas_web_ui/app/assets/javascripts/aeternitas/web_ui/sparkline.js?type=application/javascript&pipeline=self&id=83cb7575f0257f62512a16a827f037cc8bb30dee2548413a725fd0e48f06f4f7:ET:load_pathI"I/home/max/coding/fraunhofer/aeternitas_web_ui/app/assets/javascripts;T: filenameI"h/home/max/coding/fraunhofer/aeternitas_web_ui/app/assets/javascripts/aeternitas/web_ui/sparkline.js;T: nameI" aeternitas/web_ui/sparkline;T:logical_pathI"(aeternitas/web_ui/sparkline.self.js;T:content_typeI"application/javascript;T: sourceI"?$(document).ready(function() { $(".sparkline").each(function(i,sparkline){ console.log(sparkline) var data = $(sparkline).html().split(","); var labels = Array.from(Array(data.length).keys()); var container = $(""); $(sparkline).html(container); new Chart(container.get(0), { type: 'line', data: { labels: labels, datasets: [{ data: data, pointRadius: 0, lineTension: 0, borderColor: '#96C0CE', backgroundColor: 'rgba(171,221,235,0.5)' }] }, options: { responsive: true, maintainAspectRatio: false, scales: { yAxes: [{display: false, ticks: {min: 0}}], xAxes: [{display: false}] }, legend: { display: false } } }) }) }); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"vfile-digest:///home/max/coding/fraunhofer/aeternitas_web_ui/app/assets/javascripts/aeternitas/web_ui/sparkline.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%G¥RªÙ ܇u9s¥\¬ÜšyF«­Ò£bÛ¿bf\: lengthi?:dependencies_digest"%u«¬bJ6¹¸ƒß>æÑcZúãÊ&ND;Ž½ñÕƉÎ:idI"E83cb7575f0257f62512a16a827f037cc8bb30dee2548413a725fd0e48f06f4f7;F: mtimel+€RY