[bubble] Fixing ad-hoc metric labels (#5630)

This commit is contained in:
John Bodley 2018-08-14 17:11:40 -07:00 committed by GitHub
parent d601ff4747
commit 46f89f4516
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -331,9 +331,9 @@ export default function nvd3Vis(slice, payload) {
`<tr><td style="color: ${p.color};">` +
`<strong>${p[fd.entity]}</strong> (${p.group})` +
'</td></tr>');
s += row(fd.x, xAxisFormatter(p.x));
s += row(fd.y, yAxisFormatter(p.y));
s += row(fd.size, formatter(p.size));
s += row(fd.x.label || fd.x, xAxisFormatter(p.x));
s += row(fd.y.label || fd.y, yAxisFormatter(p.y));
s += row(fd.size.label || fd.size, formatter(p.size));
s += '</table>';
return s;
});