{:uriI"file:///home/max/coding/fraunhofer/aeternitas_web_ui/app/assets/javascripts/aeternitas/web_ui/sparkline.js?type=application/javascript&pipeline=self&id=681c66d48dd9d01d4d4e93a98fb9032895e3fdcf5093f05db0694c52bfc044b7: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"z$(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).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"%w&8[wK`1㤝 :Y : lengthiz:dependencies_digest"%i̳>b@3M}.1E :idI"E681c66d48dd9d01d4d4e93a98fb9032895e3fdcf5093f05db0694c52bfc044b7;F: mtimel+jPY