Skip to main content

GoalStyles

@elastic/chartsExports


@elastic/charts / GoalStyles

Interface: GoalStyles

Contents

Properties

arcBoxSamplePitch

arcBoxSamplePitch: number

5-degree pitch ie. a circle is 72 steps

Source

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


barThicknessMinSizeRatio

barThicknessMinSizeRatio: number

The bar thickness is a maximum of this fraction of the smaller graph area size

Source

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


baselineArcThickness

baselineArcThickness: number

Bar thickness if there's ample room, no need for greater thickness even if there's a large area

Source

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


baselineBarThickness

baselineBarThickness: number

Bar thickness if there's ample room, no need for greater thickness even if there's a large area

Source

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


capturePad

capturePad: number

mouse hover is detected in the padding too (eg. for Fitts law)

Source

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


majorCenterLabel

majorCenterLabel: Omit<TextStyle, "fontSize" | "padding">

Source

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


majorLabel

majorLabel: Omit<TextStyle, "fontSize" | "padding">

Source

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


marginRatio

marginRatio: number

same ratio on each side

Source

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


maxBulletSize

maxBulletSize: number

Bullet goal/gauge size limit. The chart will NOT be bigger even if there's ample room.

Source

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


maxCentralFontSize

maxCentralFontSize: number

Source

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


maxCircularSize

maxCircularSize: number

Circular goal/gauge size limit. The chart will NOT be bigger even if there's ample room.

Source

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


maxFontSize

maxFontSize: number

Source

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


maxLabelFontSize

maxLabelFontSize: number

Source

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


maxTickFontSize

maxTickFontSize: number

Source

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


minFontSize

minFontSize: number

Source

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


minorCenterLabel

minorCenterLabel: Omit<TextStyle, "fontSize" | "padding">

Source

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


minorLabel

minorLabel: Omit<TextStyle, "fontSize" | "padding">

Source

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


progressLine

progressLine: Pick<StrokeStyle<string>, "stroke">

Source

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


targetLine

targetLine: Pick<StrokeStyle<string>, "stroke">

Source

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


tickLabel

tickLabel: Omit<TextStyle, "fontSize" | "padding">

Source

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


tickLine

tickLine: Pick<StrokeStyle<string>, "stroke">

Source

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


Generated using typedoc-plugin-markdown and TypeDoc