# ChartPosition Interface

> ChartPosition interface in the Node.js TypeScript API: A worksheet cell anchor, offsets and unscaled CSS pixel dimensions for chart placement.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > ChartPosition Interface
- **548 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/llms-full.txt

---

A worksheet cell anchor, offsets and unscaled CSS pixel dimensions for chart placement.

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 |
|---|---|
| [column](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/column-property/llms-full.txt) | The column value of ChartPosition. |
| [end](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/end-property/llms-full.txt) | The end value of ChartPosition. |
| [height](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/height-property/llms-full.txt) | The height value of ChartPosition. |
| [offsetX](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/offsetx-property/llms-full.txt) | The offsetX value of ChartPosition. |
| [offsetY](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/offsety-property/llms-full.txt) | The offsetY value of ChartPosition. |
| [row](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/row-property/llms-full.txt) | The row value of ChartPosition. |
| [width](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/width-property/llms-full.txt) | The width value of ChartPosition. |

### Examples

Pass the ChartPosition value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

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

function inspectChartPositionRow(
    chartPosition: Awaited<
        ReturnType<Awaited<ReturnType<ServerSheetControl['workbook']['sheets']['get']>>['drawings']['get']>
    >['snapshot']['position'],
) {
    const value = chartPosition['row'];
    console.log('ChartPosition.row', value);
}
```

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

- [ChartPosition.column Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/column-property/llms-full.txt): ChartPosition.column property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [ChartPosition.end Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/end-property/llms-full.txt): ChartPosition.end property in the TX Sheet Control TypeScript API for Node.js, with its syntax and a TypeScript example.
- [ChartPosition.height Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/height-property/llms-full.txt): ChartPosition.height property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [ChartPosition.offsetX Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/offsetx-property/llms-full.txt): ChartPosition.offsetX property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [ChartPosition.offsetY Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/offsety-property/llms-full.txt): ChartPosition.offsetY property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [ChartPosition.row Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/row-property/llms-full.txt): ChartPosition.row property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.
- [ChartPosition.width Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/width-property/llms-full.txt): ChartPosition.width property in the TX Sheet Control TypeScript API for Node.js, with its type number and a TypeScript example.

---

## Nearby

- **Previous:** [ChartOptions.presentation Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartoptions/presentation-property/llms-full.txt)
- **Next:** [ChartPosition.column Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/chartposition/column-property/llms-full.txt)
