# SparklineOptions Interface

> SparklineOptions interface in the TX Sheet Control TypeScript API for Node.js: 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 > Node.js Server > SparklineOptions Interface
- **1182 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/sparklineoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/sparklineoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/sparklineoptions/llms-full.txt

---

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

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

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

### Members

#### Properties

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

const sparklineSettings: Parameters<ServerSheetControl['workbook']['addSparklines']>[0] = {
    dataRange: 'B2:D2',
    locationRange: 'E2',
    type: 'line',
};
```

### See Also

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

---

## Nearby

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