Skip to content

Interface: LayoutMargin ​

Space around the plot area.

Properties ​

PropertyTypeDefault valueDescription
autoexpand?booleantrueLet components (legend, colorbars, automargin axes) grow the margins.
b?number80Bottom margin in CSS pixels. Minimum: 0
gutter?number0Holochart extension: space (CSS px) kept between the figure edge and content that grows a margin (automargin tick labels and axis titles, legends, colorbars), so it never touches the edge. 0 (Plotly) lets that content reach the edge. Minimum: 0
l?number80Left margin in CSS pixels. Minimum: 0
pad?number0Padding between the plot area and the axis lines, in CSS pixels. Minimum: 0
r?number80Right margin in CSS pixels. Minimum: 0
t?number100Top margin in CSS pixels. Minimum: 0

Released under the MIT License.