How to hide axis name when axis is hidden echarts

Viewed 326

When removing all values from legend, the y-axis is hidden, but the name isn't, how can I hide it as well?

Or maybe stop the x-axis from expanding could help, since the axis label is truncating.

enter image description here

1 Answers

Their is no option to hide the name of an axis.

Instead set the xAxis.name and/or yAxis.name to a null value, or unset the property.

Related