Skip to main content

PointStyle

@elastic/charts • Exports


@elastic/charts / PointStyle

Interface: PointStyle

Contents​

Properties​

dimmed​

dimmed: Object | Object

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

Source​

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


fill?​

fill?: string

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

Source​

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


focused?​

focused?: Object

The style applied to the point when it is focused relative to other highlighted elements on the chart.

Type declaration​

strokeWidth​

strokeWidth: number

Source​

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


opacity​

opacity: number

the opacity of each point on the theme/series

Source​

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


radius​

radius: number

the radius of each point of the theme/series

Source​

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


shape?​

shape?: PointShape

shape for the point, default to circle

Source​

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


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


strokeWidth​

strokeWidth: number

the stroke width of the point

Source​

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


visible​

visible: "auto" | "never" | "always"

is the point visible or hidden or shown depending on the chart size

Source​

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


Generated using typedoc-plugin-markdown and TypeDoc