# Localization RTL (Tree example)

> WestCoast Charts 1.1.5, release, public Core release, on npm. HTML: https://westcoast-charts.com/gallery/tree/localization-rtl/ · Index for agents: https://westcoast-charts.com/llms.txt

Mirrored layout on a dir="rtl" page: first child on the right, horizontal trees grow leftwards, avatar and accent on the right edge, right-aligned text; ←/→ keys swap.

- Chart composition: see the embedded example (2 charts)
- Collection: Tree · Tree
- Charts on the page: 2
- Standalone example: https://westcoast-charts.com/embed/samples/wcc/gallery/premium/tree/localization-rtl.html

## Setup

```js
import WestCoastCharts from 'west-coast-charts'
import types from 'west-coast-charts/types'
import premium from 'west-coast-charts/premium'

WestCoastCharts.use(types).use(premium)
const WestCoastChartsPremium = premium
WestCoastCharts.setLicenseKey(LICENCE_KEY) // paid production licence; localhost evaluation needs no key
```

## Options

This example builds its charts with page controls and helpers, so there is no single options object. Read the standalone example for the source.

## Verify

- Text check (Library 1.1.5): load `west-coast-charts/agent/describe` and call `chart.describe({ format: "json" })` for the actual drawn state. The live reader is on this example’s HTML page.
- Command line (Public agent tools 0.2.3, tested with Library 1.1.5; available from the versioned GitHub release and npm, https://westcoast-charts.com/docs/cli/index.md): `wcc chart export tree-localization-rtl.json --out tree-localization-rtl.svg --with-table` (save the options above as JSON first)
