{:uriI"file:///home/max/coding/fraunhofer/aeternitas_web_ui/app/assets/javascripts/aeternitas/web_ui/sparkline.js?type=application/javascript&pipeline=self&id=d00b710d3bb6c7f1ab14f6c94713738383431218e686f85f799241b4a6ef63e8: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"t$(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"%wVЖ2Zlݛ+Nܓ:lengthit:dependencies_digest"%He xOy7pl#bJNu0T:idI"Ed00b710d3bb6c7f1ab14f6c94713738383431218e686f85f799241b4a6ef63e8;F: mtimel+ PY