Skip to main content

MetricStyle

@elastic/chartsExports


@elastic/charts / MetricStyle

Interface: MetricStyle

Contents

Properties

barBackground

barBackground: string

Source

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


blendingBackground?

blendingBackground?: string

Optional color used to blend transparent colors. Defaults to Theme.background

Source

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


border

border: string

Source

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


emptyBackground

emptyBackground: string

Source

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


iconAlign

iconAlign: "left" | "right"

Source

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


minHeight

minHeight: number

Source

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


minValueFontSize

minValueFontSize: number

Source

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


nonFiniteText

nonFiniteText: string

Source

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


textDarkColor

textDarkColor: string

Source

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


textLightColor

textLightColor: string

Source

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


titlesTextAlign

titlesTextAlign: "left" | "right" | "center"

Source

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


valueFontSize

valueFontSize: number | "fit" | "default"

Source

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


valuesTextAlign

valuesTextAlign: "left" | "right" | "center"

Source

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


Generated using typedoc-plugin-markdown and TypeDoc