Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 2, 2017

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.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants