Options.Margin.js

Summary
Options.Margin.js
Options.MarginCanvas drawing margins.

Options.Margin

Canvas drawing margins.

Syntax

Options.Margin = {
  top: 0,
  left: 0,
  right: 0,
  bottom: 0
};

Example

var viz = new $jit.Viz({
  Margin: {
    right: 10,
    bottom: 20
  }
});

Parameters

top(number) Default’s 0.  Top margin.
left(number) Default’s 0.  Left margin.
right(number) Default’s 0.  Right margin.
bottom(number) Default’s 0.  Bottom margin.
Close