mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
pie chart unhandled error fix (#9420)
This commit is contained in:
parent
10c2136010
commit
5864f2b093
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