mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
pie chart unhandled error fix (#9440)
Backports PR #9420
**Commit 1:**
pie chart unhandled error fix
* Original sha: 4261d7cb79
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-09T09:40:53Z
This commit is contained in:
parent
aa828cde5d
commit
1668d740c7
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ export default function DispatchClass(Private, config) {
|
|||
const slices = isSlices ? data.slices : undefined;
|
||||
const handler = this.handler;
|
||||
const color = _.get(handler, 'data.color');
|
||||
const isPercentage = (handler && handler.visConfig.get('mode') === 'percentage');
|
||||
const isPercentage = (handler && handler.visConfig.get('mode', 'normal') === 'percentage');
|
||||
|
||||
const eventData = {
|
||||
value: d.y,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue