Skip to content

Conversation

@ppisljar
Copy link
Contributor

@ppisljar ppisljar commented Feb 7, 2017

fixes #6605

pie chart is not taking custom label into account when showing the tooltips

@ppisljar ppisljar added the review label Feb 7, 2017
@tbragin tbragin added the Feature:Visualizations Generic visualization features (in case no more specific feature label is available) label Feb 7, 2017
@thomasneirynck thomasneirynck self-assigned this Feb 9, 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.

looks good, IMO, but not sure if failing test is related

WARN: 'Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.
Arguments: [object Object]
Error
    at Function.createFromInputFallback (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:57429:2711)
    at oa (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:57429:10866)
    at Ia (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:57429:14773)
    at Ha (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:57429:14634)
    at Ga (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:57429:14354)
    at Ja (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:57429:15086)
    at Ka (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:57429:15120)
    at a (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:57429:203)
    at Object.parse (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:57482:34)
    at Array.validateDateMath (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:187704:52)
    at Object.ngModelWatch (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:47788:37)
    at Scope.$digest (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:38187:41)
    at Context.<anonymous> (http://localhost:5610/bundles/tests.bundle.js?shards=4&shard_num=1:327054:17)
    at callFn (http://localhost:9876/base/node_modules/mocha/mocha.js?312499f61e38c4f82b2789b388ced378202a1e75:4471:21)
    at Test.Runnable.run (http://localhost:9876/base/node_modules/mocha/mocha.js?312499f61e38c4f82b2789b388ced378202a1e75:4464:7)
    at Runner.runTest (http://localhost:9876/base/node_modules/mocha/mocha.js?312499f61e38c4f82b2789b388ced378202a1e75:4934:10)'

@ppisljar
Copy link
Contributor Author

the failing test looks unrelated.

@markharwood
Copy link
Contributor

Tried it here and it solved the pie chart display issue.

@ppisljar ppisljar force-pushed the fix/pieTooltipLabels branch from 3f36af1 to 573bb16 Compare February 13, 2017 13:01
@ppisljar ppisljar force-pushed the fix/pieTooltipLabels branch from 43bcbb0 to 0ada537 Compare February 13, 2017 13:42
@ppisljar ppisljar merged commit 6296bc5 into elastic:master Feb 13, 2017
elastic-jasper added a commit that referenced this pull request Feb 13, 2017
Backports PR #10219

**Commit 1:**
fixing pie chart tooltip custom label bug

* Original sha: 573bb16
* Authored by ppisljar <[email protected]> on 2017-02-07T11:40:19Z

**Commit 2:**
fixing test

* Original sha: 0ada537
* Authored by ppisljar <[email protected]> on 2017-02-13T13:18:01Z
ppisljar pushed a commit that referenced this pull request Feb 13, 2017
Backports PR #10219

**Commit 1:**
fixing pie chart tooltip custom label bug

* Original sha: 573bb16
* Authored by ppisljar <[email protected]> on 2017-02-07T11:40:19Z

**Commit 2:**
fixing test

* Original sha: 0ada537
* Authored by ppisljar <[email protected]> on 2017-02-13T13:18:01Z
@ppisljar ppisljar deleted the fix/pieTooltipLabels branch February 13, 2017 16:45
@ppisljar ppisljar restored the fix/pieTooltipLabels branch September 26, 2018 10:08
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) review v5.4.0 v6.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use custom metric label in pie chart mouseovers

4 participants