# SparklineOptions.last Property

> SparklineOptions.last 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.last Property
- **361 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/last-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/last-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/last-property/llms-full.txt

---

The last 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
last?: boolean | undefined
```

Read through the owning object: `owner.last`. 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', last: false };
console.log(sparklineSettings['last']);
```

### 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.id Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/id-property/llms-full.txt)
- **Next:** [SparklineOptions.lastColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/lastcolor-property/llms-full.txt)
