---
id: "P:cAlgo.API.OutputAttribute.Thickness"
kind: "property"
type: "T:cAlgo.API.OutputAttribute"
url: "https://help.ctrader.com/ctrader-algo/references/Attributes/OutputAttribute/Thickness/"
---

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

# OutputAttribute.Thickness

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

## Thickness

Sets the Width of the Output property.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public float Thickness {get; set;}
```

Python:

```python
outputAttribute.Thickness: float
```

### Returns

`float` — 

### Examples

C#:

```csharp
public partial class OutputSample : Indicator
{
    public override void Calculate(int index)
    {
        Result[index] = Bars.ClosePrices[index];
    }
}
```

Python:

```python
def calculate(self, index):
    api.Result[index] = api.Bars.ClosePrices[index]
```

config.json:

```json
{
  "AccessRights": "None",
  "IsOverlay": true,
  "LineOutputs": [
    {
      "Name": "Result",
      "DisplayName": "Main",
      "Thickness": 3
    }
  ]
}
```

