mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[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};">` +
|
`<tr><td style="color: ${p.color};">` +
|
||||||
`<strong>${p[fd.entity]}</strong> (${p.group})` +
|
`<strong>${p[fd.entity]}</strong> (${p.group})` +
|
||||||
'</td></tr>');
|
'</td></tr>');
|
||||||
s += row(fd.x, xAxisFormatter(p.x));
|
s += row(fd.x.label || fd.x, xAxisFormatter(p.x));
|
||||||
s += row(fd.y, yAxisFormatter(p.y));
|
s += row(fd.y.label || fd.y, yAxisFormatter(p.y));
|
||||||
s += row(fd.size, formatter(p.size));
|
s += row(fd.size.label || fd.size, formatter(p.size));
|
||||||
s += '</table>';
|
s += '</table>';
|
||||||
return s;
|
return s;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user