Remove top margin.
Workaround to get paintedheight for label. (Undefined or paintedheight
does not work.)
Base plotter's top margin on labels size.
Add small spacing at the bottom.
Add 0 value.
Align labels to the right.
Added O value and aligned to the right.
Made the plot's topMargin more specific. (Need to alling lines with labels)
Made comment more clear.
About the label workaround:
It is the complete opposite problem of PlasmaComponents checkboxes, where label cannot take implicitHeight.
Here it always takes implicitHeight with undefined or paintedheight.