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):
Kibana Cross Issues
elastic/kibana#20472
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
titleattribute 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 atitleattribute 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:14Version (please complete the following information):
Kibana Cross Issues
elastic/kibana#20472