# SparklineOptions Interface

> SparklineOptions interface in the TX Sheet Control TypeScript API for the browser: Creation or update settings for sparkline ranges and their shared appearance.

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

---

Creation or update settings for sparkline ranges and their shared appearance.

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

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

### Members

#### Properties

| Property | Description |
|---|---|
| [axisColor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/axiscolor-property/llms-full.txt) | The axisColor value of SparklineOptions. |
| [color](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/color-property/llms-full.txt) | The color value of SparklineOptions. |
| [dataRange](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/datarange-property/llms-full.txt) | The dataRange value of SparklineOptions. |
| [displayHidden](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/displayhidden-property/llms-full.txt) | The displayHidden value of SparklineOptions. |
| [emptyCells](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/emptycells-property/llms-full.txt) | The emptyCells value of SparklineOptions. |
| [first](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/first-property/llms-full.txt) | The first value of SparklineOptions. |
| [firstColor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/firstcolor-property/llms-full.txt) | The firstColor value of SparklineOptions. |
| [high](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/high-property/llms-full.txt) | The high value of SparklineOptions. |
| [highColor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/highcolor-property/llms-full.txt) | The highColor value of SparklineOptions. |
| [id](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/id-property/llms-full.txt) | The id value of SparklineOptions. |
| [last](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/last-property/llms-full.txt) | The last value of SparklineOptions. |
| [lastColor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/lastcolor-property/llms-full.txt) | The lastColor value of SparklineOptions. |
| [lineWeight](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/lineweight-property/llms-full.txt) | The lineWeight value of SparklineOptions. |
| [locationRange](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/locationrange-property/llms-full.txt) | The locationRange value of SparklineOptions. |
| [low](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/low-property/llms-full.txt) | The low value of SparklineOptions. |
| [lowColor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/lowcolor-property/llms-full.txt) | The lowColor value of SparklineOptions. |
| [manualMax](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/manualmax-property/llms-full.txt) | The manualMax value of SparklineOptions. |
| [manualMin](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/manualmin-property/llms-full.txt) | The manualMin value of SparklineOptions. |
| [markerColor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/markercolor-property/llms-full.txt) | The markerColor value of SparklineOptions. |
| [markers](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/markers-property/llms-full.txt) | The markers value of SparklineOptions. |
| [maxAxisType](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/maxaxistype-property/llms-full.txt) | The maxAxisType value of SparklineOptions. |
| [minAxisType](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/minaxistype-property/llms-full.txt) | The minAxisType value of SparklineOptions. |
| [negative](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/negative-property/llms-full.txt) | The negative value of SparklineOptions. |
| [negativeColor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/negativecolor-property/llms-full.txt) | The negativeColor value of SparklineOptions. |
| [rightToLeft](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/righttoleft-property/llms-full.txt) | The rightToLeft value of SparklineOptions. |
| [showAxis](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/showaxis-property/llms-full.txt) | The showAxis value of SparklineOptions. |
| [type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/type-property/llms-full.txt) | The type value of SparklineOptions. |

### 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' };
```

### 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)

---

## In This Section

- [SparklineOptions.axisColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/axiscolor-property/llms-full.txt): SparklineOptions.axisColor property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SparklineOptions.color Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/color-property/llms-full.txt): SparklineOptions.color property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SparklineOptions.dataRange Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/datarange-property/llms-full.txt): SparklineOptions.dataRange property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [SparklineOptions.displayHidden Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/displayhidden-property/llms-full.txt): SparklineOptions.displayHidden property in the TX Sheet Control TypeScript API for the browser, with its type boolean | undefined and a TypeScript example.
- [SparklineOptions.emptyCells Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/emptycells-property/llms-full.txt): SparklineOptions.emptyCells property in the browser TypeScript API, with its type "gap" | "zero" | "span" | undefined and a TypeScript example.
- [SparklineOptions.first Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/first-property/llms-full.txt): SparklineOptions.first property in the TX Sheet Control TypeScript API for the browser, with its type boolean | undefined and a TypeScript example.
- [SparklineOptions.firstColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/firstcolor-property/llms-full.txt): SparklineOptions.firstColor property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SparklineOptions.high Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/high-property/llms-full.txt): SparklineOptions.high property in the TX Sheet Control TypeScript API for the browser, with its type boolean | undefined and a TypeScript example.
- [SparklineOptions.highColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/highcolor-property/llms-full.txt): SparklineOptions.highColor property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SparklineOptions.id Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/id-property/llms-full.txt): SparklineOptions.id property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SparklineOptions.last Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/last-property/llms-full.txt): SparklineOptions.last property in the TX Sheet Control TypeScript API for the browser, with its type boolean | undefined and a TypeScript example.
- [SparklineOptions.lastColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/lastcolor-property/llms-full.txt): SparklineOptions.lastColor property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SparklineOptions.lineWeight Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/lineweight-property/llms-full.txt): SparklineOptions.lineWeight property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [SparklineOptions.locationRange Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/locationrange-property/llms-full.txt): SparklineOptions.locationRange property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [SparklineOptions.low Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/low-property/llms-full.txt): SparklineOptions.low property in the TX Sheet Control TypeScript API for the browser, with its type boolean | undefined and a TypeScript example.
- [SparklineOptions.lowColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/lowcolor-property/llms-full.txt): SparklineOptions.lowColor property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SparklineOptions.manualMax Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/manualmax-property/llms-full.txt): SparklineOptions.manualMax property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [SparklineOptions.manualMin Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/manualmin-property/llms-full.txt): SparklineOptions.manualMin property in the TX Sheet Control TypeScript API for the browser, with its type number | undefined and a TypeScript example.
- [SparklineOptions.markerColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/markercolor-property/llms-full.txt): SparklineOptions.markerColor property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SparklineOptions.markers Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/markers-property/llms-full.txt): SparklineOptions.markers property in the TX Sheet Control TypeScript API for the browser, with its type boolean | undefined and a TypeScript example.
- [SparklineOptions.maxAxisType Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/maxaxistype-property/llms-full.txt): SparklineOptions.maxAxisType property in the browser TypeScript API, with its type "custom" | "individual" | "group" | undefined and a TypeScript example.
- [SparklineOptions.minAxisType Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/minaxistype-property/llms-full.txt): SparklineOptions.minAxisType property in the browser TypeScript API, with its type "custom" | "individual" | "group" | undefined and a TypeScript example.
- [SparklineOptions.negative Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/negative-property/llms-full.txt): SparklineOptions.negative property in the TX Sheet Control TypeScript API for the browser, with its type boolean | undefined and a TypeScript example.
- [SparklineOptions.negativeColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/negativecolor-property/llms-full.txt): SparklineOptions.negativeColor property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [SparklineOptions.rightToLeft Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/righttoleft-property/llms-full.txt): SparklineOptions.rightToLeft property in the TX Sheet Control TypeScript API for the browser, with its type boolean | undefined and a TypeScript example.
- [SparklineOptions.showAxis Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/showaxis-property/llms-full.txt): SparklineOptions.showAxis property in the TX Sheet Control TypeScript API for the browser, with its type boolean | undefined and a TypeScript example.
- [SparklineOptions.type Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/sparklineoptions/type-property/llms-full.txt): SparklineOptions.type property in the TX Sheet Control TypeScript API for the browser, with its type SparklineType | undefined and a TypeScript example.

---

## Nearby

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