Skip to content

[nvd3] fix single metric showing up in legend#3563

Merged
mistercrunch merged 1 commit intoapache:masterfrom
mistercrunch:fix_legend
Oct 2, 2017
Merged

[nvd3] fix single metric showing up in legend#3563
mistercrunch merged 1 commit intoapache:masterfrom
mistercrunch:fix_legend

Conversation

@mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Oct 2, 2017

blame #3504

In the case where there's a single metric and a one or many dimension, the metric name would not be reported prior to this change, which is the desired behavior. Where before using metric count with gender dimension would give ['female', 'male', 'other'] in both the legend and tooltip, now it says ['count, female', 'count, male', 'count, other']

@timifasubaa
Copy link
Contributor

LGTM

@coveralls
Copy link

coveralls commented Oct 2, 2017

Coverage Status

Coverage decreased (-0.02%) to 70.141% when pulling 05b2b42 on mistercrunch:fix_legend into bc3ad64 on apache:master.

@mistercrunch mistercrunch merged commit b39d165 into apache:master Oct 2, 2017
@mistercrunch mistercrunch deleted the fix_legend branch October 2, 2017 17:42
@fabianmenges
Copy link
Contributor

Just saw this, now we have presentation logic in python again. Would have been cleaner to do it in JS.

michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.20.1 First shipped in 0.20.1 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.20.1 First shipped in 0.20.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants