diff --git a/src/sentry/static/sentry/app/components/charts/worldMapChart.jsx b/src/sentry/static/sentry/app/components/charts/worldMapChart.jsx index 9bf8ad18f83c9c..08592432760ae3 100644 --- a/src/sentry/static/sentry/app/components/charts/worldMapChart.jsx +++ b/src/sentry/static/sentry/app/components/charts/worldMapChart.jsx @@ -1,3 +1,4 @@ +import {max} from 'lodash'; import PropTypes from 'prop-types'; import React from 'react'; @@ -43,13 +44,18 @@ export default class WorldMapChart extends React.Component { }); }); + // TODO(billy): + // For absolute values, we want min/max to based on min/max of series + // Otherwise it should be 0-100 + const maxValue = max(series.map(({data}) => max(data.map(({value}) => value)))); + return (