Fixes #822 - Don't encode entities in metric tooltips

This commit is contained in:
James Brooks
2015-07-27 19:31:37 +01:00
parent bfe2b6ca48
commit e06688aee5

View File

@@ -60,7 +60,7 @@
var ctx = document.getElementById("metric-{{ $metric->id }}").getContext("2d");
new Chart(ctx).Line(data, {
tooltipTemplate: "{{ $metric->name }}: <%= value %>{{ $metric->suffix }}",
tooltipTemplate: "{{ $metric->name }}: <%= value %>{!! $metric->suffix !!}",
scaleShowVerticalLines: true,
scaleShowLabels: false,
responsive: true,