Skip to main content

LineStyle

@elastic/chartsExports


@elastic/charts / LineStyle

Interface: LineStyle

Contents

Properties

dash?

dash?: number[]

the dash array

Source

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


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:602


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:610


opacity

opacity: number

the opacity of each line on the theme/series

Source

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


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:591


strokeWidth

strokeWidth: number

the stroke width of the line

Source

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


visible

visible: boolean

is the line visible or hidden ?

Source

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


Generated using typedoc-plugin-markdown and TypeDoc