diff --git a/src/components/react_canvas/axis.tsx b/src/components/react_canvas/axis.tsx index 6b17f10723..8537d527f0 100644 --- a/src/components/react_canvas/axis.tsx +++ b/src/components/react_canvas/axis.tsx @@ -256,7 +256,7 @@ export class Axis extends React.PureComponent { x={left} y={top} width={width} - height={maxLabelBboxHeight} + height={titleFontSize} stroke="black" strokeWidth={1} fill="violet"