Chart LabelRotation

Hi,
I found the following issue that can be also reprodused on the Demo Site:
link

I changed the Legend position to Bottom and while the LegenAutoRotation is set to true.

The problem is that the height of the rotated labels is not considered in the general chart height and the Legend is put over the Labels.

Is there any property to fine-tune the label position?

Thank you in advance,
Ivan

The closest thing is to manually set the rotation angle. You can also use CSS to move the legend:

.rz-legend-bottom {
   bottom: -38px !important;
}

Hi!
Thank you very much for your quick reply!

I checked that with LabelRotation set to -45, -60, 90 the result is the same: the Legend is positioned over the Axis Labels.

Overriding the legend css could be a solution if the Axis Labels are knwon at compile time that is not always the case.

I also noticed that the elements in the DOM after the Line Chart also overlap with the Axis Labels.

Is it possible to fix the calcualtion of the global height of the Chart?

Best regards,
Ivan

Seems to be. Here is how it would work from the next release:

chart-label-rotation

The rotation is taken into account when measuring the size of the category axis.

Hi!
This is really nice!
Thank you for the fast responce!

Best regards,
Ivan