Ver Fonte

heatmap tooltip: fix count decimals

Alexander Zobnin há 7 anos atrás
pai
commit
cc34c9a651
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      public/app/plugins/panel/heatmap/heatmap_tooltip.ts

+ 1 - 1
public/app/plugins/panel/heatmap/heatmap_tooltip.ts

@@ -117,7 +117,7 @@ export class HeatmapTooltip {
         let bottom = yData.y ? yData.bounds.bottom : 0;
         boundBottom = valueFormatter(bottom);
         boundTop = valueFormatter(yData.bounds.top);
-        valuesNumber = yData.count;
+        valuesNumber = valueFormatter(yData.count);
         tooltipHtml += `<div>
           bucket: <b>${boundBottom} - ${boundTop}</b> <br>
           count: <b>${valuesNumber}</b> <br>