Class: Margins

Margins

new epiviz.ui.charts.Margins(top, left, bottom, right)

ui/charts/margins.js, line 16
Name Type Description
top number
left number
bottom number
right number

Members

static,constantepiviz.ui.charts.Margins.ZERO_MARGINepiviz.ui.charts.Margins

Methods

staticepiviz.ui.charts.Margins.fromRawObject(o){epiviz.ui.charts.Margins}

ui/charts/margins.js, line 96
Name Type Description
o Object
Returns:
Type Description
epiviz.ui.charts.Margins

bottom(){number}

ui/charts/margins.js, line 61
Returns:
Type Description
number

copy(){epiviz.ui.charts.Margins}

ui/charts/margins.js, line 103
Returns:
Type Description
epiviz.ui.charts.Margins

equals(other){boolean}

ui/charts/margins.js, line 111
Name Type Description
other epiviz.ui.charts.Margins
Returns:
Type Description
boolean

left(){number}

ui/charts/margins.js, line 56
Returns:
Type Description
number

raw(){Object}

ui/charts/margins.js, line 83
Returns:
Type Description
Object
ui/charts/margins.js, line 66
Returns:
Type Description
number

sumAxis(axis){number}

ui/charts/margins.js, line 72
Name Type Description
axis epiviz.ui.charts.Axis
Returns:
Type Description
number

top(){number}

ui/charts/margins.js, line 51
Returns:
Type Description
number
comments powered by Disqus