Skip to main content
Graphy uses two separate locale systems: These are independent — you can parse data in one format while displaying the UI in another language.

Data Locale

The data locale controls how Graphy interprets dates and numbers in your dataset. Set it in your data configuration:

UI Locale

The UI locale controls all text displayed in the visualization and editor, including labels, tooltips, and menu items. It also determines the text direction (LTR or RTL).

Available locales

Setting the UI locale

Example: Different data and UI locales

You might have data formatted for a UK audience but want to display the UI in Arabic:

Runtime overrides

The i18nOverrides prop on GraphProvider allows you to customize translations and text direction at runtime, without switching the entire locale.

Overriding strings

Override any UI text by providing translation keys:
Some strings accept parameters. Provide a function to handle dynamic values:

Overriding text direction (RTL support)

Text direction is automatically determined by the selected locale (e.g., Arabic uses RTL). You can override it manually using the dir property:
Valid values are 'ltr' (left-to-right) and 'rtl' (right-to-left). This is useful when you want to:
  • Force RTL layout while using an LTR locale’s translations
  • Force LTR layout while using an RTL locale’s translations
  • Test RTL behavior during development

Combining overrides

You can combine string overrides with text direction in a single configuration:

String reference

Common

Graph - General

Graph - Default property labels

Graph - Trend comparisons

Graph - Headline metrics

Graph - Title editor

Graph - Text toolbar formatting

Graph - Text toolbar font

Graph - Text toolbar heading

Graph - Text toolbar alignment

Graph - Text toolbar color

Graph - Color dropdown

Graph - Annotations base menu

Graph - Annotations text menu

Graph - Annotations highlights

Graph - Annotations sticker menu

Graph - Annotations delete

Graph - Annotations arrow

Graph - Annotations difference arrow

Graph - Annotations shape

Editor - General

Editor - Graph types

Editor - Size panel

Editor - Graph panel

Editor - Headline number section

Editor - Treat empty values

Editor - Combo chart appearance

Editor - Column mapping

Editor - Axes panel

Editor - Color panel

Editor - Design panel

Editor - Annotate panel

Editor - Annotations panel

Editor - Elements panel

Editor - Power-ups panel

Editor - Highlighting

Editor - Fine tune panel

Editor - Custom theme editor

Editor - Accessibility

Editor - Graphy defaults