scale.labels.margin Number|Object(default: 5)

The margin of the labels.

Example

// sets the top, right, bottom and left margin to 3px.
margin: 3

// sets the top and left margin to 1px
// margin right and bottom are with 5px (by default)
margin: { top: 1, left: 1 }

scale.labels.margin.top Number

The top margin of the labels.

scale.labels.margin.bottom Number

The bottom margin of the labels.

scale.labels.margin.left Number

The left margin of the labels.

scale.labels.margin.right Number

The right margin of the labels.

In this article
Not finding the help you need? Improve this article