Describe the bug
If there isn't enough available space, axes labels will get cut off.
To Reproduce
Steps to reproduce the behavior:
Create a chart with a long axes label
See error
Expected behavior
Usually I'm a fan of just truncating with an ellipsis and then use title attribute to display the full label. The problem with this is that the chart label is too integral to the understanding of the chart to be hiding pieces of information, also I don't think you can add a title attribute to parts of a Canvas or even SVG element.
Therefore, I think the solution is just to allow the text to wrap lines.
Screenshots
The label should say 6:00 - 6:14
Version (please complete the following information):
Describe the bug If there isn't enough available space, axes labels will get cut off.
To Reproduce Steps to reproduce the behavior:
Expected behavior Usually I'm a fan of just truncating with an ellipsis and then use
title
attribute to display the full label. The problem with this is that the chart label is too integral to the understanding of the chart to be hiding pieces of information, also I don't think you can add atitle
attribute to parts of a Canvas or even SVG element.Therefore, I think the solution is just to allow the text to wrap lines.
Screenshots
The label should say
6:00 - 6:14
Version (please complete the following information):
Kibana Cross Issues https://github.com/elastic/kibana/issues/20472