Merge branch 'master' of github.com:elastic/kibana into upgrade/eslint-try2

This commit is contained in:
spalger 2016-12-12 13:17:05 -07:00
commit 76e77a7576

View file

@ -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,