diff --git a/src/app/components/VerticalBarChart.jsx b/src/app/components/VerticalBarChart.jsx index b8a709cf..1f2ecb94 100644 --- a/src/app/components/VerticalBarChart.jsx +++ b/src/app/components/VerticalBarChart.jsx @@ -98,8 +98,10 @@ const ValueLabel = React.createClass({ render() { const { x, y, payload, value } = this.props; + const em = value < 1000 ? '1em' : value < 1000 ? '0.8em' : '0.7em'; + return ( - {value} + {value} ); } });