Skip to main content

TextOffset

@elastic/charts • Exports


@elastic/charts / TextOffset

Interface: TextOffset

Offset in pixels

Contents​

Properties​

reference​

reference: "global" | "local"

Offset coordinate system reference

  • global - aligns offset coordinate system to global (non-rotated) coordinate system
  • local - aligns offset coordinate system to local rotated coordinate system

Source​

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


x​

x: string | number

X offset of tick in px or string with % of height

Source​

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


y​

y: string | number

X offset of tick in px or string with % of height

Source​

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


Generated using typedoc-plugin-markdown and TypeDoc