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

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

# ChartArea.Objects

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

## Objects

Gets the chart objects collection.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
IReadonlyList<ChartObject> Objects {get;}
```

Python:

```python
chartArea.Objects: IReadonlyList[ChartObject]
```

### Returns

`IReadonlyList<ChartObject>` — 

### Examples

C#:

```csharp
Print("Objects on the chart: {0}", Chart.Objects.Count);
foreach (var chartObject in Chart.Objects)
    Print("{0} ({1})", chartObject.Name, chartObject.ObjectType);
```

Python:

```python
api.Print(f"Objects on the chart: {api.Chart.Objects.Count}")
for chartObject in api.Chart.Objects:
    api.Print(f"{chartObject.Name} ({chartObject.ObjectType})")
```

