Set bottom margin (in px)
Set the plot height (in px)
Set left margin (in px)
Set legend options
Set legend options
val legend = LegendOptions().fontSize(20) val figure = Figure().legend(legend)
Set layout margins
Set the paper's background color.
Set the paper's background color with (red, green, blue, alpha)
Set the paper's background color
Set the paper's background color
val figure = Figure().paperBackgroundColor(Color.rgb(0, 255, 0))
Set the plot's background color
Set the plot's background color with (red, green, blue, alpha)
Set the plot's background color
Set the plot's background color
val figure = Figure().plotBackgroundColor(Color.rgb(0, 255, 0))
Set right margin (in px)
Set figure title
Set top margin (in px)
Set the plot width (in px)