AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated v7 version of this document. Switch to the v8 version to see the up to date information.

class anychart.core.resource.resourceList.SettingsWithMargin Improve this Doc

Settings with margin.

Methods Overview

Size and Position
margin()Margin settings.

Methods Description

margin

Getter for the margin.

Returns:

anychart.core.utils.Margin - The margin.
Setter for the margin using a single value.

Params:

NameTypeDescription
valueArray.<(number|string)> | ObjectValue to set.

Returns:

anychart.core.resource.resourceList.SettingsWithMargin - Self instance for method chaining.
Setter for the callout margin using several values.

Params:

NameTypeDescription
value1string | numberTop or top-bottom space.
value2string | numberRight or right-left space.
value3string | numberBottom space.
value4string | numberLeft space.

Returns:

anychart.core.resource.resourceList.SettingsWithMargin - Self instance for method chaining.