{:uriI"Øfile:///home/max/coding/fraunhofer/aeternitas_web_ui/app/assets/javascripts/aeternitas/web_ui/sparkline.js?type=application/javascript&pipeline=self&id=4f6fda3a1eddeb0a999c95a877f1125a4444e8affbc710ff87f8ab9d616f6139: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() { console.log($(".sparkline")); $(".sparkline").each(function(i,sparkline){ console.log(sparkline) var data = sparkline.html.split(","); var labels = Array.from(Array(data.length).keys()); var container = $("
"); sparkline.append(container); new Chart(container.get(0), { type: 'line', data: { labels: labels, datasets: [{ data: data, pointRadius: 0, lineTension: 0 }] }, options: { scales: { yAxes: [{display: false}], 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"%jô!k&evä"¼ÏϪŸºiÁýÛà9Y©4îÒù>#Ö: lengthiŽ:dependencies_digest"%ôUt,…/y¦3;°ÀxT"ꙺy¥K¯¨yV5i…:idI"E4f6fda3a1eddeb0a999c95a877f1125a4444e8affbc710ff87f8ab9d616f6139;F: mtimel+ÄÌPY