{:uriI"Øfile:///home/max/coding/fraunhofer/aeternitas_web_ui/app/assets/javascripts/aeternitas/web_ui/sparkline.js?type=application/javascript&pipeline=self&id=2193f934f6d1f7f03addce5011ef0d2ba38213fc5fdeb6c99cc212f9ddb6da37: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).append(container);
new Chart(container.get(0), {
type: 'line',
data: {
labels: labels,
datasets: [{
data: data,
pointRadius: 0,
lineTension: 0
}]
},
options: {
responsive: true,
maintainAspectRatio: false,
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"%}]Føa"