heatmap tooltip: fix count decimals

This commit is contained in:
Alexander Zobnin
2018-02-22 16:12:42 +03:00
parent bc47380032
commit cc34c9a651

View File

@@ -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>