mirror of https://github.com/apache/superset.git
[bubble] Fixing ad-hoc metric labels (#5630)
This commit is contained in:
parent
d601ff4747
commit
46f89f4516
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue