LegendLabels

The appearance configuration for the legend labels.

color?

string

The color of the legend label text. Accepts a valid CSS color configuration string, including hex and rgb.

content?

(e: LegendLabelsContentArgs) => string

A function used to generate the content of each label.

font?

string

The font of the legend label text. Accepts a valid CSS font configuration string.

margin?

Margin | number

The margin of the labels. A numeric value sets all margins.

padding?

Padding | number

The padding of the labels. A numeric value sets all paddings.

In this article

Not finding the help you need?