# SparklineOptions.rightToLeft Property

> SparklineOptions.rightToLeft property in the TX Sheet Control TypeScript API for the browser, with its type boolean | undefined and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > SparklineOptions > SparklineOptions.rightToLeft Property
- **370 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/righttoleft-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/righttoleft-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/righttoleft-property/llms-full.txt

---

The rightToLeft value of SparklineOptions.

Owner: [SparklineOptions](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/llms-full.txt). Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

### Syntax

```typescript
rightToLeft?: boolean | undefined
```

Read through the owning object: `owner.rightToLeft`. Follow the declared mutability and owning object lifetime.

### Examples

Configure SparklineOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

```typescript
import type { SparklineOptions } from '@txtextcontrol/tx-sheet-control';

const sparklineSettings: SparklineOptions = {
    dataRange: 'B2:D2',
    locationRange: 'E2',
    type: 'line',
    rightToLeft: false,
};

console.log(sparklineSettings['rightToLeft']);
```

### Remarks

Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.

### See Also

- [SparklineOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/llms-full.txt)
- [Charts and Sparklines](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/charts/llms-full.txt)

---

## Nearby

- **Previous:** [SparklineOptions.negativeColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/negativecolor-property/llms-full.txt)
- **Next:** [SparklineOptions.showAxis Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/showaxis-property/llms-full.txt)
