# SparklineType Type

> SparklineType type alias in the TX Sheet Control TypeScript API for the browser, with its syntax and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > SparklineType Type
- **250 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklinetype/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklinetype/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklinetype/llms-full.txt

---

Public type for SparklineType.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Syntax

```typescript
type SparklineType = 'line' | 'column' | 'win-loss';
```

### Examples

Use this public value with the application package shown below. File and font inputs are application-owned resources, not automatically downloaded product data.

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

const value: SparklineType = 'line';
console.log(value);
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Charts and Sparklines](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/charts/llms-full.txt)

---

## Nearby

- **Previous:** [SparklineOptions.type Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/type-property/llms-full.txt)
- **Next:** [Spreadsheet Class](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/spreadsheet/llms-full.txt)
