Don't encode the metric name either

This commit is contained in:
Graham Campbell
2015-07-27 19:37:59 +01:00
parent e06688aee5
commit 7f0c2a772d

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,