fix(singlestat): rename seriename scoped var

This commit is contained in:
bergquist
2016-06-25 20:17:05 +02:00
parent b31fccb889
commit 8b8bfa8a17
@@ -200,9 +200,9 @@ class SingleStatCtrl extends MetricsPanelCtrl {
data.valueRounded = kbn.roundValue(data.value, decimalInfo.decimals);
}
// Add $seriesName variable for using in prefix or postfix
// Add $__name variable for using in prefix or postfix
data.scopedVars = {
seriesName: {
__name: {
value: this.series[0].label
}
};