I have been trying to fix this problem but not been able to do so. I am not able to find any good examples on the web either.
I have tried rowHeightsThatFit: but don’t get it to work.
I want to lay out the bottom legends on one line alternative make sure it is seen.

From the
CPTLegendclass reference:You will want to modify the
numberOfRowsattribute from the layout properties:And also be careful how you set the
numberOfColumnsproperty: