legendPosition

fun legendPosition(xpos: Number, ypos: Number): theme

Specifies the legend position relative to the plot drawing area. Position (0, 0) corresponds to the left, lower corner of the plot. Position (1, 1) corresponds to the right, upper corner of the plot.