Commit cc34c9a6 by Alexander Zobnin

heatmap tooltip: fix count decimals

parent bc473800
...@@ -117,7 +117,7 @@ export class HeatmapTooltip { ...@@ -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>
......
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