Commit 8b8bfa8a by bergquist

fix(singlestat): rename seriename scoped var

parent b31fccb8
......@@ -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
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment