Skip to content

Commit

Permalink
[bubble] Fixing ad-hoc metric labels (apache#5630)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored Aug 15, 2018
1 parent 8d37ccd commit ba794ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions superset/assets/src/visualizations/nvd3_vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit ba794ff

Please sign in to comment.