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

in percentage mode tooltip should also show percentages #13217

Merged
merged 1 commit into from
Aug 1, 2017

Conversation

ppisljar
Copy link
Member

@ppisljar ppisljar commented Jul 31, 2017

Release Note: Tooltips now correctly display the percentage-value in area charts where the Y-Axis is formatted in percentage mode.


Closes #12391

variation of #13212

#13212 tries to change the default label of aggregation when in percentage mode, which is actually not mentioned in #12391

this PR just fixes the bug with percentage mode (which was introduced by vislib refactor almost a year ago), so the old behavior is restored: when in percentage mode the tooltip should show both, the metric value and the percentage.

@thomasneirynck
Copy link
Contributor

jenkins, test this

@thomasneirynck
Copy link
Contributor

jenkins, test this.

@thomasneirynck
Copy link
Contributor

jenkins, test this

@thomasneirynck thomasneirynck added the Feature:Visualizations Generic visualization features (in case no more specific feature label is available) label Jul 31, 2017
Copy link
Contributor

@thomasneirynck thomasneirynck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, this makes sense. We won't do the labeling of the Y-axis for now (to show Percentage of ....).

Like how you grab the axis-config directly.

@thomasneirynck
Copy link
Contributor

Feel free to merge and backport to 6.x/6.0/5.x/5.5.

Thx!

@ppisljar ppisljar merged commit 5703ffc into elastic:master Aug 1, 2017
ppisljar added a commit to ppisljar/kibana that referenced this pull request Aug 1, 2017
ppisljar added a commit to ppisljar/kibana that referenced this pull request Aug 1, 2017
ppisljar added a commit to ppisljar/kibana that referenced this pull request Aug 1, 2017
ppisljar added a commit to ppisljar/kibana that referenced this pull request Aug 1, 2017
ppisljar added a commit to ppisljar/kibana that referenced this pull request Aug 1, 2017
thomasneirynck added a commit that referenced this pull request Aug 1, 2017
This fixes a regression introduced by #13217.
thomasneirynck added a commit to thomasneirynck/kibana that referenced this pull request Aug 1, 2017
thomasneirynck added a commit to thomasneirynck/kibana that referenced this pull request Aug 1, 2017
thomasneirynck added a commit to thomasneirynck/kibana that referenced this pull request Aug 1, 2017
thomasneirynck added a commit to thomasneirynck/kibana that referenced this pull request Aug 1, 2017
thomasneirynck added a commit that referenced this pull request Aug 1, 2017
thomasneirynck added a commit that referenced this pull request Aug 1, 2017
thomasneirynck added a commit that referenced this pull request Aug 1, 2017
thomasneirynck added a commit that referenced this pull request Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:fix v5.5.2 v5.6.0 v6.0.0 v6.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Area chart tooltip should have the show percentages when in percentage mode
2 participants