Greg
12/10/2025, 11:07 AMGreg
12/10/2025, 11:09 AMlayout {
title = plotTitle
style {
legend {
justification(0.0, 1.0)
position = LegendPosition.Custom(0.0, 1.0)
direction = LegendDirection.VERTICAL
background {
//fillColor = Color.rgba(0, 0, 0, 0.0)
borderLineColor=Color.RED
borderLineWidth = 2.0
borderLineType= LineType.SOLID
}
text {
fontSize = 6.0
//angle=45.0
margin = Margin(0.0)
}
}
}
}
margin doesn't seem to do anything here (nor angle, for that matter, not that i really needed this)Greg
12/10/2025, 11:10 AMdirection = LegendDirection.VERTICAL
doesn't seem to work anymore (in the screenshot, i have a color{legend{type = LegendType.DiscreteLegend(nCol = 2)}} but when i remove it, the legend goes back to horizontal mode for some reasonAndrei Kislitsyn
12/10/2025, 11:29 AMplot.toLetsPlot() + theme(legendMargin = 0)Andrei Kislitsyn
12/10/2025, 11:30 AMAndrei Kislitsyn
12/10/2025, 11:31 AMplot.toLetsPlot() + theme(legendMargin = 0).legendDirectionVertical()Greg
12/10/2025, 2:06 PMAndrei Kislitsyn
12/10/2025, 2:32 PMGreg
12/10/2025, 9:33 PM