We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0febb00 commit 7af7594Copy full SHA for 7af7594
src/components/d3_multi/index.js
@@ -112,8 +112,8 @@ class ViewerMulti extends React.Component {
112
selectedAxes = { xUnit: '', yUnit: '' };
113
}
114
const { xUnit, yUnit } = selectedAxes;
115
- xxLabel = xUnit === '' ? xLabel : xUnit;
116
- yyLabel = yUnit === '' ? yLabel : yUnit;
+ xxLabel = xUnit === '' ? `X (${xLabel})` : `X (${xUnit})`;
+ yyLabel = yUnit === '' ? `Y (${yLabel})` : `Y (${yUnit})`;
117
118
119
const filterSeed = seed;
0 commit comments