mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
heatmap tooltip: fix count decimals
This commit is contained in:
@@ -117,7 +117,7 @@ export class HeatmapTooltip {
|
|||||||
let bottom = yData.y ? yData.bounds.bottom : 0;
|
let bottom = yData.y ? yData.bounds.bottom : 0;
|
||||||
boundBottom = valueFormatter(bottom);
|
boundBottom = valueFormatter(bottom);
|
||||||
boundTop = valueFormatter(yData.bounds.top);
|
boundTop = valueFormatter(yData.bounds.top);
|
||||||
valuesNumber = yData.count;
|
valuesNumber = valueFormatter(yData.count);
|
||||||
tooltipHtml += `<div>
|
tooltipHtml += `<div>
|
||||||
bucket: <b>${boundBottom} - ${boundTop}</b> <br>
|
bucket: <b>${boundBottom} - ${boundTop}</b> <br>
|
||||||
count: <b>${valuesNumber}</b> <br>
|
count: <b>${valuesNumber}</b> <br>
|
||||||
|
|||||||
Reference in New Issue
Block a user