diff --git a/src/common/axes/AxisTicks.jsx b/src/common/axes/AxisTicks.jsx index f6ccd0e..c10701c 100644 --- a/src/common/axes/AxisTicks.jsx +++ b/src/common/axes/AxisTicks.jsx @@ -221,7 +221,11 @@ module.exports = React.createClass({ textAnchor={textAnchor} {...optionalTextProps} > - {tickFormat(tick)} + {`${tickFormat(tick)}`.split('\n').map((tickLabel) => ( + + {tickLabel} + + ))} ))