AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.core.ui.table.Padding Improve this Doc

Padding settings proxy. Doesn't store anything - just passes settings to and from the parent object.

Methods Overview

Size and Position
bottom()Bottom padding settings.
left()Left padding settings.
right()Right padding settings.
top()Top padding settings.

Methods Description

bottom

Getter for bottom padding.

Returns:

number | string | undefined - Bottom padding.
Setter for bottom padding.

Params:

NameTypeDefaultDescription
bottomnumber | string | null
0
Value to set.

Returns:

anychart.core.ui.table.Padding - Self instance for method chaining.

left

Getter for left padding.

Returns:

number | string | undefined - Left padding.
Setter for left padding.

Params:

NameTypeDefaultDescription
leftnumber | string | null
0
Value to set.

Returns:

anychart.core.ui.table.Padding - Self instance for method chaining.
Getter for right padding.

Returns:

number | string | undefined - Right padding.
Setter for right padding.

Params:

NameTypeDefaultDescription
rightnumber | string
0
Value to set.

Returns:

anychart.core.ui.table.Padding - Self instance for method chaining.

top

Getter for top padding.

Returns:

number | string | undefined - Top padding.
Setter for top padding.

Params:

NameTypeDefaultDescription
topnumber | string
0
Value to set.

Returns:

anychart.core.ui.table.Padding - Self instance for method chaining.