Skip to main content

MetricBase

@elastic/chartsExports


@elastic/charts / MetricBase

Type alias: MetricBase

MetricBase: Object

Type declaration

background?

background?: Color

Overrides background color from Theme.background and Theme.metric.emptyBackground

body?

body?: ReactNode

color

color: Color

extra?

extra?: ReactElement

icon?

icon?: ComponentType<Object>

Type declaration

color

color: Color

height

height: number

width

width: number

subtitle?

subtitle?: string

title?

title?: string

valueColor?

valueColor?: Color

valueIcon?

valueIcon?: ComponentType<Object>

Type declaration

color

color: Color

height

height: number

verticalAlign

verticalAlign: "middle"

width

width: number

Source

packages/charts/src/chart_types/metric/specs/index.ts:22


Generated using typedoc-plugin-markdown and TypeDoc