---
id: "P:cAlgo.API.ChartArea.Width"
kind: "property"
type: "T:cAlgo.API.ChartArea"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/Width/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# ChartArea.Width

Member of [ChartArea](https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/index.md).

## Width

Gets the width of the chart area.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double Width {get;}
```

Python:

```python
chartArea.Width: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
Print("Chart area width: {0} pixels", Chart.Width);
```

Python:

```python
api.Print(f"Chart area width: {api.Chart.Width} pixels")
```

