Skip to main content

RectStyle

@elastic/chartsExports


@elastic/charts / RectStyle

Interface: RectStyle

Contents

Properties

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


opacity

opacity: number

the opacity of each rect on the theme/series

Source

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


texture?

texture?: TexturedStyles

applying textures to the bar on the theme/series

Source

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


widthPixel?

widthPixel?: number

The width of the rect in pixel. If expressed together with widthRatio then the widthRatio will express the max available size, where the widthPixel express the derived/min width.

Source

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


widthRatio?

widthRatio?: number

The ratio of the width limited to [0,1]. If expressed together with widthPixel then the widthRatio will express the max available size, where the widthPixel express the derived/min width.

Source

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


Generated using typedoc-plugin-markdown and TypeDoc