AnyChart
API Reference
Still have questions?
Contact support
Top

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

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

Methods Overview

Coloring
bottom()Bottom border settings.
left()Left border settings.
right()Right border settings.
top()Top border settings.

Methods Description

bottom

Getter for bottom border settings.

Returns:

anychart.graphics.vector.Stroke - Stroke settings.
Setter for bottom border settings. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
coloranychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinstring | anychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapstring | anychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

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

left

Getter for left border settings.

Returns:

anychart.graphics.vector.Stroke - Stroke settings.
Setter for left border settings. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
coloranychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinstring | anychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapstring | anychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.table.Base - Self instance for method chaining.
Getter for right border settings.

Returns:

anychart.graphics.vector.Stroke - Stroke settings.
Setter for right border settings. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
coloranychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinstring | anychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapstring | anychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

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

top

Getter for top border settings.

Returns:

anychart.graphics.vector.Stroke - Stroke settings.
Setter for top border settings. Learn more about stroke settings.

Params:

NameTypeDefaultDescription
coloranychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinstring | anychart.graphics.vector.StrokeLineJoin
Line join style.
lineCapstring | anychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

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