Skip to main content

LineStyle

@elastic/charts • Exports


@elastic/charts / LineStyle

Interface: LineStyle

Contents​

Properties​

dash?​

dash?: number[]

the dash array

Source​

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


dimmed​

dimmed: Object | Object

The style applied to the line when it is dimmed relative to other highlighted elements on the chart. This is typically used to visually de-emphasize the line, for example, when another series is highlighted.

Source​

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


focused​

focused: Object

Type declaration​

strokeWidth​

strokeWidth: number

The stroke width to use when the line is focused.

Source​

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


opacity​

opacity: number

the opacity of each line on the theme/series

Source​

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


stroke?​

stroke?: string

a static stroke color if defined, if not it will use the color of the series

Source​

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


strokeWidth​

strokeWidth: number

the stroke width of the line

Source​

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


visible​

visible: boolean

is the line visible or hidden ?

Source​

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


Generated using typedoc-plugin-markdown and TypeDoc