Skip to main content

LegendLabelOptions

@elastic/chartsExports


@elastic/charts / LegendLabelOptions

Interface: LegendLabelOptions

Contents

Properties

maxLines?

maxLines?: number

Sets maxlines allowable before truncating

Setting value to 0 will never truncate the text

Default Value

1

Source

packages/charts/src/utils/themes/theme.ts:405


widthLimit?

widthLimit?: number

Sets widthLimit allowable before truncating (unit: px) Only applicable if the list layout is chosen for the top and bottom positions

Setting value to 0 will never truncate the text

Default Value

250

Source

packages/charts/src/utils/themes/theme.ts:414


Generated using typedoc-plugin-markdown and TypeDoc